[Ntop-dev] Double free at shutdown in latest ntop
Burton Strauss
Burton at ntopSupport.com
Tue Mar 29 16:27:11 CEST 2005
Robbert - can you run it under gdb so we can figure out precisely which
statement that address maps to? Thanks!
-----Burton
-----Original Message-----
From: ntop-dev-bounces at unipi.it [mailto:ntop-dev-bounces at unipi.it] On Behalf
Of Robbert Kouprie
Sent: Tuesday, March 29, 2005 6:40 AM
To: ntop-dev at Unipi.IT
Subject: [Ntop-dev] Double free at shutdown in latest ntop
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
_______________________________________________
Ntop-dev mailing list
Ntop-dev at unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
More information about the Ntop-dev
mailing list