Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] SIGSEGV under certain circumstances
- X-seq: zsh-workers 40728
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Chi-Hsuan Yen <yan12125@xxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [BUG] SIGSEGV under certain circumstances
- Date: Sat, 4 Mar 2017 15:11:37 -0800
- Authentication-results: amavisd4.gkg.net (amavisd-new); dkim=pass (2048-bit key) header.d=brasslantern-com.20150623.gappssmtp.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=Nl1pfJAr6CbDhhMHP6w+n1PH9R1DI3XqJUdBaIRu1+w=; b=u9m+H/dy+9nw2+m6oPZK9bleTQIfqrVvchiLbtxIKxc9lSqluJW7tA0rUMRM5VceJu CCGS4/iND1NAMpjI3uDIvcDpUVPAOh0TWtzduHEcpUvk/8p9YmrPb3B5tAHbsmWLIPoS RykgVlEhEmTJNWFdlCmbyRERemWjUTMBg1aj0It/S/o3WYKdgHtDXHh9NS4eggubBmx6 0zPUki9Aem/4QIYI5hIpmdQsOo9XY6uS56gNYHQKCkJcElQepnMrND0rlDXYO8izG0bq wXvoVUL9eH3JQgknRL8p68gcXTFhTI/c4Xcw+5doV+P93AwM5nAdGSPc6USki/vU8xAy o8mg==
- In-reply-to: <CAMNjDR1CUaw2AXbEDLP94R=4VCNj1yc=d3OcVj=tO6FZXAEqPQ@mail.gmail.com>
- 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
- References: <CAMNjDR1CUaw2AXbEDLP94R=4VCNj1yc=d3OcVj=tO6FZXAEqPQ@mail.gmail.com>
On Mar 1, 11:38pm, Chi-Hsuan Yen wrote:
}
} My zsh version is d00931de5c2b7aa846daf137865dd05ac8d4be8a.
}
} By the way, after those steps ~/.zsh_history seems corrupted:
I'm not sure the history is actually corrupted, because the history
file is stored with metafied characters which means you can't easily
examine it independently of reading it into zsh. There was a small
C program posted here some months ago that would unmetafy the file.
However based on your steps to reproduce there likely is a problem
related to reading the history file back in again.
The stack trace you provided is not helpful because it reveals the
point at which the corrupted memory is accessed but not the point
at which it became corrupted. A pass through valgrind might give
better information.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author