I was speaking a little bit too fast when I spoke about stability: I was able to kill both version today.
[New Thread 16385 (LWP 25655)]
[New Thread 8194 (LWP 25656)]
[New Thread 16387 (LWP 25657)]
[New Thread 24580 (LWP 25658)]
[New Thread 32773 (LWP 25659)]
[New Thread 40966 (LWP 25660)]
[New Thread 49159 (LWP 25661)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 40966 (LWP 25660)]
0x400942e0 in isLocalAddress (addr=0x0, deviceId=0) at util.c:245
245 if((addr->s_addr & myGlobals.device[deviceId].netmask.s_addr) == myGlobals.device[deviceId].network.s_addr) {
(gdb) bt full
#0 0x400942e0 in isLocalAddress (addr=0x0, deviceId=0) at util.c:245
No locals.
#1 0x4007da91 in hashHost (hostIpAddress=0x0, ether_addr=0xbeffd5f0 "\206�|\213", useIPAddressForSearching=0xbeffd5b2,
el=0xbeffd5b4, actualDeviceId=0) at hash.c:47
idx = 0
#2 0x400940bb in findHostByMAC (macAddr=0xbeffd5f0 "\206�|\213", actualDeviceId=0) at util.c:136
el = (HostTraffic *) 0x0
dummyShort = 1
idx = 3204438584
#3 0x4009407b in findHostBySerial (theSerial=
{serialType = 2 '\002', value = {ethAddress = "\206�|\213\000", ipAddress = {s_addr = 2340207494}}},
actualDeviceId=4294967040) at util.c:127
No locals.
#4 0x4003f143 in formatUsageCounter (usageCtr=
{value = {value = 2, modified = 0 '\0'}, peersSerials = {{serialType = 2 '\002', value = {ethAddress = "\206�|\213\000", ipAddress = {s_addr = 2340207494}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}}},
topValue=13762958920320548871, actualDeviceId=0) at reportUtils.c:81
buf = "<TD ALIGN=RIGHT>2</TD>[EMAIL PROTECTED]", '\0' <repeats 20 times>, "[EMAIL PROTECTED]@", '\0' <repeats 160 times>, "@[EMAIL PROTECTED]@[EMAIL PROTECTED](@[EMAIL PROTECTED]@[EMAIL PROTECTED] \000\000\000\000��������", '\0' <repeats 36 times>, "\214�\t@", '\0' <repeats 12 times>...
i = 7
sendHeader = 0
el = (HostTraffic *) 0x4009e48c
#5 0x400448e2 in printPacketStats (el=0x8518de8, actualDeviceId=0) at reportUtils.c:1720
buf = "[EMAIL PROTECTED]@[EMAIL PROTECTED]<[EMAIL PROTECTED]@\001\000\000\000��(@|[EMAIL PROTECTED]@ [EMAIL PROTECTED]@,[EMAIL PROTECTED]<���\002\000\000\000\f\000\000\000D���<���\224���n�3@ �]\b\000 TZ"...
headerSent = 1
tableHeader = 0x40064780 "<center><TABLE BORDER=0><TR><TD>"
#6 0x400457e4 in printHostTrafficStats (el=0x8518de8, actualDeviceId=0) at reportUtils.c:2224
totalSent = 138090
totalRcvd = 10400
actTotalSent = 4644407518829740032
---Type <return> to continue, or q <return> to quit---
actTotalRcvd = 8048
buf = "/usr/share/ntop/rrd/interfaces/eth1/hosts/193/50/125/2\000a</TH><TD ><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=\"100%\"><TR><TD ALIGN=\"LEFT\" WIDTH=\"10%\" BGCOLOR=\"#CCCCFF\">Sent 93.0 %</TD><TD><"...
linkName = "\030�(@\234���\000\000\000\000\000\000\000\000\001\200��\000\000\000�\000\000\000\000����\030�(@����\000\000\000\000\000\000\000\000����", '\0' <repeats 20 times>, "[EMAIL PROTECTED]@[EMAIL PROTECTED]@/usr/local/share/[EMAIL PROTECTED]@\000\000\000\000tatsicons/flags/��B@@[EMAIL PROTECTED]@D���\223\0376@@\002"...
i = 8048
#7 0x400347b4 in printAllSessionsHTML (host=0x0, actualDeviceId=0) at report.c:1752
idx = 0
i = 0
el = (HostTraffic *) 0x8518de8
buf = "[EMAIL PROTECTED]<br>Web repo\000\000\000\000\001\000\000\000<���4���\20117@<[EMAIL PROTECTED]@[EMAIL PROTECTED]@����~\215(@����\000\000TZ\000\000\000\000~\215(@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@|���"...
#8 0x4002aacb in returnHTTPPage (pageName=0xbefff60d "193.50.125.2", postLen=-1, from=0x0, httpRequestedAt=0xbefff4c4,
usedFork=0xbefff4c0, agent=0xbefff4cc "Mozilla/4.78 [fr] (X11; U; Linux 2.4.9-34 i686)") at http.c:2082
i = 0
hostName = "193.50.125.2", '\0' <repeats 19 times>
sortedColumn = 0
printTrailer = 1
idx = -1090523268
errorCode = 0
pageNum = 0
portNr = 0
statbuf = {st_dev = 2339735871751716864, __pad1 = 0, st_ino = 1076422378, st_mode = 33188, st_nlink = 1,
st_uid = 0, st_gid = 1076443992, st_rdev = 4614601254323773460, __pad2 = 62548, st_size = 1076443992,
st_blksize = 1074420580, st_blocks = 0, st_atime = -1090522028, __unused1 = 1076408636, st_mtime = 1074420596,
__unused2 = 0, st_ctime = 0, __unused3 = 1076408516, __unused4 = 1074415204, __unused5 = 1074421780}
fd = (FILE *) 0x0
tmpStr = "/usr/local/share/ntop/html/[EMAIL PROTECTED]@|�������\001\200����������L���\001\200������������������\004���;�������;���", '\0' <repeats 20 times>, "[EMAIL PROTECTED]@\016\000\000\000\0000(@_\000\000\000\000 B@ \000 th\000����*�(@�\a,[EMAIL PROTECTED],\b\0000(@_\000\000\000X;)@`\b"...
domainNameParm = 0x0
revertOrder = 0
rc = -1090523268
t = {tm_sec = 8, tm_min = 18, tm_hour = 8, tm_mday = 1077401184, tm_mon = 1078122168, tm_year = -1090522159,
tm_wday = -1090522604, tm_yday = 1077401184, tm_isdst = 1078122168, tm_gmtoff = -1090522053, tm_zone = 0xbefff224 "html"} #9 0x4002c3b2 in handleHTTPrequest (from={s_addr = 3241311490}) at http.c:2442
---Type <return> to continue, or q <return> to quit---
skipLeading = 0
postLen = -1
usedFork = 0
requestedURL = "/193.50.125.2\000html", '\0' <repeats 493 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 = 0
i = 3
httpRequestedAt = {tv_sec = 1057253520, tv_usec = 799620}
gzipBytesSent = 0
#10 0x40057149 in handleSingleWebConnection (fdmask=0xbefffa3c) at webInterface.c:5080
from = {sin_family = 2, sin_port = 60044, sin_addr = {s_addr = 41759425}, sin_zero = "\a\002\000\000����"}
from_len = 16
#11 0x40056fa2 in handleWebConnections (notUsed=0x0) at webInterface.c:4945
rc = 0
mask = {__fds_bits = {65536, 0 <repeats 31 times>}}
mask_copy = {__fds_bits = {65536, 0 <repeats 31 times>}}
topSock = 16
#12 0x4028a76e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#13 0x4028a7dd in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
(gdb) info stack
#0 0x400942e0 in isLocalAddress (addr=0x0, deviceId=0) at util.c:245
#1 0x4007da91 in hashHost (hostIpAddress=0x0, ether_addr=0xbeffd5f0 "\206�|\213", useIPAddressForSearching=0xbeffd5b2,
el=0xbeffd5b4, actualDeviceId=0) at hash.c:47
#2 0x400940bb in findHostByMAC (macAddr=0xbeffd5f0 "\206�|\213", actualDeviceId=0) at util.c:136
#3 0x4009407b in findHostBySerial (theSerial=
{serialType = 2 '\002', value = {ethAddress = "\206�|\213\000", ipAddress = {s_addr = 2340207494}}},
actualDeviceId=4294967040) at util.c:127
#4 0x4003f143 in formatUsageCounter (usageCtr=
{value = {value = 2, modified = 0 '\0'}, peersSerials = {{serialType = 2 '\002', value = {ethAddress = "\206�|\213\000", ipAddress = {s_addr = 2340207494}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}, {serialType = 0 '\0', value = {ethAddress = "\000\000\000\000\000", ipAddress = {s_addr = 0}}}}},
topValue=13762958920320548871, actualDeviceId=0) at reportUtils.c:81
#5 0x400448e2 in printPacketStats (el=0x8518de8, actualDeviceId=0) at reportUtils.c:1720
#6 0x400457e4 in printHostTrafficStats (el=0x8518de8, actualDeviceId=0) at reportUtils.c:2224
#7 0x400347b4 in printAllSessionsHTML (host=0x0, actualDeviceId=0) at report.c:1752
#8 0x4002aacb in returnHTTPPage (pageName=0xbefff60d "193.50.125.2", postLen=-1, from=0x0, httpRequestedAt=0xbefff4c4,
usedFork=0xbefff4c0, agent=0xbefff4cc "Mozilla/4.78 [fr] (X11; U; Linux 2.4.9-34 i686)") at http.c:2082
#9 0x4002c3b2 in handleHTTPrequest (from={s_addr = 3241311490}) at http.c:2442
#10 0x40057149 in handleSingleWebConnection (fdmask=0xbefffa3c) at webInterface.c:5080
#11 0x40056fa2 in handleWebConnections (notUsed=0x0) at webInterface.c:4945
#12 0x4028a76e in pthread_start_thread () from /lib/libpthread.so.0
#13 0x4028a7dd in pthread_start_thread_event () from /lib/libpthread.so.0
(gdb)
_______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
