Hello,
After a try in last 2.2.1 CVS, I got last 2.2.0 CVS from today (June
16th) and made a try.
It seemed a little more robust but several processes were looping at
last.
I'm really anxious about getting a stable ntop!.
Dominique:
trace from GDB:
(gdb) bt full
#0 0x405f9332 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x403e8dd1 in __pthread_wait_for_restart_signal () from
/lib/libpthread.so.0
No symbol table info available.
#2 0x403eb379 in __pthread_alt_lock () from /lib/libpthread.so.0
No symbol table info available.
#3 0x403e7e9e in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#4 0x4064208d in ptmalloc_lock_all () from /lib/libc.so.6
No symbol table info available.
#5 0x403e862e in fork () from /lib/libpthread.so.0
No symbol table info available.
#6 0x4002b2f0 in _GDC_out_pie (width=250, height=250,
filepointer=0xda13ef8, pietype=GDC_2DPIE, num_points=9,
labels=0xbeffec5c,
data="" at graph.c:64
status = -1090519652
wait_result = -4
fork_result = 228671224
fd = (FILE *) 0x0
idx = 228671224
len = 228671224
statbuf = {st_dev = 3204442716, __pad1 = 0, st_ino = 228671376, st_mode =
1080278452, st_nlink = 0, st_uid = 0,
st_gid = 1080997560, st_rdev = 228671224, __pad2 = 60068, st_size =
1080269912, st_blksize = 228671224, st_blocks = 0,
st_atime = 0, __unused1 = 1077847470, st_mtime = -1, __unused2 =
1080997560, st_ctime = -1090524508, __unused3 = 1080269925,
__unused4 = 1080997560, __unused5 = 228671224}
tmpStr = '\0' <repeats 48 times>, "\030�>@����", '\0'
<repeats 20 times>, "[EMAIL PROTECTED]>�\r\000 \000\000����.
[EMAIL PROTECTED]
[EMAIL PROTECTED]@�>[EMAIL PROTECTED]>[EMAIL PROTECTED]@[EMAIL PROTECTED]",
'\0' <repeats 15 times>,
"\237�\f\000��\000\000\001\000\000\000�\001\000
\000��>@[EMAIL PROTECTED]@\000\000\000\000\000\020\000\000\000\000\000\000,���\000\000\000\000\000\000\000\000���>�������>\0
[EMAIL PROTECTED]>�\rd���\021"...
#7 0x4002dd8e in hostIPTrafficDistrib (theHost=0x84ca8f8, dataSent=0) at
graph.c:744
fileName = "/tmp/graph-XXXXXX", '\0' <repeats 237 times>
p = {0, 0, 8, 88, 1, 0, 0, 0, 1, -0.499867022, -0.499867767, -0.49986589,
-0.499867767, 0, 0, 0, 0, 0, 1.05097385e-43, 0,
1.19110369e-43, 0, 0, 0, 2.15257001, 1.54142831e-44, 4.20389539e-45,
-nan(0x7fffff), 8.90598042e-40, 8.90598042e-40, -0.499857545,
3.59346271, 4.01236492e-34, 4.01175283e-34, 2.1515274, 3.59345031, 0,
3.59243989, 1.687864e-41, 2.97991419, 6.72623263e-43,
3.72651672, 0, 2.97427034, 2.98506737, 2.80259693e-45, -0.499859452,
2.98050952, 0, 0, 0, 0, -0.499865323, 4.06376555e-44,
4.01175283e-34, 0, 2.20997524, -0.499981761, -0.499860883, 2.04908705,
2.38220739e-44, 2.15325236, 2.80259693e-45, 0}
lbl = {0x8055788 "FTP", 0x80d3d00 "HTTP", 0x80d3d10
"DNS", 0x80d3d48 "Mail", 0x80d3e00 "SNMP",
0x80d3e50 "NFS",
0x80d3ea8 "SSH", 0x80d3f08 "Kazaa", 0x4009cb26
"Other", 0x4009b2a0 "", 0x4009b2a0 "",
0x4009b2a0 "", 0x4009b2a0 "", 0x4009b2a0
"",
0x4009b2a0 "", 0x4009b2a0 "", 0x4009b2a0
"", 0x4009b2a0 "", 0x4009b2a0 ""}
i = 18
num = 9
explodePieces = {19, 28, 28, 10, 19, 28, 37, 46, 55, 1634545469,
-1090520096, 1077838020, 1080997560, -1090523588,
-1090524236, 1077847230, -3, 0, -1090523676, 1080461770, -1090523565,
-1090523706, 2, 0, 858993460, 3, -1090524188, 1074384500,
1081001360, 228671584, 1081001344, 1077838020, 0, 228671224, 0,
1077851882, 1081001344, 228671224, -1090524140, 1077873496, 53,
1074624416, -1090524092, 1080268896, 1076826168, 1074624416, 53,
1080268392, 1074887668, 0, 228671224, 1077828990, 1074882432, 0,
0, 1080997560, 1074388609, 1074388608, -1090522332, 1080125111,
-1090523380, 0, 1, 1080276576}
---Type <return> to continue, or q <return> to quit---
fd = (FILE *) 0xda13ef8
traffic = {value = 0, modified = 1 '\001'}
totalIPTraffic = {value = 80735840, modified = 0 '\0'}
diffTraffic = {value = 1202657, modified = 20 '\024'}
useFdOpen = 1
#8 0x40034e1d in returnHTTPPage (pageName=0xbefff60d
"hostIPTrafficDistrib-193.50.125.2.png", postLen=-1,
from=0xfffffffc,
httpRequestedAt=0xbefff4c4, usedFork=0xbefff4c0, agent=0xbefff4cc
"Mozilla/4.78 [fr] (X11; U; Linux 2.4.9-34 i686)")
at http.c:2033
sortedColumn = 0
printTrailer = 1
idx = 3
errorCode = 0
pageNum = 0
portNr = 0
statbuf = {st_dev = 2339735873603595552, __pad1 = 0, st_ino = 2539811,
st_mode = 33188, st_nlink = 1, st_uid = 0,
st_gid = 0, st_rdev = 7854410144135668077, __pad2 = 28257, st_size =
4194424, st_blksize = 0, st_blocks = 0, st_atime = 0,
__unused1 = 0, st_mtime = 0, __unused2 = 0, st_ctime = 0, __unused3 = 0,
__unused4 = 0, __unused5 = 0}
fd = (FILE *) 0x0
tmpStr =
"/usr/local/share/ntop/html/hostIPTrafficDistrib-193.50.125.2.png\000\200����������L���\001\200������������������\004
���;�������;���", '\0' <repeats 20 times>, "[EMAIL PROTECTED]
[EMAIL PROTECTED]/@{\000\000\000\000\200n@ \000
th\000����*�>@p�7\b\000\0
[EMAIL PROTECTED]/@[EMAIL PROTECTED]"...
domainNameParm = 0x0
revertOrder = 0
rc = 3
t = {tm_sec = 8, tm_min = 18, tm_hour = 8, tm_mday = 1080276576, tm_mon =
1080997560, tm_year = -1090522159,
tm_wday = -1090522604, tm_yday = 1080276576, tm_isdst = 1080997560,
tm_gmtoff = -1090522053,
tm_zone = 0xbefff224 "Distrib-193.50.125.2.png"}
#9 0x40036961 in handleHTTPrequest (from={s_addr = 3241311490}) at
http.c:2492
skipLeading = -4
postLen = -1
usedFork = 0
requestedURL = "/hostIPTrafficDistrib-193.50.125.2.png", '\0'
<repeats 473 times>
pw = "manaix", '\0' <repeats 57 times>
agent = "Mozilla/4.78 [fr] (X11; U; Linux 2.4.9-34 i686)", '\0'
<repeats 208 times>
rc = -4
i = 3
httpRequestedAt = {tv_sec = 1055775705, tv_usec = 450087}
gzipBytesSent = 0
#10 0x40060fa5 in handleSingleWebConnection (fdmask=0x11) at
webInterface.c:5208
from = {sin_family = 2, sin_port = 23458, sin_addr = {s_addr = 41759425},
sin_zero = "\a\002\000\000����"}
from_len = 16
#11 0x40060dfe in handleWebConnections (notUsed=0x0) at
webInterface.c:5073
rc = -4
mask = {__fds_bits = {65536, 0 <repeats 31 times>}}
mask_copy = {__fds_bits = {65536, 0 <repeats 31 times>}}
---Type <return> to continue, or q <return> to quit---
topSock = 16
#12 0x403e776e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#13 0x403e77dd in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
(gdb) info stack
#0 0x405f9332 in sigsuspend () from /lib/libc.so.6
#1 0x403e8dd1 in __pthread_wait_for_restart_signal () from
/lib/libpthread.so.0
#2 0x403eb379 in __pthread_alt_lock () from /lib/libpthread.so.0
#3 0x403e7e9e in pthread_mutex_lock () from /lib/libpthread.so.0
#4 0x4064208d in ptmalloc_lock_all () from /lib/libc.so.6
#5 0x403e862e in fork () from /lib/libpthread.so.0
#6 0x4002b2f0 in _GDC_out_pie (width=250, height=250,
filepointer=0xda13ef8, pietype=GDC_2DPIE, num_points=9,
labels=0xbeffec5c,
data="" at graph.c:64
#7 0x4002dd8e in hostIPTrafficDistrib (theHost=0x84ca8f8, dataSent=0) at
graph.c:744
#8 0x40034e1d in returnHTTPPage (pageName=0xbefff60d
"hostIPTrafficDistrib-193.50.125.2.png", postLen=-1,
from=0xfffffffc,
httpRequestedAt=0xbefff4c4, usedFork=0xbefff4c0, agent=0xbefff4cc
"Mozilla/4.78 [fr] (X11; U; Linux 2.4.9-34 i686)")
at http.c:2033
#9 0x40036961 in handleHTTPrequest (from={s_addr = 3241311490}) at
http.c:2492
#10 0x40060fa5 in handleSingleWebConnection (fdmask=0x11) at
webInterface.c:5208
#11 0x40060dfe in handleWebConnections (notUsed=0x0) at
webInterface.c:5073
#12 0x403e776e in pthread_start_thread () from /lib/libpthread.so.0
#13 0x403e77dd in pthread_start_thread_event () from
/lib/libpthread.so.0
