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

Re: Bug - invalid pointer



Okay, so I went ahead and recompiled by adding 'options=(debug !strip)' to my PKGBUILD on Arch. That's all I changed so if I need to do something else to get full debugging symbols let me know.

Here's the new core dump:

coredumpctl gdb 15809
           PID: 15809 (zsh)
           UID: 1000 (john)
           GID: 1000 (john)
        Signal: 6 (ABRT)
     Timestamp: Fri 2018-04-13 18:53:35 PDT (1min 44s ago)
  Command Line: /usr/bin/zsh
    Executable: /usr/bin/zsh
 Control Group: /user.slice/user-1000.slice/session-c1.scope
          Unit: session-c1.scope
         Slice: user-1000.slice
       Session: c1
     Owner UID: 1000 (john)
       Boot ID: 529c2cf77df04e549005b8b08ace78d1
    Machine ID: 6f76760fe58f4b6293e0004853517d7d
      Hostname: wooly
       Storage: /var/lib/systemd/coredump/core.zsh.1000.529c2cf77df04e549005b8b08ace78d1.15809.1523670815000000.lz4
       Message: Process 15809 (zsh) of user 1000 dumped core.
                
                Stack trace of thread 15809:
                #0  0x00007f27252fc860 raise (libc.so.6)
                #1  0x00007f27252fdec9 abort (libc.so.6)
                #2  0x00007f272533f437 __libc_message (libc.so.6)
                #3  0x00007f272534578b malloc_printerr (libc.so.6)
                #4  0x00007f272534724c _int_free (libc.so.6)
                #5  0x00007f2724e91e19 singlerefresh (zle.so)
                #6  0x00007f2724e852e6 zleread (zle.so)
                #7  0x0000556344d3a784 zleentry (zsh)
                #8  0x0000556344d3bcb8 inputline (zsh)
                #9  0x0000556344d3356c ihgetc (zsh)
                #10 0x0000556344d4565e gettok (zsh)
                #11 0x0000556344d65437 parse_event (zsh)
                #12 0x0000556344d36ee5 loop (zsh)
                #13 0x0000556344d3adf6 zsh_main (zsh)
                #14 0x00007f27252e8f4a __libc_start_main (libc.so.6)
                #15 0x0000556344d009aa _start (zsh)

GNU gdb (GDB) 8.1
(gdb) bt
#0  0x00007f27252fc860 in raise () from /usr/lib/libc.so.6
#1  0x00007f27252fdec9 in abort () from /usr/lib/libc.so.6
#2  0x00007f272533f437 in __libc_message () from /usr/lib/libc.so.6
#3  0x00007f272534578b in malloc_printerr () from /usr/lib/libc.so.6
#4  0x00007f272534724c in _int_free () from /usr/lib/libc.so.6
#5  0x00007f2724e91e19 in singlerefresh (tmpcs=<optimized out>, tmpll=0, tmpline=0x5563468aebc0 L"") at zle_refresh.c:2656
#6  zrefresh () at zle_refresh.c:1188
#7  0x00007f2724e852e6 in zleread (lp=<optimized out>, rp=<optimized out>, flags=<optimized out>, context=<optimized out>, init=0x7f2724ea3abd "zle-line-init", 
    finish=0x7f2724ea3aad "zle-line-finish") at zle_main.c:1322
#8  0x0000556344d3a784 in zleentry (cmd=cmd@entry=1) at init.c:1602
#9  0x0000556344d3bcb8 in inputline () at input.c:295
#10 ingetc () at input.c:228
#11 0x0000556344d3bedf in ingetc () at input.c:196
#12 0x0000556344d3356c in ihgetc () at hist.c:407
#13 0x0000556344d4565e in gettok () at lex.c:611
#14 zshlex () at lex.c:275
#15 0x0000556344d4639e in zshlex () at lex.c:268
#16 0x0000556344d65437 in parse_event (endtok=endtok@entry=37) at parse.c:581
#17 0x0000556344d36ee5 in loop (toplevel=toplevel@entry=1, justonce=justonce@entry=0) at init.c:146
#18 0x0000556344d3adf6 in zsh_main (argc=<optimized out>, argv=<optimized out>) at init.c:1756
#19 0x00007f27252e8f4a in __libc_start_main () from /usr/lib/libc.so.6
#20 0x0000556344d009aa in _start ()



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