Over the last several years nTop will die fairly often with signal 11
recorded in the log.  I've been meaning to debug this for a long time,
but just haven't.  Recently I increased the level of detail in rrd to
"full" and now it seems to crash more often.  Could be totally unrelated
- not sure, but it went from crashing once a week to once an hour - or
sometimes once every few minutes.

 

This is 3.2.1 compiled from CVS on FreeBSD 6.0.   The BSD kernel was
compiled with IPv6 removed and perhaps some other 'trivial" tweaks - it
was a long time ago I can't remember.  No changes to ntop source that I
remember.

 

Also note I'm running exclusively netflow and I'm running (2) nTop
instances on the same box.  I had similar problems (sig11) when running
a single instance as well, but never debugged it so can't say for sure
what the issue was.

 

It crashes pretty often now so if the attached file doesn't contain
enough info just let me know what you need and maybe some instructions
on how to get it and I'll do it.    Also, there are two separate crash
events in this file, both segfault.

 

I'm not a coder and C+ class was a LONG time ago and MUCH more basic
than some of the source I reviewed.  I'm gonna try to battle my way
through this, but any help would be greatly appreciated!

 

Thanks!

 

Gary

 






<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."
</font>

Starting program: /usr/local/bin/ntop -i none -u root 
--disable-instantsessionpurge --instance Field.Office.Internet -P 
/usr/local/var/ntop-FieldInet -o -L -w 3001 -x 32768 -X 65536 -m 
10.0.0.0/8,192.168.0.0/16,12.154.38.0/23 -K
warning: Unable to get location for thread creation breakpoint: generic error


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x8ac9800 (LWP 100056)]
_getNextHost (actualDeviceId=5, host=0xb622000, file=0x281966ca "address.c",
    line=54) at util.c:97
97      util.c: No such file or directory.
        in util.c


(gdb) bt
#0  _getNextHost (actualDeviceId=5, host=0xb622000,
    file=0x281966ca "address.c", line=54) at util.c:97
#1  0x2814e4e0 in updateHostNameInfo (addr=
              {hostFamily = 2, addr = {_hostIp4Address = {s_addr = 168493851}, 
_hostIp6Address = {__u6_addr = {__u6_addr8 = "\033\003\v\n", '\0' <repeats 11 
times>, __u6_addr16 = {795, 2571, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {168493851, 
0, 0, 0}}}}}, symbolic=0xbeff2c00 "10.11.3.27", type=19) at address.c:54
#2  0x2814f414 in ipaddr2str (hostIpAddress=
              {hostFamily = 2, addr = {_hostIp4Address = {s_addr = 168493851}, 
_hostIp6Address = {__u6_addr = {__u6_addr8 = "\033\003\v\n", '\0' <repeats 11 
times>, __u6_addr16 = {795, 2571, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {168493851, 
0, 0, 0}}}}}, updateHost=1) at address.c:876
#3  0x28156702 in _lookupHost (hostIpAddress=0xbeff3070, ether_addr=0x0,
    vlanId=65535, checkForMultihoming=0 '\0', forceUsingIPaddress=1 '\001',
    actualDeviceId=5, file=0x28cb06ee "netflowPlugin.c", line=529)
    at hash.c:1112
#4  0x28ca9def in handleGenericFlow (recordActTime=541710663,
    recordSysUpTime=1556731488, record=0xbeff4040, deviceId=5)
    at netflowPlugin.c:529
#5  0x28cab6d0 in netflowMainLoop (_deviceId=0x5) at netflowPlugin.c:1316
#6  0x288daab1 in pthread_create () from /usr/lib/libpthread.so.2
#7  0x28b3d45f in _ctx_start () from /lib/libc.so.6
(gdb) bt full
#0  _getNextHost (actualDeviceId=5, host=0xb622000,
    file=0x281966ca "address.c", line=54) at util.c:97
No locals.
#1  0x2814e4e0 in updateHostNameInfo (addr=
              {hostFamily = 2, addr = {_hostIp4Address = {s_addr = 168493851}, 
_hostIp6Address = {__u6_addr = {__u6_addr8 = "\033\003\v\n", '\0' <repeats 11 
times>, __u6_addr16 = {795, 2571, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {168493851, 
0, 0, 0}}}}}, symbolic=0xbeff2c00 "10.11.3.27", type=19) at address.c:54
        i = 5
