Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2013 23:33:55 -0500
From:      Eitan Adler <lists@eitanadler.com>
To:        FreeBSD Ports <ports@freebsd.org>, Baptiste Daroussin <bapt@freebsd.org>
Subject:   zsh crash
Message-ID:  <CAF6rxgnAcrej8BbmhPKVD3Bippet-K8D0GVKcZKGwbhwXNwHeg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I am seeing a very common crash now in zsh.  The backtrace is here
(and this it shows a corrupt stack / missing symbols).
I'm still working on figuring out a reproducible version of the crash,
but so far it seems to relate to sending SIGINT.


gdb> bt
#0  0x0000000000464f18 in wait_for_processes ()
#1  0x00000000004653c6 in zhandler ()
#2  0x000000000044567c in zfree ()
#3  0x000000000041e60b in execrestore ()
#4  0x00000000004647fd in queue_traps ()
#5  0x0000000000464b37 in dotrap ()
#6  0x0000000000465414 in zhandler ()
#7  0x0000000000439ae7 in waitforpid ()
#8  0x0000000000426fa4 in getoutput ()
#9  0x000000000046938a in quotesubst ()
#10 0x000000000046de99 in prefork ()
#11 0x000000000041f492 in execsubst ()
#12 0x000000000041f869 in execsubst ()
#13 0x0000000000425235 in execlist ()
#14 0x00000000004258fb in execode ()
#15 0x0000000000425a64 in runshfunc ()
#16 0x0000000000425e64 in doshfunc ()
#17 0x0000000000472dee in callhookfunc ()
#18 0x000000000047a543 in preprompt ()
#19 0x0000000000437600 in loop ()
#20 0x0000000000438606 in zsh_main ()
#21 0x000000000040e31e in _start ()
---Type <return> to continue, or q <return

gdb> frame
Stack level 0, frame at 0x7fffffffccb0:
 rip = 0x464f18 in wait_for_processes; saved rip 0x4653c6
 called by frame at 0x7fffffffccf0
 Arglist at 0x7fffffffcbb8, args:
 Locals at 0x7fffffffcbb8, Previous frame's sp is 0x7fffffffccb0
 Saved registers:
  rbx at 0x7fffffffcc78, rbp at 0x7fffffffcc80, r12 at 0x7fffffffcc88,
  r13 at 0x7fffffffcc90, r14 at 0x7fffffffcc98, r15 at 0x7fffffffcca0,
  rip at 0x7fffffffcca8

gdb> lib
>From                To                  Syms Read   Shared Object Library
0x00000008008a8b90  0x00000008008ac8a8  Yes         /usr/local/lib/libgdbm.so.4
0x0000000800ab0c70  0x0000000800ac86a8  Yes         /usr/local/lib/libiconv.so.3
0x0000000800dbe590  0x0000000800deddc8  Yes         /lib/libncursesw.so.8
0x00000008010087c0  0x000000080101e1b8  Yes         /lib/libm.so.5
0x00000008012571d0  0x0000000801329358  Yes         /lib/libc.so.7
0x000000080158f1d0  0x00000008015b2288  Yes
/usr/local/lib/zsh/5.0.2/zsh/zle.so
0x00000008017c9cc0  0x00000008017e00f8  Yes
/usr/local/lib/zsh/5.0.2/zsh/complete.so
0x00000008019e7a80  0x00000008019f0488  Yes
/usr/local/lib/zsh/5.0.2/zsh/complist.so
0x0000000801bf4f70  0x0000000801bf8a38  Yes
/usr/local/lib/zsh/5.0.2/zsh/parameter.so
0x0000000801dfce30  0x0000000801e00588  Yes
/usr/local/lib/zsh/5.0.2/zsh/zutil.so
0x0000000802002e10  0x00000008020034a8  Yes
/usr/local/lib/zsh/5.0.2/zsh/terminfo.so
0x000000080068ff70  0x000000080069fe68  Yes         /libexec/ld-elf.so.1


-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgnAcrej8BbmhPKVD3Bippet-K8D0GVKcZKGwbhwXNwHeg>