$ gdb
GNU gdb (GDB) 11.1
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) file /gnu/store/6r0zmw6sz8nyv786flsz28gpanw4kvix-ghc-4.08.2/lib/hsc
Reading symbols from /gnu/store/6r0zmw6sz8nyv786flsz28gpanw4kvix-ghc-4.08.2/lib/hsc...
(gdb) run -h
Starting program: /gnu/store/6r0zmw6sz8nyv786flsz28gpanw4kvix-ghc-4.08.2/lib/hsc -h

Program received signal SIGSEGV, Segmentation fault.
0x90c3008b in ?? ()
(gdb) bt -full -no-filters
#0  0x90c3008b in ?? ()
No symbol table info available.
#1  0x085fdd48 in hsc.PrelReal.lhs.40.0.. ()
No symbol table info available.
#2  0x0858627c in hsc.PrelEnum.lhs.40.0.. ()
No symbol table info available.
#3  0x085c8eec in c6RQ_ret ()
No symbol table info available.
#4  0x085cd1e8 in PrelMain_mainIO_fast1 ()
No symbol table info available.
#5  0x085cd0d8 in hsc.PrelList.lhs.40.0.. ()
No symbol table info available.
#6  0x00000000 in ?? ()
No symbol table info available.
(gdb) disass 0x085cd0d8
Dump of assembler code for function __init_PrelMain:
   0x085cd0d8 <+0>: cmpl   $0x0,0x86d7cfc
   0x085cd0df <+7>: jne    0x85cd113 <__init_PrelMain+59>
   0x085cd0e1 <+9>: movl   $0x1,0x86d7cfc
   0x085cd0eb <+19>:    movl   $0x83e3014,0x0(%ebp)
   0x085cd0f2 <+26>:    add    $0x4,%ebp
   0x085cd0f5 <+29>:    movl   $0x858718c,0x0(%ebp)
   0x085cd0fc <+36>:    add    $0x4,%ebp
   0x085cd0ff <+39>:    movl   $0x85a4d50,0x0(%ebp)
   0x085cd106 <+46>:    add    $0x4,%ebp
   0x085cd109 <+49>:    movl   $0x860d6b4,0x0(%ebp)
   0x085cd110 <+56>:    add    $0x4,%ebp
   0x085cd113 <+59>:    add    $0xfffffffc,%ebp
   0x085cd116 <+62>:    jmp    *0x0(%ebp)
   0x085cd119 <+65>:    lea    0x0(%esi),%esi
End of assembler dump.
(gdb) disass 0x90c3008b
No function contains specified address.
(gdb) disass 0x085fdd48
Dump of assembler code for function __init_PrelShow:
   0x085fdd48 <+0>: cmpl   $0x0,0x86d8e94
   0x085fdd4f <+7>: jne    0x85fdd83 <__init_PrelShow+59>
   0x085fdd51 <+9>: movl   $0x1,0x86d8e94
   0x085fdd5b <+19>:    movl   $0x8577e3c,0x0(%ebp)
   0x085fdd62 <+26>:    add    $0x4,%ebp
   0x085fdd65 <+29>:    movl   $0x858627c,0x0(%ebp)
   0x085fdd6c <+36>:    add    $0x4,%ebp
   0x085fdd6f <+39>:    movl   $0x85c8eec,0x0(%ebp)
   0x085fdd76 <+46>:    add    $0x4,%ebp
   0x085fdd79 <+49>:    movl   $0x85cd1e8,0x0(%ebp)
   0x085fdd80 <+56>:    add    $0x4,%ebp
   0x085fdd83 <+59>:    add    $0xfffffffc,%ebp
   0x085fdd86 <+62>:    jmp    *0x0(%ebp)
   0x085fdd89 <+65>:    lea    0x0(%esi),%esi
   0x085fdd8c <+68>:    add    %al,(%eax)
   0x085fdd8e <+70>:    add    %al,(%eax)
   0x085fdd90 <+72>:    adc    %eax,(%eax)
   0x085fdd92 <+74>:    add    %al,(%eax)
End of assembler dump.
(gdb) 

Generated by Ricardo Wurmus using scpaste at Fri Oct 21 08:14:21 2022. CEST. (original)