zsh-workers
 help / color / mirror / code / Atom feed
* Crash with 'print -s' with no further arguments
@ 2003-03-19  6:17 Miciah Dashiel Butler Masters
  2003-03-20  4:15 ` Bart Schaefer
  0 siblings, 1 reply; 8+ messages in thread
From: Miciah Dashiel Butler Masters @ 2003-03-19  6:17 UTC (permalink / raw)
  To: zsh-workers

When I execute 'print -s' with no further arguments twice -- not
necessarily successively -- then ZSH segfaults.

I run Debian's zsh 4.0.6-28 package (libc6 2.3.1-14 and libncurses5
5.3.20021109-2).

This bug seems similar to, but apparently not the same as, a bug
reported in zsh-workers/15085 which Bart Schaefer reports fixed in a
follow-up.  The difference is that that bug triggers when the next
command after 'print -s' is executed, whereas this bug I'm reporting
triggers when 'print -s' is executed a second time.  Another slightly
similar bug is zsh-workers/4073.  I found no others.

Backtrace, FWIW:

#0  0x400fa299 in free () from /lib/libc.so.6
#1  0x08069d08 in freehistdata ()
#2  0x08069cd6 in freehistnode ()
#3  0x080589a3 in bin_print ()
#4  0x08051a34 in execbuiltin ()
#5  0x0805ffe7 in execsubst ()
#6  0x0805eb3b in execlist ()
#7  0x0805e121 in execlist ()
#8  0x0805dea7 in execlist ()
#9  0x0805da1f in execode ()
#10 0x0806e2a6 in loop ()
#11 0x08070770 in zsh_main ()
#12 0x08051477 in main ()
#13 0x400a6a51 in __libc_start_main () from /lib/libc.so.6

Thanks,

 -- Miciah <miciah@myrealbox.com>


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

end of thread, other threads:[~2003-03-25 19:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-19  6:17 Crash with 'print -s' with no further arguments Miciah Dashiel Butler Masters
2003-03-20  4:15 ` Bart Schaefer
2003-03-20  4:40   ` Miciah Dashiel Butler Masters
2003-03-25 13:18     ` Clint Adams
2003-03-25 13:41     ` Oliver Kiddle
2003-03-25 18:03     ` PATCH: " Wayne Davison
2003-03-25 18:15       ` Bart Schaefer
2003-03-25 19:30         ` Wayne Davison

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