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: Riccardo Mottola
Subject: Re: [Gap-dev-discuss] Stop GNUMail from segfaulting on Quit
Date: Mon, 03 Sep 2012 14:09:11 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120826 Firefox/15.0 SeaMonkey/2.12

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.

Riccardo






reply via email to

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