Dominique,
I can't reproduce the problem on 2.2.3. More info please.

Thanks, Luca

On Monday, July 7, 2003, at 10:33 AM, Dominique Lalot wrote:

Clicking on a machine report make segfaulting ntop


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 40966 (LWP 25413)]
0x40094a5e in __pseudoLocalAddress (addr=0x0, theNetworks=0x40272a24, numNetworks=29) at util.c:613
613 for(i=0; i<numNetworks; i++) {
(gdb) bt full
#0 0x40094a5e in __pseudoLocalAddress (addr=0x0, theNetworks=0x40272a24, numNetworks=29) at util.c:613
i = 0
#1 0x40094ab3 in _pseudoLocalAddress (addr=0x0) at util.c:644
No locals.
#2 0x4007daa4 in hashHost (hostIpAddress=0x0, ether_addr=0xbeffd5f0 "\002}2�",
useIPAddressForSearching=0xbeffd5b2, el=0xbeffd5b4, actualDeviceId=0) at hash.c:47
idx = 0
#3 0x40093ff3 in findHostByMAC (macAddr=0xbeffd5f0 "\002}2�", actualDeviceId=0) at util.c:136
el = (HostTraffic *) 0x0
dummyShort = 1
idx = 3204438584
#4 0x40093fb3 in findHostBySerial (theSerial=
{serialType = 2 '\002', value = {ethAddress = "\002}2�\000", ipAddress = {s_addr = 3241311490}}},
actualDeviceId=0) at util.c:127
No locals.
#5 0x4003f02f in formatUsageCounter (usageCtr=
{value = {value = 2, modified = 0 '\0'}, peersSerials = {{serialType = 2 '\002', value = {ethAddress = "\002}2�\000", ipAddress = {s_addr = 3241311490}}}, {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]@[EMAIL PROTECTED]@�\003H����", '\0' <repeats 36 times>, "����}�5@", '\0' <repeats 144 times>, "[EMAIL PROTECTED]@[EMAIL PROTECTED](@����%\000\000\ 000T���~}(@)[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@\f���\0 00\000\000\000\003\000\000\000\000���\034���\000\000s \232\231\231\231\001\000\000\000����\000\000\000\000"...
i = 7
sendHeader = 0
el = (HostTraffic *) 0x1c
#6 0x400447a3 in printPacketStats (el=0x855c618, actualDeviceId=0) at reportUtils.c:1719
buf = "[EMAIL PROTECTED]@[EMAIL PROTECTED]<���\003\000\0 [EMAIL PROTECTED]@\001\000\000\000��(@|���� [EMAIL PROTECTED]@,[EMAIL PROTECTED] \000\004\000\000\0000\000\000\000\034���\002\000\000\000\f\000\000\000$ [EMAIL PROTECTED] ���<[EMAIL PROTECTED](n\b\000 TZ"...
headerSent = 1
tableHeader = 0x40064660 "<center><TABLE BORDER=0><TR><TD>"
#7 0x400456d0 in printHostTrafficStats (el=0x855c618, actualDeviceId=0) at reportUtils.c:2224
totalSent = 45947
totalRcvd = 89058
---Type <return> to continue, or q <return> to quit---
actTotalSent = 0
actTotalRcvd = 81270
buf = "/usr/share/ntop/rrd/interfaces/eth1/hosts/139/124/184/131\000SRC=/ users.gif BORDER=0></TH><TD ALIGN=RIGHT>\n\000G=0 WIDTH=\"100%\"><TR><TD ALIGN=\"LEFT\" WIDTH=\"10%\" BGCOLOR=\"#CCCCFF\">Sent 34.0&nbsp;%</TD><TD><"...
linkName = "rd.gif BORDER=0 ALIGN=vmiddle ALT=\"Forward to last page\"></A>", '\0' <repeats 19 times>, "[EMAIL PROTECTED]@[EMAIL PROTECTED]@\000 [EMAIL PROTECTED]@,���\207\215\00 [EMAIL PROTECTED] [EMAIL PROTECTED]/usr/local/share/ [EMAIL PROTECTED]@\000\000\000\000tatsicons/flags/ ��B@@[EMAIL PROTECTED]@D���\223\0176@@"...
i = 81270
#8 0x400346a0 in printAllSessionsHTML (host=0x0, actualDeviceId=0) at report.c:1752
idx = 0
i = 0
el = (HostTraffic *) 0x855c618
buf = "[EMAIL PROTECTED]<br>Web repo\000\000\000\000\001\000\000\000<���4���\201!7@<[EMAIL PROTECTED] [EMAIL PROTECTED]@[EMAIL PROTECTED] (@����\000\000TZ\000\000\000\000~}(@[EMAIL PROTECTED]@[EMAIL PROTECTED] [EMAIL PROTECTED]@[EMAIL PROTECTED]& nbsp;[EMAIL PROTECTED]@[EMAIL PROTECTED]@|���"...
#9 0x4002a9b7 in returnHTTPPage (pageName=0xbefff60d "139.124.184.131", 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 = 29
hostName = "139.124.184.131", '\0' <repeats 16 times>
sortedColumn = 0
printTrailer = 1
idx = -1090523268
errorCode = 0
pageNum = 0
portNr = 0
statbuf = {st_dev = 2339735871751716864, __pad1 = 0, st_ino = 1076418282, st_mode = 33188, st_nlink = 1,
st_uid = 0, st_gid = 1076439896, st_rdev = 4614582837504003924, __pad2 = 62548, st_size = 1076439896,
st_blksize = 1074416292, st_blocks = 0, st_atime = -1090522028, __unused1 = 1076404540, st_mtime = 1074416308,
__unused2 = 0, st_ctime = 0, __unused3 = 1076404420, __unused4 = 1074410916, __unused5 = 1074417492}
fd = (FILE *) 0x0
tmpStr = "/usr/local/share/ntop/html/ 139.124.184.131.html\000L���O\213\005@|�������\001\200� ���������L���\001\200������������������\004���;�������;���", '\0' <repeats 20 times>, "[EMAIL PROTECTED]@\016\000\000\000\000 (@_\000\000\000\000\220B@ \000 th\000����*�(@�\f,[EMAIL PROTECTED],\b\000 (@_\000\000\000X+)@h\r"...
domainNameParm = 0x0
revertOrder = 0
rc = -1090523268
t = {tm_sec = 8, tm_min = 18, tm_hour = 8, tm_mday = 1077397088, tm_mon = 1078118072,
---Type <return> to continue, or q <return> to quit---
tm_year = -1090522159, tm_wday = -1090522604, tm_yday = 1077397088, tm_isdst = 1078118072,
tm_gmtoff = -1090522053, tm_zone = 0xbefff224 "31.html"}
#10 0x4002c29e in handleHTTPrequest (from={s_addr = 3241311490}) at http.c:2442
skipLeading = 0
postLen = -1
usedFork = 0
requestedURL = "/139.124.184.131\000html", '\0' <repeats 490 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 = 1057566785, tv_usec = 730221}
gzipBytesSent = 0
#11 0x40057035 in handleSingleWebConnection (fdmask=0xbefffa3c) at webInterface.c:5080
from = {sin_family = 2, sin_port = 57256, sin_addr = {s_addr = 41759425}, sin_zero = "\a\002\000\000����"}
from_len = 16
#12 0x40056e8e 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
#13 0x4028976e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0x402897dd in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
(gdb) info stack
#0 0x40094a5e in __pseudoLocalAddress (addr=0x0, theNetworks=0x40272a24, numNetworks=29) at util.c:613
#1 0x40094ab3 in _pseudoLocalAddress (addr=0x0) at util.c:644
#2 0x4007daa4 in hashHost (hostIpAddress=0x0, ether_addr=0xbeffd5f0 "\002}2�",
useIPAddressForSearching=0xbeffd5b2, el=0xbeffd5b4, actualDeviceId=0) at hash.c:47
#3 0x40093ff3 in findHostByMAC (macAddr=0xbeffd5f0 "\002}2�", actualDeviceId=0) at util.c:136
#4 0x40093fb3 in findHostBySerial (theSerial=
{serialType = 2 '\002', value = {ethAddress = "\002}2�\000", ipAddress = {s_addr = 3241311490}}},
actualDeviceId=0) at util.c:127
#5 0x4003f02f in formatUsageCounter (usageCtr=
{value = {value = 2, modified = 0 '\0'}, peersSerials = {{serialType = 2 '\002', value = {ethAddress
= "\002}2�\000", ipAddress = {s_addr = 3241311490}}}, {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
#6 0x400447a3 in printPacketStats (el=0x855c618, actualDeviceId=0) at reportUtils.c:1719
#7 0x400456d0 in printHostTrafficStats (el=0x855c618, actualDeviceId=0) at reportUtils.c:2224
#8 0x400346a0 in printAllSessionsHTML (host=0x0, actualDeviceId=0) at report.c:1752
#9 0x4002a9b7 in returnHTTPPage (pageName=0xbefff60d "139.124.184.131", 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
#10 0x4002c29e in handleHTTPrequest (from={s_addr = 3241311490}) at http.c:2442
#11 0x40057035 in handleSingleWebConnection (fdmask=0xbefffa3c) at webInterface.c:5080
#12 0x40056e8e in handleWebConnections (notUsed=0x0) at webInterface.c:4945
#13 0x4028976e in pthread_start_thread () from /lib/libpthread.so.0
#14 0x402897dd in pthread_start_thread_event () from /lib/libpthread.so.0
(gdb)




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


------- Luca Deri <[EMAIL PROTECTED]>

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

Reply via email to