|author||Tom Hacohen <firstname.lastname@example.org>||2013-11-05 15:50:23 +0000|
|committer||Tom Hacohen <email@example.com>||2013-11-05 15:54:15 +0000|
wsod: Fixed gdb hangs when generating backtraces.
After a long and hard battle with the gods of bugs I finally fixed this stupid hang. I had to dig into the gdb source code, and gdb the hell out of gdb, but it's now solved. First of all, we should call gdb with -batch which exits automatically. This however is not enough to fix it. The bug was that gdb was haning while trying to set attributes on stdin because it was waiting for input. This is obviously problematic when running in non-interactive mode, so I had to pipe /dev/zero to stdin to fix it. While at it, I also fixed the piping of stdout and stderr to be nicer.
Diffstat (limited to '')
1 files changed, 3 insertions, 0 deletions
|@@ -1,3 +1,6 @@|
|1||2013-11-05 Tom Hacohen|
|2||* wsod: Fixed gdb hangs when generating backtraces.|
|1||2013-10-07 Mike Blumenkrantz||4||2013-10-07 Mike Blumenkrantz|
|3||* removed "raise on focus" config option||6||* removed "raise on focus" config option|