Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

BUG: "unset pipestatus" coredump



(gdb) run -f
% unset pipestatus

Program received signal SIGSEGV, Segmentation fault.
0x480ad914 in pipestatsetfn (pm=0x480d45a0, x=0x0) at params.c:2878
2878        for (i = 0; *x && i < MAX_PIPESTATS; i++, x++)
(gdb) bt
#0  0x480ad914 in pipestatsetfn (pm=0x480d45a0, x=0x0) at params.c:2878
#1  0x480ac8e9 in stdunsetfn (pm=0x480d45a0, exp=1) at params.c:2126
#2  0x480ac7bb in unsetparam_pm (pm=0x480d45a0, altflag=0, exp=1)
    at params.c:2063
#3  0x4807951a in bin_unset (name=0x805dcc0 "unset", argv=0xbfbfd3bc, 
    ops=0xbfbfd404 "", func=0) at builtin.c:2348
#4  0x4807428b in execbuiltin (args=0x805dca0, bn=0x480d2424) at builtin.c:367
#5  0x48083ae0 in execcmd (state=0xbfbfd6a8, input=0, output=0, how=18, 
    last1=2) at exec.c:2284
#6  0x480812a1 in execpline2 (state=0xbfbfd6a8, pcode=131, how=18, input=0, 
    output=0, last1=0) at exec.c:1189
#7  0x480809e1 in execpline (state=0xbfbfd6a8, slcode=4098, how=18, last1=0)
    at exec.c:982
#8  0x48080434 in execlist (state=0xbfbfd6a8, dont_change_job=0, exiting=0)
    at exec.c:826
#9  0x480801bc in execode (p=0x805dc50, dont_change_job=0, exiting=0)
    at exec.c:729
#10 0x48092ce0 in loop (toplevel=1, justonce=0) at init.c:152
#11 0x480951e6 in zsh_main (argc=2, argv=0xbfbfd764) at init.c:1201
#12 0x8048836 in main (argc=2, argv=0xbfbfd764) at ./main.c:37
#13 0x80485e1 in ___start ()
(gdb) 


Regards,
-- 
Geoff Wing : <gcw@xxxxxxxxx>
Rxvt Stuff : <gcw@xxxxxxxx>
Zsh Stuff  : <gcw@xxxxxxx>



Messages sorted by: Reverse Date, Date, Thread, Author