You are not logged in.

#1 2015-10-27 01:00:38

subterranean
Member
Registered: 2015-10-27
Posts: 2

Closing applications in DWM causes a core dump?

According to the wiki, DWM cleanly exits applications when ALT+SHIFT+C is pressed, however journalctl seems to indicate otherwise.  Here's an example.

-- Logs begin at Sat 2015-10-24 15:39:15 CDT, end at Mon 2015-10-26 19:32:06 CDT. --
Oct 26 19:32:06 ARCH-WORKSTATION systemd-coredump[2738]: Process 2661 (firefox) of user 1000 dumped core.
Oct 26 19:31:46 ARCH-WORKSTATION systemd-coredump[2613]: Process 2231 (dia) of user 1000 dumped core.
Oct 26 19:31:46 ARCH-WORKSTATION kernel: traps: dia[2231] general protection ip:7f45d00d67e0 sp:7ffc6f0135d8 error:0 in libpthread-2.22.so[7f45d00c4000+18000]
Oct 26 19:28:11 ARCH-WORKSTATION systemd-coredump[2610]: Process 2528 (firefox) of user 1000 dumped core.
Oct 26 19:27:49 ARCH-WORKSTATION systemd-coredump[2521]: Process 2444 (firefox) of user 1000 dumped core.
Oct 26 19:27:34 ARCH-WORKSTATION systemd-coredump[2437]: Process 2391 (terminator) of user 1000 dumped core.
Oct 26 19:27:34 ARCH-WORKSTATION kernel: traps: terminator[2391] general protection ip:7f858a41b7e0 sp:7ffe6f433c38 error:0 in libpthread-2.22.so[7f858a409000+18000]

Offline

#2 2015-10-27 01:14:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Closing applications in DWM causes a core dump?

Mod-Shift-c kills the window client, it doesn't say anything about safely shutting down what is running in that window...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-10-27 04:07:53

subterranean
Member
Registered: 2015-10-27
Posts: 2

Re: Closing applications in DWM causes a core dump?

According to the wiki:

To cleanly close a window using dwm, simply press Shift + Mod1 + c.

.

If this doesn't mean what I think it means, I've been closing my windows wrong for a long time.

Offline

#4 2015-10-27 04:56:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Closing applications in DWM causes a core dump?

You can read the function killclient in dwm.c: there is nothing there that gracefully shuts down an application in the client.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB