Hi,

Suddenly I'm experiencing segfaults. This is ntop CVS on Redhat Enterprise 4. I am using Netflow. For some reason I expect a change in network configuration, but still ntop shouldn't segfault.

I collected 2 backtraces: one from ntop CVS from April 4th, and one from CVS current as of today.

Hope you can see what's wrong.

Regards,
Robbert

cvs from April 4th:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1300034640 (LWP 19298)]
0x003e5cd6 in malloc_consolidate () from /lib/tls/libc.so.6
(gdb) bt
#0 0x003e5cd6 in malloc_consolidate () from /lib/tls/libc.so.6
#1 0x003e6dd3 in _int_malloc () from /lib/tls/libc.so.6
#2 0x003e8ba1 in malloc () from /lib/tls/libc.so.6
#3 0x003deaf3 in open_memstream () from /lib/tls/libc.so.6
#4 0x0044795e in vsyslog () from /lib/tls/libc.so.6
#5 0x0044800f in syslog () from /lib/tls/libc.so.6
#6 0x0101755d in traceEvent (eventTraceLevel=2, file=0x10247b5 "hash.c", line=836,
format=0x1024a58 "Error: bad magic number (expected=%d/real=%d) [deviceId=%d]") at util.c:2665
#7 0x00ff576b in lookupHost (hostIpAddress=0xb282de00, ether_addr=0xb282e2c0 "", vlanId=-1, checkForMultihoming=1 '\001',
forceUsingIPaddress=0 '\0', actualDeviceId=0) at hash.c:836
#8 0x01000ae8 in processIpPkt (bp=0xb282e31e "E", h=0xb2830390, length=1460, ether_src=0xb282e2c6 "", ether_dst=0xb282e2c0 "",
actualDeviceId=0, vlanId=-1) at pbuf.c:1086
#9 0x010065e0 in processPacket (_deviceId=0x0, h=0xb2830390, p=0xb282e310 "") at pbuf.c:3480
#10 0x010092e1 in queuePacket (_deviceId=0x0, h=0xb2830390, p=0x8a0acc2 "") at pbuf.c:2287
#11 0x006854ae in ?? () from /usr/lib/libpcap.so.0.8.3
#12 0x00000000 in ?? ()


CVS current:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1286157392 (LWP 20499)]
0x003926ef in lookupHost (hostIpAddress=0xb3569de0, ether_addr=0xb356a2c0 "", vlanId=-1, checkForMultihoming=1 '\001',
forceUsingIPaddress=0 '\0', actualDeviceId=0) at hash.c:835
835 if(el->magic != CONST_MAGIC_NUMBER) {
(gdb) bt
#0 0x003926ef in lookupHost (hostIpAddress=0xb3569de0, ether_addr=0xb356a2c0 "", vlanId=-1, checkForMultihoming=1 '\001',
forceUsingIPaddress=0 '\0', actualDeviceId=0) at hash.c:835
#1 0x0039daa0 in processIpPkt (bp=0xb356a31e "E", h=0xb356c390, length=1448, ether_src=0xb356a2c6 "", ether_dst=0xb356a2c0 "",
actualDeviceId=0, vlanId=-1) at pbuf.c:1086
#2 0x003a36b0 in processPacket (_deviceId=0x0, h=0xb356c390, p=0xb356a310 "") at pbuf.c:3525
#3 0x003a6429 in queuePacket (_deviceId=0x0, h=0xb356c390, p=0x948ad22 "") at pbuf.c:2300
#4 0x002634ae in ?? () from /usr/lib/libpcap.so.0.8.3
#5 0x00000000 in ?? ()
(gdb)
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to