From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: -o nobanghist -o emacs segfaults
Date: Fri, 3 Apr 2020 08:11:18 +0000 [thread overview]
Message-ID: <20200403081118.7031b5b9@tarpaulin.shahaf.local2> (raw)
[[[
% 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)
]]]
next reply other threads:[~2020-04-03 8:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-03 8:11 Daniel Shahaf [this message]
2020-04-03 10:15 ` Peter Stephenson
2020-04-05 18:34 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200403081118.7031b5b9@tarpaulin.shahaf.local2 \
--to=d.s@daniel.shahaf.name \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).