Re: [gtk-list] Re: Gdk: x i/o error




Thanks for the tips -- for whats its worth my gtk apps crash like this

Gdk-ERROR **: an x io error occurred
aborting...

Program received signal SIGABRT, Aborted.
0x402928d1 in __kill ()
(gdb) where
#0  0x402928d1 in __kill ()
#1  0x402616d9 in raise (sig=1075114756)
#2  0x40165986 in g_log (log_domain=0x4014f304 "Gdk",
    log_level=G_LOG_LEVEL_ERROR, format=0x4014f567 "an x io error
occurred")
    at gmessages.c:349
#3  0x40135d75 in gdk_x_io_error (display=0x8054690) at gdk.c:3118
#4  0x401b1869 in _XIOError ()
#5  0x401af6cc in _XRead ()
#6  0x401affbb in _XReply ()
#7  0x401a3eeb in XOpenDisplay ()
#8  0x40132fbd in gdk_init (argc=0xbffff958, argv=0xbffff95c) at gdk.c:497
#9  0x4009e256 in gtk_init (argc=0xbffff958, argv=0xbffff95c) at
gtkmain.c:275
 #10 0x804d828 in main (argc=1, argv=0xbffff974) at gladesig.c:39
#11 0x804a07e in ___crt_dummy__ ()








On 12 Dec 1998, Owen Taylor wrote:

:>
:>Dave Linder <dwl@apmaths.uwo.ca> writes:
:>
:>> Howdy,
:>> 
:>> Whenever I try and run a gtk application I get an error
:>> message like
:>> 
:>>    Gdk-ERROR **: an x io error occurred
:>>    aborting...
:>>    IOT trap/Abort
:>>
:>> This has happened for about 4 or 5 apps, all of which seemed 
:>> to compile just fine, including the GTK FAQ file's 
:>> helloworld.c example.  I am using glib/gdk/gtk 1.1.6, which
:>> all built and installed fine.  But the problem also
:>> ocurred with v1.0.6.  I have ensured that no old versions
:>> of these librarie, or header files, are mixed up with the
:>> version I have built with.  I have tried running as root, also.
:>> 
:>> I do not otherwise have the GNOME window-manager/desktop system 
:>> installed.
:>> 
:>> More gruesome details -- when I try to run the apps the outline
:>> of the window does appear for some of these apps, but it dies
:>> when I (left-)click to place the window.  Turning off the ability
:>> of the Afterstep window manager to allow interactive placement of 
:>> windows does not help.  Using fvwm doesn't help either.
:>> 
:>> But using olwm window manager allows hello_world example to run,
:>> but not others apps. (!)
:>> 
:>> I use the Afterstep window manager, XFree86-3.3.2 SVGA server 
:>> at 1024x768 and 16bpp, with libc 5.3.12, libm 5.0.6, gcc v2.7.2, 
:>> and kernel 2.0.34.
:>> A setup otherwise working just fine..  :)
:>> 
:>> Any clues or ideas welcome, thanks!  I didn't see this in the FAQ
:>> or this list's archives.
:>
:> - Try upgrading to 1.1.7
:>
:> - Sometimes problems like this occur when modules compiled
:>   with and without thread support are mixed, although presumably
:>   that isn't the problem here, since you aren still using
:>   libc5. 
:>
:> - If neither helps, try running the program under a debugger
:>   with the --sync flag and see if the error is occurring
:>   in a consistent place.
:>
:>   gdb ./testgtk
:>   (gdb) r --sync
:>   [ ...crash... ]
:>   (gdb) where
:>
:>Regards,
:>                                        Owen
:>
:>-- 
:>To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
:>
:>


	Best Regards, 
	Ed


//------------------------------------------------------------------------
// Edward March Jr. WB9RAA -- Mt. Prospect, IL     
//
// ***> http://www.cl.ais.net/emarch
// ***> http://www.bmtmicro.com/catalog/clone.html
//
// Win95 or Better, I chose better! 
// I Run OS/2 Warp 3.0 & 4.0 and Linux Red Hat 5.0 & S.u.S.E. 5.3
//------------------------------------------------------------------------



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