Skip to content

[BUG][CRASH]  #5006

@vbauerster

Description

@vbauerster

Version of Kakoune

Kakoune v2023.08.05-53-gd1c8622d

Reproducer

I use tmux with kakoune. Crush happens when I invoke new (new client) command. Looks like kakoune is waiting for some command to finish and then crushes when all ram and swap exhausted. This is not happening with release Kakoune v2023.08.05.
Following is screenshot of htop filtered with kak when that happens.
Screenshot from 2023-10-25 10-40-06

Outcome

❯ coredumpctl info
           PID: 1111907 (kak)
           UID: 1000 (vbauer)
           GID: 1000 (vbauer)
        Signal: 6 (ABRT)
     Timestamp: Wed 2023-10-25 10:16:04 +05 (21s ago)
  Command Line: kak -c 1110812
    Executable: /usr/local/bin/kak
 Control Group: /user.slice/user-1000.slice/[email protected]/app.slice/foot-server.service
          Unit: [email protected]
     User Unit: foot-server.service
         Slice: user-1000.slice
     Owner UID: 1000 (vbauer)
       Boot ID: f9ee5b9ddfd14cc5a5ae2570c0209608
    Machine ID: _
      Hostname: archmbxpro
       Storage: /var/lib/systemd/coredump/core.kak.1000.f9ee5b9ddfd14cc5a5ae2570c0209608.1111907.1698210964000000.zst (present)
  Size on Disk: 68.9K
       Message: Process 1111907 (kak) of user 1000 dumped core.

                Stack trace of thread 1111907:
                #0  0x00007ff4efbbf83c n/a (libc.so.6 + 0x8e83c)
                #1  0x00007ff4efb6f668 raise (libc.so.6 + 0x3e668)
                #2  0x00007ff4efb574b8 abort (libc.so.6 + 0x264b8)
                #3  0x00005630b9a3464a _ZN7Kakoune14signal_handlerEi (kak + 0xc264a)
                #4  0x00007ff4efb6f710 n/a (libc.so.6 + 0x3e710)
                #5  0x00007ff4efc3e4f0 pselect (libc.so.6 + 0x10d4f0)
                #6  0x00005630b9adb10f _ZN7Kakoune12EventManager18handle_next_eventsENS_9EventModeEP10__sigset_tb (kak + 0x16910f)
                #7  0x00005630b9b76a35 _ZN7Kakoune10run_clientENS_10StringViewES0_S0_NS_8OptionalINS_11BufferCoordEEENS_6UITypeEb (kak + 0x204a35)
                #8  0x00005630b9a4b1a1 main (kak + 0xd91a1)
                #9  0x00007ff4efb58cd0 n/a (libc.so.6 + 0x27cd0)
                #10 0x00007ff4efb58d8a __libc_start_main (libc.so.6 + 0x27d8a)
                #11 0x00005630b9a4b965 _start (kak + 0xd9965)
                ELF object binary architecture: AMD x86-64

Expectations

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions