2.4.1 hangs frequently

View: New views
6 Messages — Rating Filter:   Alert me  

2.4.1 hangs frequently

by Geoffrey Leach-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I posted this a few days ago, but no replies. Was it missed, or was the
answer, "No, thanks?"

Compiled from source. Gdb bt is attached, but I doubt if its of any
use! So, I'd like to help if I can. Any suggestions?



#0  0x00c18424 in __kernel_vsyscall ()
#1  0x00e8e386 in poll () from /lib/libc.so.6
#2  0x0052a0a0 in ?? () from /usr/lib/libxcb.so.1
#3  0x0052bcc2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0x00589026 in _XReply () from /usr/lib/libX11.so.6
#5  0x0056560d in XGetGeometry () from /usr/lib/libX11.so.6
#6  0x00c94a74 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#7  0x00c69e65 in gdk_window_get_geometry () from /usr/lib/libgdk-x11-2.0.so.0
#8  0x00c68427 in gdk_screen_get_monitor_at_window ()
   from /usr/lib/libgdk-x11-2.0.so.0
#9  0x008d348c in ca_gtk_proplist_set_for_widget ()
   from /usr/lib/libcanberra-gtk.so.0
#10 0x008d3fa2 in ca_gtk_play_for_widget () from /usr/lib/libcanberra-gtk.so.0
#11 0x0031fd8e in ?? () from /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
#12 0x0042df71 in ?? () from /lib/libglib-2.0.so.0
#13 0x0042fcf8 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#14 0x00433370 in ?? () from /lib/libglib-2.0.so.0
#15 0x004337df in g_main_loop_run () from /lib/libglib-2.0.so.0
#16 0x0540b359 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x080984bf in main (argc=1, argv=0xbfe9b3b4) at main.c:1149




_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list

Re: 2.4.1 hangs frequently

by Pawel Salek-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/25/2009 12:09:04 AM, Geoffrey Leach wrote:
> Compiled from source. Gdb bt is attached, but I doubt if its of any
> use! So, I'd like to help if I can. Any suggestions?

> [cut]
> 3  0x0052bcc2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
> [cut]

I see this is this xcb problem that other people observed as well.

http://lists.freedesktop.org/archives/xcb/2008-August/003663.html
http://osdir.com/ml/freedesktop.xcb/2007-08/msg00006.html
http://www.virtualbox.de/ticket/2587
http://mail.gnome.org/archives/ekiga-devel-list/2007-December/msg00030.html

I have no idea how to approach the problem - I cannot reproduce it
myself. I have installed libxcb-1.2-4.fc11.x86_64 - which version do
you use?

Pawel
_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list

Re: 2.4.1 hangs frequently

by Geoffrey Leach-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/28/2009 01:57:16 PM, Pawel Salek wrote:

> On 08/25/2009 12:09:04 AM, Geoffrey Leach wrote:
> > Compiled from source. Gdb bt is attached, but I doubt if its of any
> > use! So, I'd like to help if I can. Any suggestions?
>
> > [cut]
> > 3  0x0052bcc2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
> > [cut]
>
> I see this is this xcb problem that other people observed as well.
>
> http://lists.freedesktop.org/archives/xcb/2008-August/003663.html
> http://osdir.com/ml/freedesktop.xcb/2007-08/msg00006.html
> http://www.virtualbox.de/ticket/2587
> http://mail.gnome.org/archives/ekiga-devel-list/2007-December/
> msg00030.html
>
> I have no idea how to approach the problem - I cannot reproduce it
> myself. I have installed libxcb-1.2-4.fc11.x86_64 - which version do
> you use?

libxcb-1.2-4.fc11.i586

_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list

Re: 2.4.1 hangs frequently

by Geoffrey Leach-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/28/2009 01:57:16 PM, Pawel Salek wrote:

