[Ntop-dev] Double free at shutdown in latest ntop
Robbert Kouprie
robbert at bagijnhof.tudelft.nl
Tue Mar 29 14:39:32 CEST 2005
Hi,
FYI,
Once in a few times I get a double free error from glibc with the latest
ntop CVS (picked up this morning). This is RedHat Enterprise Linux AS 4.0
with kernel 2.6.9-5.0.3.ELsmp and glibc 2.3.4-2 (both standard).
It happens when I do a shutdown from the webinterface, and from the log it
seems to be located in the FREE_HOST routine.
This is ntop with virtual Netflow device.
Mar 29 14:30:53 ntop2 ntop[21809]: [MSGID0538544] Shutdown request has
been received
Mar 29 14:30:53 ntop2 ntop[21809]: [MSGID8462800] CLEANUP: ntop caught
signal 0
Mar 29 14:30:53 ntop2 ntop[21809]: [MSGID8696238] CLEANUP: Cleaning up,
set FLAG_NTOPSTATE_TERM
Mar 29 14:30:53 ntop2 ntop[21809]: [MSGID8905482] SIGPIPE: Handled
(ignored) 0 errors
Mar 29 14:30:53 ntop2 ntop[21809]: [MSGID8844426] CLEANUP: Locking purge
mutex (may block for a little while)
Mar 29 14:30:53 ntop2 ntop[21809]: [MSGID8814988] CLEANUP: Locked purge
mutex, continuing shutdown
Mar 29 14:30:53 ntop2 ntop[21809]: [MSGID8638895] FREE_HOST: Start, 2
device(s)
Mar 29 14:30:53 ntop2 ntop[21809]: *** glibc detected *** double free or
corruption (out): 0xb3f2cbd0 ***
After which ntop dies.
Regards,
Robbert
More information about the Ntop-dev
mailing list