Bug#376188: xserver aborts with sigsegv when xawtv starts
Hi,
I've just reproduced the bug, with 1.3.0.0.dfsg-12.
After gdb showed me where the segfault occurs, I wrote a very quick
patch that seems to fix the problem, but dont ask what causes it.
Cheers,
--
Matthieu (Prof)
diff -ur xorg-server-1.3.0.0.dfsg/dix/dispatch.c xorg-server-1.3.0.0.dfsg_fix/dix/dispatch.c
--- xorg-server-1.3.0.0.dfsg/dix/dispatch.c 2006-11-16 19:01:22.000000000 +0100
+++ xorg-server-1.3.0.0.dfsg_fix/dix/dispatch.c 2007-09-09 16:43:37.000000000 +0200
@@ -287,6 +287,9 @@
{
client = clientReady[i];
pClient = clients[client];
+ if (!pClient)
+ continue;
+
/* Praise clients which are idle */
if ((now - pClient->smart_check_tick) >= idle)
{
Reply to: