zsh-workers
 help / color / mirror / code / Atom feed
* segfault in mkundoent when completing
@ 2015-10-25  6:59 Dirk-Jan C. Binnema
  2015-10-25 16:51 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Dirk-Jan C. Binnema @ 2015-10-25  6:59 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-25 18:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-25  6:59 segfault in mkundoent when completing Dirk-Jan C. Binnema
2015-10-25 16:51 ` Bart Schaefer
2015-10-25 18:55   ` Peter Stephenson

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).