Xavier Bestel <[EMAIL PROTECTED]> writes:
> I've got problems with some apps using gtk+1.2. They often freeze when
> in Xinerama mode.
>
> My setup is:
> Linux 2.4.19-pre7-ac2 (SMP)
> Debian/sid
> XFree86 4.1.0
> gtk+1.2
> Xinerama mode on 2 different sized screens, one on an ATI R128 and the
> other on a S3 Virge.
>
> I've seen Evolution freeze *very* often (several times a day), Galeon
> sometimes, and 1 other simpler app (edonkey gui) once.
>
> I tried without Xinerama and couldn't reproduce the freezes.
>
> Here's a bt from an evolution-mail freeze:
>
> #0 0x411207ce in select () from /lib/libc.so.6
> #1 0x40f7ffdc in _XlcPublicMethods () from /usr/X11R6/lib/libX11.so.6
> #2 0x40edb3ba in _XRead () from /usr/X11R6/lib/libX11.so.6
> #3 0x40edbdc3 in _XReply () from /usr/X11R6/lib/libX11.so.6
> #4 0x40ed2e1d in XQueryPointer () from /usr/X11R6/lib/libX11.so.6
> #5 0x40e87d38 in gdk_window_get_pointer () from /usr/lib/libgdk-1.2.so.0
> #6 0x40e2f1e7 in gtk_widget_get_pointer () from /usr/lib/libgtk-1.2.so.0
> #7 0x40339415 in e_vpaned_new () from /usr/lib/libgal.so.19
> #8 0x40dc7e3f in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
> #9 0x40df7013 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
> #10 0x40df50b3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
> #11 0x40e2bacb in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
> #12 0x40dc7d85 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
> #13 0x40dc6eee in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
> #14 0x40e76457 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
> #15 0x4102e4d8 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
> #16 0x4102eae3 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
> #17 0x4102ec7c in g_main_run () from /usr/lib/libglib-1.2.so.0
> #18 0x40dc67e7 in gtk_main () from /usr/lib/libgtk-1.2.so.0
> #19 0x40468ebd in bonobo_main () from /usr/lib/libbonobo.so.2
> #20 0x0809e473 in main ()
> #21 0x4106f14f in __libc_start_main () from /lib/libc.so.6
>
>
> It seems it freezes always at the same place in the code. The pattern is
> common with Galeon: the first 4 lines are the same (from select to
> _XReply), then an Xlib function then a gtk function. I can send you a bt
> on request (when it freezes again).
>
> I honestly don't know what to do to help debug that. Please tell me what
> I could do (not too destructive for my setup please).
The first step would be to try to get a backtrace while running the
programs with the --sync command line option, since it's possible
that it's not the XQueryPointer that is causing the hang but some
earlier request.
Unfortunately, I'm not sure if either evolution or Galeon will really pass
that option through to the main part of the application ... they are both
somewhat complicated. But it's worth trying. And it should definitely work
for simpler apps. (You can tell if you are running the apps synchronized,
because it will be darn slow.)
Regards,
Owen
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert