gap-dev-discuss
[Top][All Lists]
Advanced

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

Re: [Gap-dev-discuss] Stop GNUMail from segfaulting on Quit


From: Sebastian Reitenbach
Subject: Re: [Gap-dev-discuss] Stop GNUMail from segfaulting on Quit
Date: Mon, 03 Sep 2012 15:05:32 +0200
User-agent: SOGoMail 1.3.18

Riccardo Mottola <address@hidden> wrote: 
> Hi,
> 
> On 09/02/12 19:27, Sebastian Reitenbach wrote:
> > Hi,
> >
> > I was wondering why GNUMail was always segfaulting for me when I quit 
> > GNUMail, and leaving a core dump. With my research I found, that only 
> > happens when in the Preferences I change the View from
> > the default floating windows to anything else.
> >
> > In GNUMail.m when it goes to terminate the application, it checks if 
> > it has the Floating view, and if yes
> > then closing the MailboxViewer window. If not, then it is not doing it.
> >
> > Since the other views don't work. At least even when I enable them, I 
> > always get the floating windows
> > view, this then breaks the termination process, and already freed 
> > Instances are released again,
> > leading to the segfaults.
> >
> > Does for anyone else different view types than the floating windows 
> > actually work? I searched a bit
> > in the code, but did not found out, where those get used...
> >
> > Attached patch doesn't do the check anymore, and closes the 
> > MailboxViewer window unconditionally,
> > preventing the crash for me.
> >
> I played with the setting on Mac to see how it behaves.
> Apparently, there, only the "standard" setting is supproted: on Mac it 
> is the drawer, on gnustep it is floating (where sas a drawer is anyway a 
> floating panel on gnustep, so the distinction is possibly useless).  On 
> mac, when other views are selected I can't "open" the mailboxes view at 
> all, so I reverted However changing preferences, re-opening the 
> application seems to work fine.

How is it for you on Linux or any other GNUstep based environment?
Does GNUMail crash on you with some other View than the floating view,
when you close it with not having the Mailboxes Window open?
And does the patch then helps?

cheers,
Sebastian





reply via email to

[Prev in Thread] Current Thread [Next in Thread]