martanne / dvtm

dvtm brings the concept of tiling window management, popularized by X11-window managers like dwm to the console. As a console window manager it tries to make it easy to work with multiple console based programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sporadic crash when closing or opening window

MarSoft opened this issue · comments

Sometimes DVTM crashes when I try to open new window. Unfortunately I don't have a meaningful core dump for such crashes because they happened before I re-compiled DVTM with debugging symbols.

Now, here is the first similar crash I encountered after recompiling. It happened when I tried to close one (first) of the 4 active terminal windows on the first tag. I closed it with Ctrl+D after which DVTM crashed.

DVTM version: dvtm-v0.15-37-gb45828d-dirty © 2007-2016 Marc André Tanner
(dirty is because I had to fix config.mk)

$ coredumpctl -r info dvtm
           PID: 1323 (dvtm)
           UID: 1000 (mars)
           GID: 1000 (mars)
        Signal: 11 (SEGV)
     Timestamp: Sun 2017-11-12 13:51:23 MSK (4h 18min ago)
  Command Line: dvtm -d 10 -h 5000 -c /run/user/1000/dvtm-session-cmd-1311.fifo -s /run/user/1000/dvtm-session-status-1311.fifo
    Executable: /usr/bin/dvtm
 Control Group: /user.slice/user-1000.slice/session-c5.scope
          Unit: session-c5.scope
         Slice: user-1000.slice
       Session: c5
     Owner UID: 1000 (mars)
       Boot ID: b53a3fe3439648138a06aa41faa87b72
    Machine ID: e05da9ccd03d465a8b5ecee7a9103251
      Hostname: hpook
       Storage: /var/lib/systemd/coredump/core.dvtm.1000.b53a3fe3439648138a06aa41faa87b72.1323.1510483883000000.lz4
       Message: Process 1323 (dvtm) of user 1000 dumped core.
                
                Stack trace of thread 1323:
                #0  0x00007fa92324fd5d _int_malloc (libc.so.6)
                #1  0x00007fa92325267a __libc_calloc (libc.so.6)
                #2  0x00007fa922dc1c43 wresize (libncursesw.so.6)
                #3  0x0000561bf4ab4f23 resize_client (dvtm)
                #4  0x0000561bf4ab5ac6 resize (dvtm)
                #5  0x0000561bf4ab5f52 arrange (dvtm)
                #6  0x0000561bf4ab2bcf main (dvtm)
                #7  0x00007fa9231eff6a __libc_start_main (libc.so.6)
                #8  0x0000561bf4ab32fa _start (dvtm)
More than one entry matches, ignoring rest.

Can I do something else to provide more information? Maybe attach coredump file?

Another traceback. This one happened when trying to create new window. There were 4 windows on first tag, default/tiling layout (just as before), and DVTM crashed when I pressed Mod+c.

           PID: 21427 (dvtm)
           UID: 1000 (mars)
           GID: 1000 (mars)
        Signal: 6 (ABRT)
     Timestamp: Mon 2017-11-13 02:09:25 MSK (1min 12s ago)
  Command Line: dvtm -d 10 -h 5000 -c /run/user/1000/dvtm-session-cmd-21420.fifo -s /run/user/1000/dvtm-session-status-21420.fifo
    Executable: /usr/bin/dvtm
 Control Group: /user.slice/user-1000.slice/session-c2.scope
          Unit: session-c2.scope
         Slice: user-1000.slice
       Session: c2
     Owner UID: 1000 (mars)
       Boot ID: 4c2eea29941a40f7b7deba554b1a2fd3
    Machine ID: e05da9ccd03d465a8b5ecee7a9103251
      Hostname: hpook
       Storage: /var/lib/systemd/coredump/core.dvtm.1000.4c2eea29941a40f7b7deba554b1a2fd3.21427.1510528165000000.lz4
       Message: Process 21427 (dvtm) of user 1000 dumped core.
                
                Stack trace of thread 21427:
                #0  0x00007f2dbf7248a0 raise (libc.so.6)
                #1  0x00007f2dbf725f09 abort (libc.so.6)
                #2  0x00007f2dbf767517 __libc_message (libc.so.6)
                #3  0x00007f2dbf76dc84 malloc_printerr (libc.so.6)
                #4  0x00007f2dbf76fe97 _int_free (libc.so.6)
                #5  0x00007f2dbf2e2d8b wresize (libncursesw.so.6)
                #6  0x00005598180e2f23 resize_client (dvtm)
                #7  0x00005598180e3ac6 resize (dvtm)
                #8  0x00005598180e3e26 arrange (dvtm)
                #9  0x00005598180e4e30 create (dvtm)
                #10 0x00005598180e1210 main (dvtm)
                #11 0x00007f2dbf710f6a __libc_start_main (libc.so.6)
                #12 0x00005598180e12fa _start (dvtm)