X IO errors in gnome-perl test



I checked out gnome-perl from CVS on Oct 23rd, along with glib
and gtk+. It compiled first time but "make test" failed due to some
missing symbols in libgtk+, so I just removed the references to
those from GtkWidget.xs (mostly the _dnd_ stuff).

However, now I find that the test program "test.pl" crashes
sporadically due to obscure "X IO errors", such as this stack
trace obtained by running gdb on /usr/bin/perl:

[PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib
-I/usr/lib/perl5/i386-linux/5.00404 -I/usr/lib/perl5 test.pl ]

(gdb) i s
#0  0x400656a1 in __kill ()
#1  0x400654cf in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x400666df in abort () at ../sysdeps/generic/abort.c:83
#3  0x40358c06 in g_logv (log_domain=0x40340778 "Gdk", log_level=G_LOG_LEVEL_ERROR, format=0x403409db "an x io error occurred", args1=0xbfffe724) at gmessages.c:311
#4  0x40358c5e in g_log (log_domain=0x40340778 "Gdk", log_level=G_LOG_LEVEL_ERROR, format=0x403409db "an x io error occurred") at gmessages.c:327
#5  0x4031e8c9 in gdk_x_io_error (display=0x8180088) at gdk.c:2924
#6  0x403a58a1 in _XIOError ()
#7  0x403a3651 in _XRead ()
#8  0x403a3fa7 in _XReply ()
#9  0x403a00a5 in XSync ()
#10 0x403a0126 in _XSyncFunction ()
#11 0x4038c21f in XDrawLine ()
#12 0x4032c3fc in gdk_draw_line (drawable=0x8361a88, gc=0x835c670, x1=1, y1=309, x2=13, y2=309) at gdkdraw.c:65
#13 0x402b03cd in gtk_default_draw_shadow (style=0x835d1c8, window=0x8361a88, state_type=GTK_STATE_NORMAL, shadow_type=GTK_SHADOW_IN, x=0, y=0, width=15, height=311) at gtkstyle.c:1068
#14 0x402ad81a in gtk_draw_shadow (style=0x835d1c8, window=0x8361a88, state_type=GTK_STATE_NORMAL, shadow_type=GTK_SHADOW_IN, x=0, y=0, width=-1, height=-1) at gtkstyle.c:431
#15 0x4029704c in gtk_real_range_draw_trough (range=0x83530c8) at gtkrange.c:1112
#16 0x40292c3d in gtk_range_draw_trough (range=0x83530c8) at gtkrange.c:254
#17 0x40294f35 in gtk_range_expose (widget=0x83530c8, event=0x83620b8) at gtkrange.c:730
#18 0x402692e2 in gtk_marshal_BOOL__POINTER (object=0x83530c8, func=0x40294d88 <gtk_range_expose>, func_data=0x0, args=0xbfffe9a0) at gtkmarshal.c:30
#19 0x402a5ba6 in gtk_signal_real_emit (object=0x83530c8, signal_id=24, params=0xbfffe9a0) at gtksignal.c:1401
#20 0x402a2fcf in gtk_signal_emit (object=0x83530c8, signal_id=24) at gtksignal.c:507
#21 0x402e5c21 in gtk_widget_event (widget=0x83530c8, event=0x83620b8) at gtkwidget.c:2137
#22 0x40267531 in gtk_main_iteration_do (blocking=1) at gtkmain.c:801
#23 0x402670ab in gtk_main_iteration () at gtkmain.c:617
#24 0x40266e28 in gtk_main () at gtkmain.c:521
#25 0x401412b1 in XS_Gtk_main ()
#26 0x8081933 in Perl_pp_entersub ()
#27 0x807ddf2 in Perl_runops ()
#28 0x8057813 in perl_run ()
#29 0x8055cbb in main ()
(gdb)

I'm running RedHat 5.1 with perl 5.004, XFree86 3.3.2. I've never seen this
type of error with other X applications, what could it be? 
--
Peter Wainwright
Home: prw@wainpr.demon.co.uk   Work: peter.wainwright@nrpb.org.uk
http://www.wainpr.demon.co.uk
Visit the Opera Exchange Homepage at http://www.treda.co.uk/opex/



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