X i/o errors



I'm having trouble with some users of one of my gtk apps getin X i/o
errors. The problem occurs when I fork()/exec() another process from
within the gtk program. I've seen other people mention this kind of thing,
and I've tried the workarounds mentioned -- doing
close(ConnectionNumber(gdk_get_display())) doesn't seem to help.

Here is a backtrace of the error. Any help would be most appreciated.

Mike

-=-=-

Program received signal SIGABRT, Aborted.
0x40275811 in __kill ()
(gdb) bt
#0  0x40275811 in __kill ()
#1  0x4027563f in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x4027684f in abort () at ../sysdeps/generic/abort.c:83
#3  0x4016e4d6 in g_logv (log_domain=0x4014d879 "Gdk", 
    log_level=G_LOG_LEVEL_ERROR, format=0x4014d980 "an x io error
occurred", 
    args1=0xbfffed7c) at gmessages.c:382
#4  0x4016e586 in g_log (log_domain=0x4014d879 "Gdk", 
    log_level=G_LOG_LEVEL_ERROR, format=0x4014d980 "an x io error
occurred")    at gmessages.c:399
#5  0x401307d9 in gdk_x_io_error (display=0x80c8e10) at gdk.c:1047
#6  0x401c4925 in _XIOError ()
#7  0x401c26d5 in _XRead ()
#8  0x401c20ce in _XEventsQueued ()
#9  0x401b7674 in XPending ()
#10 0x4013ce84 in gdk_event_prepare (source_data=0x0,
current_time=0xbffff6ec, 
    timeout=0xbffff6e8) at gdkevents.c:2021
#11 0x4016c3d2 in g_main_iterate (block=1, dispatch=1) at gmain.c:745
#12 0x4016c7fd in g_main_run (loop=0x8135200) at gmain.c:905
#13 0x40096d89 in gtk_main () at gtkmain.c:458
#14 0x8053e15 in main ()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]