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

Segfault on "zmodload -u zsh/parameter"



Latest CVS.  Appears to happen when unsetting the "parameters" parameter.

Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()
(gdb) up
#1  0x8098563 in unsetparam_pm (pm=0x818c870, altflag=135752632, exp=134802064)
    at ../../zsh-4.0/Src/params.c:2343
2343        pm->gsu.s->unsetfn(pm, exp);
(gdb) p pm->nam
$1 = 0x38 <Address 0x38 out of bounds>
(gdb) up
#2  0x80c8c1f in cleanup_zshQsparameter (m=0x818c870)
    at ../../../zsh-4.0/Src/Modules/parameter.c:1987
1987                unsetparam_pm(pm, 0, 1);
(gdb) p def->name
$3 = 0x81377bb "parameters"



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