panel crashed, segmentation fault

Benedikt Meurer Benedikt.Meurer at unix-ag.uni-siegen.de
Wed Mar 12 17:34:30 CET 2003


On Wed, 12, Mar 2003, Jasper Huijsmans wrote:

> On Wed, 12 Mar 2003 14:44:38 +0100
> Jasper Huijsmans <jasper at moongroup.com> wrote:
> 
> > On Wed, 12 Mar 2003 15:17:20 +0200
> > Voicu Liviu <pacman at huji.ac.il> wrote:
> > 
> > > Is there any problem with the panel?
> > > I crashes when I do QUIT ( want to exit xfce4 )
> > > Then in console I see:
> > > :line 45, panel crashed, segmentation fault...bla bla, please report
> > > this to xfce4-dev at moongroup.com.........
> > > 
> > > XFce 4, version 030312
> > > ( last compilation was today )
> > > 
> > > Any clue?
> > 
> > 
> > Thanks, not yet, but I see it too. Apparently the panel is trying to
> > free already freed memory, or NULL or something. Anyway, it is in the
> > cleanup functions.
> > 
> > I'll try to find out.
> > 
> 
> hmm, Olivier, the segfault is in mcs_client_destroy(). From gdb:
> 
> #4  0x406099b0 in mcs_client_destroy (client=0x809f390) at
> #mcs-client.c:642
> 642	mcs_client_delete_channel(client,
> 		client->channels->channel->channel_name);
> (gdb) print *client
> $1 = {display = 0x808ae68, screen = 0, notify = 0x8055170 <notify_cb>, 
>   watch = 0x8055200 <watch_cb>, cb_data = 0x0, mcs_manager_window =
> 4194306,   manager_atom = 235, selection_atom = 234, channels = 0x0}
> 
> It seems the channels list is NULL in the client. Maybe later
> today or tonight I'll find some time to look at it.

I might have introduced the bug yesterday (although the panel didn'T
crash for me). I'll look at that later.

regards,
Benedikt

-- 
Those who do not understand Unix are condemned to reinvent it, poorly.
    -- Henry Spencer



More information about the Xfce4-dev mailing list