Bug#599382: [patch] Re: wmdrawer: Wmdrawer segfaults when it receives CTRL-C twice.

2011-04-12 Thread Kevin Kreamer
d the program. The nanosleep was introduced so that we don't block for a long time on XNextEvent. Patch attached. Thanks, Kevin On Wed, Apr 6, 2011 at 23:57, Kevin Kreamer wrote: > I ran into this, as well. > > Tracing through the code in gdb, it appears that the call to XCloseDi

Bug#599382: wmdrawer: Wmdrawer segfaults when it receives CTRL-C twice.

2011-04-06 Thread Kevin Kreamer
I ran into this, as well. Tracing through the code in gdb, it appears that the call to XCloseDisplay on line 125 of wmdrawer.c does not return, causing a SIGTERM not to terminate the process. The second SIGTERM sent then tries to free memory previously freed as part of the code handling the first