zsh-workers
 help / color / mirror / code / Atom feed
* Segfault in hist.c
@ 2011-07-11 11:56 Frank Terbeck
  2011-07-11 13:46 ` Peter Stephenson
  2011-07-11 14:21 ` Bart Schaefer
  0 siblings, 2 replies; 4+ messages in thread
From: Frank Terbeck @ 2011-07-11 11:56 UTC (permalink / raw)
  To: zsh-workers

This just came up on IRC:

zsh% alias foo=bar
zsh% foo\<RET>
> <C-c>
zsh% <RET>
 hist.c:1165: BUG: chline is NULL in hend()
[1] 8401 segmentation fault (core dumped)  PS1="zsh%# " zsh -f

Here's a backtrace:

[snip]
Core was generated by `zsh -f'.
Program terminated with signal 11, Segmentation fault.
#0  0x0807f8b5 in hend (prog=0x0) at hist.c:1232
1232               if (save || *chline == ' ') {
(gdb)
#0  0x0807f8b5 in hend (prog=0x0) at hist.c:1232
        hookargs = 0xb7242738
        flag = 8
        save = 0
        hookret = 0
        stack_pos = 0
        hf = 0x0
#1  0x08083bc9 in loop (toplevel=1, justonce=0) at init.c:133
        prog = 0x0
        err = 50
        non_empty = 1
#2  0x08086b9b in zsh_main (argc=2, argv=0xbfe56854) at init.c:1528
        t = 0xbfe5685c
        runscript = 0x0
        t0 = 158
#3  0x0805505f in main (argc=2, argv=0xbfe56854) at ./main.c:93
No locals.
[snap]

Maybe someone here immediately knows what's going on.

Regards, Frank


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

end of thread, other threads:[~2011-07-12  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-11 11:56 Segfault in hist.c Frank Terbeck
2011-07-11 13:46 ` Peter Stephenson
2011-07-12  4:00   ` Bart Schaefer
2011-07-11 14:21 ` Bart Schaefer

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