← Back to team overview

gtg-contributors team mailing list archive

Re: weird X bug

 

On Thu, Dec 23, 2010 at 05:28:38PM +0100, invernizzi.l@xxxxxxxxx wrote:
> Hello people,
>  first of all, merry Christmas!
> I found a weird gtk bug, which seems to show that the crash "Fatal IO
> error 0 (Success) on X server" is not due to liblarch-gtk.
> In lp:~gtg-user/gtg/weird-X-crash there is a gtg version where
> liblarch-gtk has been rendered a  simple layer, with no reference
> whatsoever to liblarch (that is, no task is ever shown). However, it
> still crashes with the "bryce" dataset. Any clue?

Crashing on a success message seems odd.  ;-)

This appears to match an error message in libx11:

     "XIO:  fatal IO error %d (%s) on X server \"%s\"\r\n",

(I assume you're seeing the 'XIO' in your error message?)

This is in the routine _XDefaultIOError(), which is the default fatal
system error reporting routine.  Says it's called whenever an X internal
system error is encountered.

So... the error message by itself doesn't tell you very much.

However, I bet if you installed debugging symbols for the libx11 package
(sudo apt-get install libx11-6-dbg libx11-xcb1-dbg) and then ran in gdb
with a breakpoint on that function, repro'd the crash, and then got a
full backtrace from that point, it'd point to how the crash is
originating.

Bryce



Follow ups

References