8 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Re: How to debug a br...
FromSent OnAttachments
David BorehamDec 9, 2002 12:11 pm 
Sam VarshavchikDec 9, 2002 2:39 pm 
Johannes ErdfeltDec 9, 2002 3:01 pm 
David BorehamDec 9, 2002 3:09 pm 
David BorehamDec 9, 2002 4:28 pm 
David BorehamDec 10, 2002 7:54 pm 
Sam VarshavchikDec 10, 2002 8:40 pm 
David BorehamDec 10, 2002 9:27 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Re: How to debug a broken maildrop configuration ?Actions...
From:David Boreham (davi@boreham.org)
Date:Dec 9, 2002 4:28:41 pm
List:net.sourceforge.lists.courier-maildrop

This usually happens when maildrop is compiled with non-standard, aggressive optimization flags.

Ran the thing in gdb. The sigsegv occurs because some delete operator somewhere is passing a bad pointer to free(). I found a post via a google search where someone else had seen the same syndrome but the segv went away when the compiled without -O2 (the distribution .spec file seems to specify -O2). Sometimes things like this _are_ caused by optimizer bugs, and I'm using gcc 2.96 which is know to contain optimizer bugs.

I'll post here if I ever get the issue completely debugged. I suspect it's a side effect of the process exiting with some error, which it doesn't get time to report before the segv trips it up.