Panel crash on netbsd

Benedikt Meurer benedikt.meurer at
Sun Sep 10 12:15:56 CEST 2006

Jasper Huijsmans wrote:
>>>It looks like some sort of race condition, but I have no idea how to
>>>solve it. Maybe someone should look at the code, I may have done
>>>something stupid.
>>It's not necessarily obvious whats going on with the menu. But have to
>>tried to use g_object_add_weak_pointer() to automatically reset the
>>variable when the menu is destroyed?
> I'll try that.
>>On the other hand, a quick look at the source tells me that this is
>>hardly the problem, since the panel is crashing on startup.
> Unless g_new0 is broken, I do think this is happening. The menu is
> also recreated when the icon theme changes, and I bellieve this signal
> is also emitted on startup. Anyway, that's my current hypothesis about
> what is going on...

Maybe just add several g_message()s per interesting function (one when
entering the function, one when leaving), and let Martti try. That will
atleast give some reliable info about which and when functions are called.

>         Jasper


More information about the Xfce4-dev mailing list