Robbert - can you run it under gdb so we can figure out precisely which
statement that address maps to?  Thanks!
-----Burton 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Robbert Kouprie
Sent: Tuesday, March 29, 2005 6:40 AM
To: [email protected]
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
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to