Re: 2.4.1 hangs frequently



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


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