#2  0x2814f414 in ipaddr2str (hostIpAddress=
              {hostFamily = 2, addr = {_hostIp4Address = {s_addr = 168493851}, 
_hostIp6Address = {__u6_addr = {__u6_addr8 = "\033\003\v\n", '\0' <repeats 11 
times>, __u6_addr16 = {795, 2571, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {168493851, 
0, 0, 0}}}}}, updateHost=1) at address.c:876
        buf = 
"10.11.3.27\000¾\001æ\027(`'b\v\000\000\000\000ì\000\000\000¶Ê\027(ÍÌÌÌ\000\000\000\000À\004\033(àí\032(àí\032(\n\000\000\000h,ÿ¾4)\030("
        type = 19
#3  0x28156702 in _lookupHost (hostIpAddress=0xbeff3070, ether_addr=0x0,
    vlanId=65535, checkForMultihoming=0 '\0', forceUsingIPaddress=1 '\001',
    actualDeviceId=5, file=0x28cb06ee "netflowPlugin.c", line=529)
    at hash.c:1112
        idx = 5901
        isMultihomed = 0
---Type <return> to continue, or q <return> to quit---
        el = (HostTraffic *) 0xb622000
        buf = 
" \224\005\b´$\217(x-ÿ¾¯v\216( \224\005\b´$\217(\210-ÿ¾òR\216(\000\230¬\bH\230¬\b\017\000\000\000ä$¶(\000·a\vä$¶(\000·a\vë\033µ(\000·a\v\000\000\000\000\\\000\000\000\000·a\v\000\225\005\b´$\217(¸-ÿ¾àí\032(\000\000\000\000\\\000\000\000¸-ÿ¾àí\032(\000x\001\vP\000\000\000\030.ÿ¾dq\027(\000\000\000\000\000x\001\vÜ\v\000\000\000\030`\vP\000\000\000(\000\000\00000ÿ¾\000\000\000\000\000\000\000\000\005\000\000\000&/ÿ¾\000\030`\vb\001\006\000\000Æ`\v\000\000P\000Ü\v\000\000,\030`\v$j\002\v"...
        useIPAddressForSearching = 1
        symEthName = 0x0
        ethAddr = 0xfff80000 <Error reading address 0xfff80000: Bad address>
        setSpoofingFlag = 0 '\0'
        numRuns = 0
        hostFound = 0
        updateIPinfo = 0
#4  0x28ca9def in handleGenericFlow (recordActTime=541710663,
    recordSysUpTime=1556731488, record=0xbeff4040, deviceId=5)
    at netflowPlugin.c:529
        ratio = 4294443008
        len = 2106
        theFlags = '\0' <repeats 60 times>, "\211\000\217(", '\0' <repeats 12 
times>, 
"¯v\216(\220\224\005\b´$\217(X1ÿ¾òR\216(\000\230¬\bH\230¬\b\017\000\000\000Lä\205\t\000\230¬\bH\230¬\b\000N¼\t\211\000\217(\000\000\000\000\000\000\000\00---Type
 <return> to continue, or q <return> to quit---
