Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
'cd' built-in crashed zsh on a broken file system
- X-seq: zsh-workers 34326
- From: Kamil Dudka <kdudka@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: 'cd' built-in crashed zsh on a broken file system
- Date: Tue, 20 Jan 2015 13:35:14 +0100
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
The following bug report describes a crash of the 'cd' built-in of zsh:
https://bugzilla.redhat.com/1183238
The root cause was probably an inconsistent state of the sshfs file system
after resume from suspend-to-ram. However, the segmentation fault suggests
there might be some insufficient error handling in zsh code.
unmeta() was called with NULL as pwd at the following line:
http://sourceforge.net/p/zsh/code/ci/638bfa93/tree/Src/builtin.c#l807
It is not clear to me why pwd was NULL after the return from cd_new_pwd()
and I was not able to trigger the bug myself to debug it further. The full
backtrace is available here:
https://bugzilla.redhat.com/attachment.cgi?id=981010
Kamil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author