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

-o nobanghist -o emacs segfaults



[[[
% b/Src/zsh -f -o nobanghist -o emacs
zsh: segmentation fault  b/Src/zsh -f -o nobanghist -o emacs
% lldb -- b/Src/zsh -f -o nobanghist -o emacs
(lldb) r
Process 27470 launched: '/home/daniel/src/zsh/b/Src/zsh' (x86_64)
Process 27470 stopped
* thread #1, name = 'zsh', stop reason = signal SIGSEGV: invalid address (fault address: 0x48)
    frame #0: 0x000000000049171b zsh`find_module(name="zsh/zle", flags=1, namep=0x00007fffffffdf60) at module.c:1657
   1654 {
   1655     Module m;
   1656
-> 1657     m = (Module)modulestab->getnode2(modulestab, name);
   1658     if (m) {
   1659         if ((flags & FINDMOD_ALIASP) && (m->node.flags & MOD_ALIAS)) {
   1660             if (namep)
(lldb) p modulestab
(HashTable) $0 = 0x0000000000000000
(lldb) bt
* thread #1, name = 'zsh', stop reason = signal SIGSEGV: invalid address (fault address: 0x48)
  * frame #0: 0x000000000049171b zsh`find_module(name="zsh/zle", flags=1, namep=0x00007fffffffdf60) at module.c:1657
    frame #1: 0x00000000004918cf zsh`load_module(name="zsh/zle", enablesarr=0x0000000000000000, silent=0) at module.c:2213
    frame #2: 0x000000000047480b zsh`zleentry(cmd=6) at init.c:1614
    frame #3: 0x000000000049a038 zsh`dosetopt(optno=50, value=1, force=1, new_opts="") at options.c:897
    frame #4: 0x00000000004707fa zsh`parseopts(nam="zsh", argvp=0x00007fffffffe320, new_opts="", cmdp=0x00007fffffffe370, optlist=0x0000000000000000, flags=1) at init.c:488
    frame #5: 0x000000000047501c zsh`parseargs(zsh_name="zsh", argv=0x00007fffffffe4b0, runscript=0x00007fffffffe380, cmdptr=0x00007fffffffe370) at init.c:268
    frame #6: 0x0000000000474d7f zsh`zsh_main(argc=6, argv=0x00007fffffffe4a8) at init.c:1756
    frame #7: 0x0000000000420702 zsh`main(argc=6, argv=0x00007fffffffe4a8) at main.c:93
    frame #8: 0x00007ffff7c1909b libc.so.6`__libc_start_main(main=(zsh`main at main.c:92), argc=6, argv=0x00007fffffffe4a8, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffe498) at libc-start.c:308
    frame #9: 0x000000000042061a zsh`_start + 42
(lldb) 
]]]



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