[Pkg-dspam-misc] Bug#687247: free of illegal pointer

Erwan David erwan at rail.eu.org
Sat Sep 22 09:15:14 UTC 2012


On 21/09/12 12:12, Thomas Preud'homme wrote:
> tags 687247 + moreinfo
> thanks
> 
> Le mardi 11 septembre 2012 09:04:04, Erwan David a écrit :
>> I get following error in the log
>>
>> Sep 11 08:41:54 regulateur dspam[11871]: *** glibc detected ***
>> /usr/bin/dspam: free(): invalid pointer: 0x00007fff55974378 ***
>>
>> This look pretty serious to me, maybe some kind of memory corruption.
> 
> Hi Erwan,
> 
> can you reproduce the bug by running dspam manually? If yes, could you install 
> the dspam-dbg package and get a backtrace?
> 
> To get the backtrace with gdb you must first run dspam inside gdb:
> 
> "gdb --args dspam <arguments>" where <argument> is to be replaced by the 
> arguments you give to dspam usually
> 
> Then, enter "run" to launch the program and when the bug happens you need to 
> enter "bt" which will display the stacktrace. This information would be 
> helpful to debug the problem.
> 
> Best regards,
> 
> Thomas Preud'homme
> 
Nope, I cannot reproduce Looking from the logs, it seems a mail was
presented during a service stop and a problem with the postgresql server

Sep 11 08:39:51 regulateur dspam[11805]: Received signal. Waiting for
processing threads to exit.
Sep 11 08:39:57 regulateur postfix/lmtp[14160]: 1D11E19E0103:
to=<erwan at rail.eu.org>,
relay=mail.rail.eu.org[/var/run/dspam/dspam.sock], delay=4850,
delays=4772/0.75/0
.29/76, dsn=4.4.2, status=deferred (lost connection with
mail.rail.eu.org[/var/run/dspam/dspam.sock] while sending end of data --
message may be sent more than once)
Sep 11 08:39:57 regulateur postfix/lmtp[14161]: 1DF2719E0F51:
to=<erwan at rail.eu.org>,
relay=mail.rail.eu.org[/var/run/dspam/dspam.sock], delay=30188,
delays=30111/0.24
/0.36/76, dsn=4.4.2, status=deferred (lost connection with
mail.rail.eu.org[/var/run/dspam/dspam.sock] while sending end of data --
message may be sent more than once)
Sep 11 08:40:11 regulateur dspam[11871]: query error: FATAL:
terminating connection due to administrator command#012SSL connection
has been closed unexpectedly#012: s
ee sql.errors for more details
Sep 11 08:40:12 regulateur dspam[11871]: bailing on error -2
Sep 11 08:41:54 regulateur dspam[11871]: *** glibc detected ***
/usr/bin/dspam: free(): invalid pointer: 0x00007fff55974378 ***
Sep 11 08:41:55 regulateur dspam[14652]: could not connect to server:
Connection refused#012#011Is the server running on host "127.0.0.1" and
accepting#012#011TCP/IP connections on port 5432?
Sep 11 08:41:55 regulateur dspam[14652]: _ds_pref_load: unable to
initialize tools context
Sep 11 08:41:55 regulateur dspam[14652]: could not connect to server:
Connection refused#012#011Is the server running on host "127.0.0.1" and
accepting#012#011TCP/IP connections on port 5432?



More information about the Pkg-dspam-misc mailing list