> On 08/25/2009 12:09:04 AM, Geoffrey Leach wrote:
> > Compiled from source. Gdb bt is attached, but I doubt if its of any
> > use! So, I'd like to help if I can. Any suggestions?
>
> > [cut]
> > 3  0x0052bcc2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
> > [cut]
>
> I see this is this xcb problem that other people observed as well.
>
> http://lists.freedesktop.org/archives/xcb/2008-August/003663.html
> http://osdir.com/ml/freedesktop.xcb/2007-08/msg00006.html
> http://www.virtualbox.de/ticket/2587
> http://mail.gnome.org/archives/ekiga-devel-list/2007-December/
> msg00030.html
>
> I have no idea how to approach the problem - I cannot reproduce it
> myself.

It appears that there is a proposed (although unorthodox) patch for the
problem that has not been geting the attention that you and I might
think it deserves :-)

http://lists.freedesktop.org/archives/xcb/2008-August/003700.html

One thing that we might try is to build libxcb from source after
applying the proposed patch. However, looking at the balsa source, I
see that there are no direct calls to xcb_*, so this might be more
trouble than its worth. Any thoughts?


_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list

Re: 2.4.1 hangs frequently

by Pawel Salek-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/28/2009 11:41:10 PM, Geoffrey Leach wrote:

> On 08/28/2009 01:57:16 PM, Pawel Salek wrote:
> > On 08/25/2009 12:09:04 AM, Geoffrey Leach wrote:
> > > Compiled from source. Gdb bt is attached, but I doubt if its of  
> any
> > > use! So, I'd like to help if I can. Any suggestions?
> >
> > > [cut]
> > > 3  0x0052bcc2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
> > > [cut]
> >
> > I see this is this xcb problem that other people observed as well.
> >
> > http://lists.freedesktop.org/archives/xcb/2008-August/003663.html
> > http://osdir.com/ml/freedesktop.xcb/2007-08/msg00006.html
> > http://www.virtualbox.de/ticket/2587
> > http://mail.gnome.org/archives/ekiga-devel-list/2007-December/
> > msg00030.html
> >
> > I have no idea how to approach the problem - I cannot reproduce it
> > myself.
>
> It appears that there is a proposed (although unorthodox) patch for  
> the
> problem that has not been geting the attention that you and I might
> think it deserves :-)
>
> http://lists.freedesktop.org/archives/xcb/2008-August/003700.html
>
> One thing that we might try is to build libxcb from source after
> applying the proposed patch. However, looking at the balsa source, I
> see that there are no direct calls to xcb_*, so this might be more
> trouble than its worth. Any thoughts?

Well, we as in balsa developers can do that but what would that give  
us? I do not see hangs even without the patch! It is even less likely  
we will see it with the patch applied to xcb library. I understood from  
the discussion that the way xcb is used may give rise to races and lost  
events. It may be that gtk2 uses xcb in such a way but it difficult to  
prove.

Still, I am very interested to know how to reproduce the problem. Is  
there anything specific about your installation? which distribution do  
you use? What compilation options was balsa compiled with, and against  
which libraries? Are there any actions that are more likely to trigger  
the deadlock?

Pawel
_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list

Re: 2.4.1 hangs frequently

by Ildar Mulyukov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 03.09.2009 22:11:05, Pawel Salek wrote:

>> > On 08/25/2009 12:09:04 AM, Geoffrey Leach wrote:
>> > > [cut]
>> > > 3  0x0052bcc2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
>> > > [cut]
> Well, we as in balsa developers can do that but what would that give  
> us? I do not see hangs even without the patch! It is even less likely  
> we will see it with the patch applied to xcb library. I understood  
> from the discussion that the way xcb is used may give rise to races  
> and lost events. It may be that gtk2 uses xcb in such a way but it  
> difficult to prove.
>
> Still, I am very interested to know how to reproduce the problem. Is  
> there anything specific about your installation? which distribution  
> do you use? What compilation options was balsa compiled with, and  
> against which libraries? Are there any actions that are more likely  
> to trigger the deadlock?

Is it not
        http://bugzilla.gnome.org/show_bug.cgi?id=580230
?
Pawel, AFAIR you've already opined on it.

Ildar
--
Ildar  Mulyukov,  free SW designer/programmer/packager
=========================================
email: ildar@...
Jabber: ildar@...
ICQ: 4334029
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================
_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list