Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] double free or corruption

2007-01-23 by manu@netbsd.org

Nerijus Baliunas <nerijus@...> wrote:

> I am using 3.1.4, but I got crashes earlier too. Decided to troubleshoot
> it. How can I run milter-greylist from gdb? I tried gdb ./milter-greylist,
> r -P /var/milter-greylist/milter-greylist.pid -p
> /var/milter-greylist/milter-greylist.sock -D, but it stops after the first
> email (when it wants to print "(unknown id): addr
> superafu.de[81.169.170.70] from <xxx@...> to <xxx@...> delayed for
> 00:02:00 (ACL 103)" I assume).

How does it stops? 

> So I just ran ./milter-greylist -P
> /var/milter-greylist/milter-greylist.pid -p
> /var/milter-greylist/milter-greylist.sock -D After about half a day it
> crashed: *** glibc detected *** double free or corruption (!prev):
> 0x0a5441a8 *** Aborted
> 
> How can I troubleshoot it?

Do you have a core dump? If you do, you can open it from gdb. Issue help
target to discover the command to open a core. On my favourite system, I
do this like this:

$ gdb milter-greylist
(gdb) target netbsd-core milter-greylist.core

And then I can run bt to see where it crashed.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.