Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
segfault in mkundoent when completing
- X-seq: zsh-workers 36952
- From: "Dirk-Jan C. Binnema" <djcb@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: segfault in mkundoent when completing
- Date: Sun, 25 Oct 2015 08:59:25 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:user-agent:to:subject:message-id:date:mime-version :content-type; bh=4C35d8Y6YO50Y/86gNPJ6DI+tQdVuA9+yLhG62T71Hk=; b=Bp9ZFZDfIlzujVeePCM4wILHx6OxGlbwJ19u1czrJFXjQezStuHBMoYA/2trKdy0ps MP61PQGnEKT1Xfh6ctA8ZjUV7xkv64LQfDCN39f5uaELZvls01/22HRQmXQO2uEXFC4K GK99RBJycRA60nW1TJPJPV8QO3uJZiwW1RpZtkedulYMO4tNYuIQRDsvymp10JxyJamP M1xUdF98DE+ZgE6uAjowbTiuXHuwYivzwLIACSR5iKlw3Zqjavtfvf8gc8V8Kmf4p3qT 0g0ztufCw9tNHBJlBVwFbAOjtahLAFTUorJAXKeolMw0rwwXeP3pSAuIgNDlB213DZAF fR8g==
- 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
- Sender: "diggler@xxxxxxxxx" <diggler@xxxxxxxxx>
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@xxxxxxxxxxxxxxx w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C
Messages sorted by:
Reverse Date,
Date,
Thread,
Author