0\000N¼\t¯v\216(À\206µ\t´$\217(\2101ÿ¾û_\216(\000\230¬\bH\230¬\b\2101ÿ¾®\\\216(\000\000\000\000\000\000\000\000Hä\205\tàí\032(",
 '\0' <repeats 12 times>, 
"àí\032(\005\000\000\000¸¾\037\005È1ÿ¾©¶\027(Lä\205\t\001\000\000\000È1ÿ¾\001¶\027(Lä\205\t\000\000\000\000\000\000\000\000Lä"...
        srcPseudoLocal = 1 '\001'
        dstPseudoLocal = 0 '\0'
        srcAS = 0
        dstAS = 0
        a = {s_addr = 168493851}
        b = {s_addr = 168494079}
        addr1 = {hostFamily = 2, addr = {_hostIp4Address = {
      s_addr = 168494079}, _hostIp6Address = {__u6_addr = {
        __u6_addr8 = "ÿ\003\v\n", '\0' <repeats 11 times>, __u6_addr16 = {
          1023, 2571, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {168494079, 0, 0, 0}}}}}
        addr2 = {hostFamily = 2, addr = {_hostIp4Address = {
      s_addr = 168493851}, _hostIp6Address = {__u6_addr = {
        __u6_addr8 = "\033\003\v\n", '\0' <repeats 11 times>, __u6_addr16 = {
          795, 2571, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {168493851, 0, 0, 0}}}}}
        srcHost = (HostTraffic *) 0xbeff3090
        dstHost = (HostTraffic *) 0xafda000
        sport = 137
        dport = 137
        proto = 17
---Type <return> to continue, or q <return> to quit---
        newSession = 0
        ctr = {value = 40, modified = 0 '\0'}
        skipSRC = 0
        skipDST = 0
        h = {ts = {tv_sec = 1205422368, tv_usec = 0}, caplen = 0, len = 0}
        tp = {th_sport = 56331, th_dport = 20480, th_seq = 0, th_ack = 0,
  th_x2 = 0, th_off = 0, th_flags = 20 '\024', th_win = 0, th_sum = 0,
  th_urp = 0}
        session = (IPSession *) 0xb60c600
        firstSeen = 1205422302
        lastSeen = 1205422361
        initTime = 134582416
#5  0x28cab6d0 in netflowMainLoop (_deviceId=0x5) at netflowPlugin.c:1316
        i = 8
        numFlows = 21
        netflowMask = {__fds_bits = {32768, 0 <repeats 31 times>}}
        rc = 1032
        len = 16
        buffer = "\000\005\000\025`ÖÉ\\GÙI 
#Y1\210\001¡\2044\000\000\000\000\n\v\003\030\f\232&±\fW\205y\000\022\000\001\000\000\000\001\000\000\000Ý`Ötì`Ötì\006\217\001»\000\030\006\000\000\000\000\000\030\000\000\000\f\232&±\n\v\003\030\n\v\003\030\000\001\000\022\000\000\000\001\000\000\000¡`Öu0`Öu0\001»\006\220\000\030\006\000\000\000\000\000\000\030\000\b\n\v\003\030\f\232&±\fW\205y\000\022\0---Type
 <return> to continue, or q <return> to quit---
00\001\000\000\000\001\000\000\000(`Öv\004`Öv\004\006\220\001»\000\020\006\000\000\000\000\000\030\000\000\000\f\232&±\n\v\003\030\n\v\003\030\000\001\000\022\000\000\000\001\000\000\000(`Öv``Öv`"...
        fromHost = {sin_len = 16 '\020', sin_family = 2 '\002',
  sin_port = 45009, sin_addr = {s_addr = 168494024},
  sin_zero = "\000\000\000\000\000\000\000"}
#6  0x288daab1 in pthread_create () from /usr/lib/libpthread.so.2
No symbol table info available.
#7  0x28b3d45f in _ctx_start () from /lib/libc.so.6
No symbol table info available.
(gdb)
(gdb)
(gdb)


(gdb) list
1316    netflowPlugin.c: No such file or directory.
        in netflowPlugin.c


(gdb) info threads
[New Thread 0xafe3000 (sleeping)]
[New Thread 0x9991000 (runnable)]
[New Thread 0x8ac9e00 (sleeping)]
[New Thread 0x8ac9c00 (sleeping)]
[New Thread 0x8ac9a00 (runnable)]
[New Thread 0x8ac9600 (sleeping)]
[New Thread 0x8ac9400 (sleeping)]
[New Thread 0x8ac9200 (sleeping)]
[New Thread 0x8ac9000 (sleeping)]
[New Thread 0x8060e00 (runnable)]
[New Thread 0x8060c00 (runnable)]
[New Thread 0x8060a00 (sleeping)]
[New Thread 0x8060800 (sleeping)]
[New Thread 0x8060600 (sleeping)]
[New Thread 0x8060200 (LWP 100063)]
  18 Thread 0x8060200 (LWP 100063)  0x288ef277 in pthread_testcancel ()
   from /usr/lib/libpthread.so.2
  17 Thread 0x8060600 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  16 Thread 0x8060800 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  15 Thread 0x8060a00 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  14 Thread 0x8060c00 (runnable)  0x28ae0e73 in kevent () from /lib/libc.so.6
  13 Thread 0x8060e00 (runnable)  0x28ae20b3 in select () from /lib/libc.so.6
  12 Thread 0x8ac9000 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  11 Thread 0x8ac9200 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  10 Thread 0x8ac9400 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  9 Thread 0x8ac9600 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  8 Thread 0x8ac9a00 (runnable)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  7 Thread 0x8ac9c00 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  6 Thread 0x8ac9e00 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libpthread.so.2
  5 Thread 0x9991000 (runnable)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  4 Thread 0xafe3000 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
* 3 Thread 0x8ac9800 (LWP 100056)  _getNextHost (actualDeviceId=5,
    host=0xb622000, file=0x281966ca "address.c", line=54) at util.c:97
  2 Thread 0x8060000 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2


(gdb) thread 3
[Switching to thread 3 (Thread 0x8ac9800 (LWP 100056))]#0  _getNextHost (
    actualDeviceId=5, host=0xb622000, file=0x281966ca "address.c", line=54)
    at util.c:97
97      util.c: No such file or directory.
        in util.c


(gdb) info stack
#0  _getNextHost (actualDeviceId=5, host=0xb622000,
    file=0x281966ca "address.c", line=54) at util.c:97
#1  0x2814e4e0 in updateHostNameInfo (addr=
              {hostFamily = 2, addr = {_hostIp4Address = {s_addr = 168493851}, 
_hostIp6Address = {__u6_addr = {__u6_addr8 = "\033\003\v\n", '\0' <repeats 11 
times>, __u6_addr16 = {795, 2571, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {168493851, 
0, 0, 0}}}}}, symbolic=0xbeff2c00 "10.11.3.27", type=19) at address.c:54
#2  0x2814f414 in ipaddr2str (hostIpAddress=
              {hostFamily = 2, addr = {_hostIp4Address = {s_addr = 168493851}, 
_hostIp6Address = {__u6_addr = {__u6_addr8 = "\033\003\v\n", '\0' <repeats 11 
times>, __u6_addr16 = {795, 2571, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {168493851, 
0, 0, 0}}}}}, updateHost=1) at address.c:876
#3  0x28156702 in _lookupHost (hostIpAddress=0xbeff3070, ether_addr=0x0,
    vlanId=65535, checkForMultihoming=0 '\0', forceUsingIPaddress=1 '\001',
    actualDeviceId=5, file=0x28cb06ee "netflowPlugin.c", line=529)
    at hash.c:1112
#4  0x28ca9def in handleGenericFlow (recordActTime=541710663,
    recordSysUpTime=1556731488, record=0xbeff4040, deviceId=5)
    at netflowPlugin.c:529
#5  0x28cab6d0 in netflowMainLoop (_deviceId=0x5) at netflowPlugin.c:1316
#6  0x288daab1 in pthread_create () from /usr/lib/libpthread.so.2
#7  0x28b3d45f in _ctx_start () from /lib/libc.so.6
(gdb)



Starting program: /usr/local/bin/ntop -i none -u root 
--disable-instantsessionpurge --instance Field.Office.Internet -P 
/usr/local/var/ntop-FieldInet -o -L -w 3001 -x 32768 -X 65536 -m 
10.0.0.0/8,192.168.0.0/16,12.154.38.0/23 -K
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100100]
Thu Mar 13 10:05:08 2008  NOTE: Interface merge enabled by default
[New Thread 0x8060000 (LWP 100069)]
Thu Mar 13 10:05:09 2008  Initializing gdbm databases
Thu Mar 13 10:05:09 2008  **WARNING** Cannot find per-instance logo 
'Field.Office.Internet_ntop_logo.gif', ignored...
[New Thread 0x8ac9c00 (LWP 100093)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x8ac9c00 (LWP 100093)]
handleIP (port=138, srcHost=0xe76c000, dstHost=0xd7bd800, _length=687,
    isPassiveSess=49152, isVoipSess=49152, p2pSessionIdx=27, actualDeviceId=7,
    newSession=1) at pbuf.c:271
271     pbuf.c: No such file or directory.
        in pbuf.c


(gdb) bt full
#0  handleIP (port=138, srcHost=0xe76c000, dstHost=0xd7bd800, _length=687,
    isPassiveSess=49152, isVoipSess=49152, p2pSessionIdx=27, actualDeviceId=7,
    newSession=1) at pbuf.c:271
        idx = 4
        length = 687
#1  0x28caa474 in handleGenericFlow (recordActTime=542234951,
    recordSysUpTime=-2140903656, record=0xbedf2040, deviceId=7)
    at netflowPlugin.c:582
        ratio = 242663424
        len = 687
        theFlags = '\0' <repeats 60 times>, "\211\000\217(", '\0' <repeats 12 
times>, 
"¯v\216(`\220\005\b´$\217(X\021ß¾òR\216(\000\234¬\bH\234¬\b\017\000\000\000Lt\222\t\000\234¬\bH\234¬\b\000ά\b\211\000\217(\000\000\000\000\000\000\000\000\000ά\b¯v\216(\000\211µ\t´$\217(\210\021ß¾û_\216(\000\234¬\bH\234¬\b\210\021ß¾®\\\216(\000\000\000\000\000\000\000\000Ht\222\tàí\032(",
 '\0' <repeats 12 times>, 
"àí\032(\a\000\000\000hq,\aÈ\021ß¾©¶\027(Lt\222\t\001\000\000\000È\021ß¾\001¶\027(Lt\222\t\000\000\000\000\000\000\000\000Lt"...
        srcPseudoLocal = 1 '\001'
        dstPseudoLocal = 1 '\001'
        srcAS = 0
        dstAS = 0
        a = {s_addr = 168833989}
        b = {s_addr = 168834047}
---Type <return> to continue, or q <return> to quit---
        addr1 = {hostFamily = 2, addr = {_hostIp4Address = {
      s_addr = 168834047}, _hostIp6Address = {__u6_addr = {
        __u6_addr8 = "ÿ3\020\n", '\0' <repeats 11 times>, __u6_addr16 = {
          13311, 2576, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {168834047, 0, 0,
          0}}}}}
        addr2 = {hostFamily = 2, addr = {_hostIp4Address = {
      s_addr = 168833989}, _hostIp6Address = {__u6_addr = {
        __u6_addr8 = "Å3\020\n", '\0' <repeats 11 times>, __u6_addr16 = {
          13253, 2576, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {168833989, 0, 0,
          0}}}}}
        srcHost = (HostTraffic *) 0xe76c000
        dstHost = (HostTraffic *) 0xd7bd800
        sport = 138
        dport = 138
        proto = 17
        newSession = 0
        ctr = {value = 40, modified = 0 '\0'}
        skipSRC = 0
        skipDST = 0
        h = {ts = {tv_sec = 1205424416, tv_usec = 0}, caplen = 0, len = 0}
        tp = {th_sport = 20485, th_dport = 47873, th_seq = 0, th_ack = 0,
  th_x2 = 0, th_off = 0, th_flags = 16 '\020', th_win = 0, th_sum = 0,
  th_urp = 0}
---Type <return> to continue, or q <return> to quit---
        session = (IPSession *) 0xbb4de00
        firstSeen = 1205424384
        lastSeen = 1205424404
        initTime = 27
#2  0x28cab6d0 in netflowMainLoop (_deviceId=0x7) at netflowPlugin.c:1316
        i = 17
        numFlows = 30
        netflowMask = {__fds_bits = {131072, 0 <repeats 31 times>}}
        rc = 1464
        len = 16
        buffer = "\000\005\000\036\030gd\200GÙQ 
6E®Ø\000\030\037C\000\000\000\000ÐÔD\006\n\0203/\n\0203/\000\001\000\005\000\000\000\f\000\000:|\030g/l\030g1è\000P\nw\000\032\006\000\000\000\000\000\000\030\000\b\n\0203\017\f\232&±\fW\215!\000\005\000\001\000\000\000\005\000\000\000È\030g/à\030g3ÜÀc\001»\000\020\006\000\000\000\000\000\030\000\000\000ÐÔD\006\n\0203/\n\0203/\000\001\000\005\000\000\000\002\000\000\006\f\030g1d\030g1Ä\000P\ny\000\022\006\000\000\000\000\000\000\030\000\bÐÔD\006\n\0203/\n\0203/\000\001\000\005\000\000\000\002\000\000\006\f\030g1d\030g1Ô"...
        fromHost = {sin_len = 16 '\020', sin_family = 2 '\002',
  sin_port = 8669, sin_addr = {s_addr = 168833992},
  sin_zero = "\000\000\000\000\000\000\000"}
#3  0x288daab1 in pthread_create () from /usr/lib/libpthread.so.2
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#4  0x28b3d45f in _ctx_start () from /lib/libc.so.6
No symbol table info available.


(gdb) list
1316    netflowPlugin.c: No such file or directory.
        in netflowPlugin.c


(gdb) info threads
[New Thread 0xafa9a00 (sleeping)]
[New Thread 0x9991000 (runnable)]
[New Thread 0x8ac9e00 (sleeping)]
[New Thread 0x8ac9a00 (runnable)]
[New Thread 0x8ac9800 (runnable)]
[New Thread 0x8ac9600 (runnable)]
[New Thread 0x8ac9400 (runnable)]
[New Thread 0x8ac9200 (runnable)]
[New Thread 0x8ac9000 (runnable)]
[New Thread 0x8060e00 (runnable)]
[New Thread 0x8060c00 (runnable)]
[New Thread 0x8060a00 (sleeping)]
[New Thread 0x8060800 (sleeping)]
[New Thread 0x8060600 (sleeping)]
[New Thread 0x8060200 (LWP 100083)]
  18 Thread 0x8060200 (LWP 100083)  0x288ef277 in pthread_testcancel ()
   from /usr/lib/libpthread.so.2
  17 Thread 0x8060600 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  16 Thread 0x8060800 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  15 Thread 0x8060a00 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  14 Thread 0x8060c00 (runnable)  0x28ae0e73 in kevent () from /lib/libc.so.6
  13 Thread 0x8060e00 (runnable)  0x28ae20b3 in select () from /lib/libc.so.6
  12 Thread 0x8ac9000 (runnable)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  11 Thread 0x8ac9200 (runnable)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  10 Thread 0x8ac9400 (runnable)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  9 Thread 0x8ac9600 (runnable)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  8 Thread 0x8ac9800 (runnable)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  7 Thread 0x8ac9a00 (runnable)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
  6 Thread 0x8ac9e00 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libpthread.so.2
  5 Thread 0x9991000 (runnable)  0x28ae2833 in read () from /lib/libc.so.6
  4 Thread 0xafa9a00 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2
* 3 Thread 0x8ac9c00 (LWP 100093)  handleIP (port=138, srcHost=0xe76c000,
    dstHost=0xd7bd800, _length=687, isPassiveSess=49152, isVoipSess=49152,
    p2pSessionIdx=27, actualDeviceId=7, newSession=1) at pbuf.c:271
  2 Thread 0x8060000 (sleeping)  0x288e7e7f in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.2


(gdb) thread 3
[Switching to thread 3 (Thread 0x8ac9c00 (LWP 100093))]#0  handleIP (port=138,
    srcHost=0xe76c000, dstHost=0xd7bd800, _length=687, isPassiveSess=49152,
    isVoipSess=49152, p2pSessionIdx=27, actualDeviceId=7, newSession=1)
    at pbuf.c:271
271     pbuf.c: No such file or directory.
        in pbuf.c



Starting program: /usr/local/bin/ntop -i none -u root 
--disable-instantsessionpurge --instance Field.Office.Internet -P 
/usr/local/var/ntop-FieldInet -o -L -w 3001 -x 32768 -X 65536 -m 
10.0.0.0/8,192.168.0.0/16,12.154.38.0/23 -K
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100053]
Thu Mar 13 10:20:49 2008  NOTE: Interface merge enabled by default
[New Thread 0x8060000 (LWP 100071)]
Thu Mar 13 10:20:49 2008  Initializing gdbm databases
Thu Mar 13 10:20:49 2008  **WARNING** Cannot find per-instance logo 
'Field.Office.Internet_ntop_logo.gif', ignored...

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

Reply via email to