xfdesktop coreing

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Mon Aug 23 13:04:48 CEST 2004


Brian J. Tarricone wrote:
> Antonio SJ Musumeci wrote:
> 
>> the stack trace appears to be corrupted. I'm getting 573 levels. 
>> bottom is xfce-kiosk_free(kiosk = 0x0) at xfce-kiosk.c:195 and the top is
>> g_hash_table_insert(). everything else is nothing.
>>
> benny,
> 
> does xfce_kiosk_new() return NULL if the kiosk file doesn't exist?  
> either way, do the functions do any kind of checking for passing a NULL 
> value for an XfceKiosk?
> 
> granted, this crash might not have anything to do with the kiosk code 
> (or my usage of it), since the stack appears to have been smashed to 
> bits...

xfce_kiosk_new() returns NULL if either getpwuid() or getgroups() 
failed, which shouldn't normally. We could change it to handle this case 
gracefully, tho.

Benedikt



More information about the Xfce4-dev mailing list