[Bug 268866] tcsh: Segmentation fault

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

Tatsuki Makino <tatsuki_makino@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tatsuki_makino@hotmail.com

--- Comment #8 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
12.4-STABLE amd64 is reproducible.

!# is history substitution. # is the current event.
:q is quote substituted words.

That is,
echo !#:q
will run
echo echo
.
echo !#:q foo
will run
echo echo foo
.

Core dumps are useless without debug builds :)
(lldb) bt
* thread #1, name = 'tcsh', stop reason = signal SIGSEGV
  * frame #0: 0x000000000022cf32 tcsh`___lldb_unnamed_symbol507 + 66
    frame #1: 0x000000000022c7a2 tcsh`___lldb_unnamed_symbol503 + 290

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