-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Is anyone successfully running ntop 3.1 as a netflow collector on freebsd 5.3-stable? Mine was running great for about a week and is now crashing/segfaulting. The last change I made was to add 2 more flow collector interfaces (for a total of less than 10). Even after removing them the problem persists. Is gdm the problem? I'm not an experienced enough programmer to be able to tell. I posted this to the ntop-users list a few days ago as well.
Here is the pertinent gdb info:
(started with -K -u root -w 0 -W 3000 --ipv4)
Wed Jan 19 07:30:58 2005 CHKVER: Version file is from 'version.ntop.org'
Wed Jan 19 07:30:58 2005 CHKVER: as of date is '2004-12-01T17:00:00'
Wed Jan 19 07:30:58 2005 CHKVER: This version of ntop is the CURRENT stable version
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 5 (LWP 100057)] 0x29567a2c in get_elem () from /usr/local/lib/libgdbm.so.3
(gdb) list
259 /* ************************************ */
260
261 /* That's the meat */
262 #ifdef WIN32
263 int ntop_main(int argc, char *argv[]) {
264 #else
265 int main(int argc, char *argv[]) {
266 #endif
267 int i, rc, userSpecified;
268 char ifStr[196] = {0};
(gdb) info stack
#0 0x29567a2c in get_elem () from /usr/local/lib/libgdbm.so.3
#1 0x29567402 in _gdbm_alloc () from /usr/local/lib/libgdbm.so.3
#2 0x29565e34 in gdbm_store () from /usr/local/lib/libgdbm.so.3
#3 0x2816c386 in ntop_gdbm_store (g=0x807a500, d={dptr = 0xbfabdec8 "3232274012", dsize = 11}, v=
{dptr = 0xbfabdef8 "192.168.150.92", dsize = 72}, r=1) at util.c:4186
#4 0x2813fb24 in dequeueAddress (notUsed=0x0) at address.c:483
#5 0x29334a8d in pthread_create () from /usr/lib/libpthread.so.1
#6 0x293eec5f in _ctx_start () from /lib/libc.so.5
(gdb) print deviceId No symbol "deviceId" in current context.
(gdb) bt full
#0 0x29567a2c in get_elem () from /usr/local/lib/libgdbm.so.3
No symbol table info available.
#1 0x29567402 in _gdbm_alloc () from /usr/local/lib/libgdbm.so.3
No symbol table info available.
#2 0x29565e34 in gdbm_store () from /usr/local/lib/libgdbm.so.3
No symbol table info available.
#3 0x2816c386 in ntop_gdbm_store (g=0x807a500, d={dptr = 0xbfabdec8 "3232274012", dsize = 11}, v=
{dptr = 0xbfabdef8 "192.168.150.92", dsize = 72}, r=1) at util.c:4186
rc = -1079255304
#4 0x2813fb24 in dequeueAddress (notUsed=0x0) at address.c:483
theAddr = "��\226\\", '\0' <repeats 12 times>
family = 2
size = 4
error_num = 1
addr = {hostFamily = 2, addr = {_hostIp4Address = {s_addr = 3232274012}, _hostIp6Address = {__u6_addr = {
__u6_addr8 = "\\\226��", '\0' <repeats 11 times>, __u6_addr16 = {38492, 49320, 0, 0, 0, 0, 0, 0},
__u6_addr32 = {3232274012, 0, 0, 0}}}}}
key_data = {dptr = 0x0, dsize = 4}
data_data = {dptr = 0x873ecb0 "\\\226��63.240.76.4", dsize = 4}
#5 0x29334a8d in pthread_create () from /usr/lib/libpthread.so.1
No symbol table info available.
#6 0x293eec5f in _ctx_start () from /lib/libc.so.5
No symbol table info available.
(gdb)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
iD8DBQFB7mR3FOm2Sy5bRPQRAs6JAJ4tKHGL8fcnKP0a7biBGj2NhwaLpACfQZMN MycI9j/r5izCTBnLxqQSG0w= =grX2 -----END PGP SIGNATURE-----
_______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
