[Bug 268866] tcsh: Segmentation fault

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 Jan 2023 21:28:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268866

--- Comment #10 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
(In reply to iron.udjin from comment #9)

Sorry, that doesn't mean it is completely useless.
What it means is something like how many people in the world can handle it :)

This is a backtrace in 12.4-STABLE.

(lldb) bt all
* thread #1, name = 'tcsh', stop reason = signal SIGSEGV
  * frame #0: 0x00000000002350d0 tcsh`hashhist(h0=0x00007fffffffded0) at
sh.hist.c:381:24
    frame #1: 0x000000000023483b tcsh`enthist(event=-50000000,
lp=0x00007fffffffded0, docopy=0, mflg=0, hlen=-1) at sh.hist.c:944:22
    frame #2: 0x000000000023c7a1 tcsh`dosub(sc=L'q', en=0x0000000000284238,
global=1) at sh.lex.c:953:11
    frame #3: 0x000000000023c352 tcsh`getsub(en=0x0000000000284238) at
sh.lex.c:880:11
    frame #4: 0x0000000000238823 tcsh`getexcl(sc=L'\0') at sh.lex.c:753:11
    frame #5: 0x000000000023a5fa tcsh`getC1(flag=3) at sh.lex.c:491:6
    frame #6: 0x0000000000238a13 tcsh`word(parsehtime=0) at sh.lex.c:307:17
    frame #7: 0x0000000000237b86 tcsh`lex(hp=0x0000000000284238) at
sh.lex.c:183:14
    frame #8: 0x000000000021afb7 tcsh`process(catch=1) at sh.c:2071:12
    frame #9: 0x000000000021a14f tcsh`main(argc=0, argv=0x00007fffffffe468) at
sh.c:1430:5
    frame #10: 0x0000000000217cc0 tcsh`_start + 256

-- 
You are receiving this mail because:
You are the assignee for the bug.