From: "Dirk-Jan C. Binnema" <djcb@djcbsoftware.nl>
To: zsh-workers@zsh.org
Subject: segfault in mkundoent when completing
Date: Sun, 25 Oct 2015 08:59:25 +0200 [thread overview]
Message-ID: <874mhfe8ng.fsf@djcbsoftware.nl> (raw)
I'm seeing a fully reproducible segfault when completing, e.g. "ls
<TAB>" with zsh version 5.1.1, which is the version that comes with
Fedora 23.
Sourceforge won't let me file a ticket there, so sending it here.
Program received signal SIGSEGV, Segmentation fault.
__wmemcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:808
808 mov -12(%rsi), %rcx
gdb% bt
#0 __wmemcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:808
#1 0x00007fffeff1772c in mkundoent () at zle_utils.c:1510
#2 0x00007fffeff17be9 in get_undo_current_change (pm=<optimized out>) at zle_utils.c:1743
#3 0x00005555555be73a in export_param ()
#4 0x00005555555bf3f8 in unsetparam_pm ()
#5 0x00005555555944a4 in scanmatchtable ()
#6 0x0000555555594667 in scanhashtable ()
#7 0x00005555555c1f16 in endparamscope ()
#8 0x0000555555589678 in runshfunc ()
#9 0x00007fffef6b21dc in comp_wrapper (prog=0x5555558bedc0, w=0x0, name=0x7ffff7fe8038 "_main_complete") at complete.c:1459
#10 0x00005555555895e1 in runshfunc ()
A kind soul on #zsh helped to find the commit that triggered this, it's
this one:
https://sourceforge.net/p/zsh/code/ci/832130c57dedc532191512045096180657a049f3/
and indeed going back to the revision before that one makes the problem
go away.
Cheers,
Dirk.
--
Dirk-Jan C. Binnema Helsinki, Finland
e:djcb@djcbsoftware.nl w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C
next reply other threads:[~2015-10-25 6:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-25 6:59 Dirk-Jan C. Binnema [this message]
2015-10-25 16:51 ` Bart Schaefer
2015-10-25 18:55 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874mhfe8ng.fsf@djcbsoftware.nl \
--to=djcb@djcbsoftware.nl \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).