Should _XIOError really exit() ?

Jeremy Huddleston jeremyhu at apple.com
Thu Jul 29 11:37:12 PDT 2010


Should _XIOError in libX11 really exit() even if the developer provides their own io error handler?  That seems extreme and prevents recovery.  It took me quite a while to actually discover that I was exiting at this point:

(gdb) bt
#0  0x00007fff8673d3e3 in exit ()
#1  0x000000010040c006 in _XIOError ()
#2  0x0000000100412a62 in process_responses ()
#3  0x0000000100412eb1 in _XEventsQueued ()
#4  0x00000001003fee79 in XPending ()
#5  0x00000001000305df in xpbproxy_process_xevents () at x-input.m:94
#6  0x0000000100030731 in x_input_callback (sock=0x100760b80, type=1, address=0x0, data=0x0, info=0x0) at x-input.m:167

--Jeremy



More information about the xorg-devel mailing list