Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Segfault in hist.c
- X-seq: zsh-workers 29540
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Segfault in hist.c
- Date: Mon, 11 Jul 2011 13:56:55 +0200
- 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
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author