Package: ntop Version: 3:3.3-11+b2
Maintainer: Ola Lundqvist <[email protected]> Architecture: amd64 Source: ntop (3:3.3-11) It seems that ntop has some problem determining local domainname on my server. When I want to see "Summary->Hosts" It segfaults like this (I obstructed the real IP address in the output below): Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fcb636a2950 (LWP 11166)] 0x00007fcb6e7b1e10 in fillDomainName (el=0x2a12310) at util.c:3506 3506 util.c: No such file or directory. in util.c (gdb) bt #0 0x00007fcb6e7b1e10 in fillDomainName (el=0x2a12310) at util.c:3506 #1 0x00007fcb6e76163d in getHostCountryIconURL (el=0x2a12310) at webInterface.c:751 #2 0x00007fcb6e7605b3 in makeHostLink (el=0x2a12310, mode=1, cutName=0, addCountryFlag=1, buf=0x7fcb6369fe20 "\005", bufLen=1024) at webInterface.c:518 #3 0x00007fcb6e7305f1 in printHostsInfo (sortedColumn=0, revertOrder=0, pageNum=0, showBytes=1, vlanId=65535, ifId=65535) at report.c:2752 #4 0x00007fcb6e71cfa3 in returnHTTPPage (pageName=0x7fcb636a1ac1 "hostsInfo.html", postLen=-1, from=0x7fcb636a1d20, httpRequestedAt=0x7fcb636a1740, usedFork=0x7fcb636a1cc8, agent=0x7fcb636a1980 "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)", referer=0x7fcb636a1880 "http://xx.xx.xx.xx:xxxx/thptStats.html", requestedLanguage=0x7fcb636a1710, numLang=2, ifModificedSince=0x7fcb636a1750 "", isPostMethod=0) at http.c:2675 #5 0x00007fcb6e7209b0 in handleHTTPrequest (from= {hostFamily = 2, addr = {_hostIp4Address = {s_addr = xxxxxxxxxx}, _hostIp6Address = {in6_u = {u6_addr8 = "\nhÛÀ\206+\000\000\000\000\000\...@!jc", u6_addr16 = {26634, 49371, 11142, 0, 0, 0, 8512, 25450}, u6_addr32 = {3435604490, 11142, 0, 1657899712}}}}}) at http.c:3809 #6 0x00007fcb6e770251 in handleSingleWebConnection (fdmask=0x7fcb636a2080) at webInterface.c:8947 #7 0x00007fcb6e76fd23 in handleWebConnections (notUsed=0x0) at webInterface.c:8799 #8 0x00007fcb6cb4ffaa in start_thread () from /lib/libpthread.so.0 #9 0x00007fcb6d65929d in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () (gdb) q This is what I can see in kernel logs: Jul 23 13:14:55 hydra kernel: [6973929.382516] ntop[10966]: segfault at 10240d98f ip 7f4316c38e10 sp 7f430bc67680 error 4 in libntopreport-3.3[7f4316b62000+129000] It also segfaults when I want to see anything in "All Protocols" section, and the main thread also segfaults on its own from time to time (although I don't exactly know what triggers it, and I don't have gdb output from it). The workaround is to start ntop with "-D hydra.ca" parameter. In that case, it works fine. My /etc/hosts file looks like this: hydra:~# cat /etc/hosts 127.0.0.1 localhost #127.0.1.1 hydra 192.168.6.1 hydra #192.168.3.11 vistapc #192.168.3.100 belkin # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts My eth1 interface: eth1 Link encap:Ethernet HWaddr 00:1e:58:48:71:43 inet addr:192.168.6.1 Bcast:192.168.6.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:106313042 errors:0 dropped:0 overruns:0 frame:0 TX packets:92041420 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:45044683687 (41.9 GiB) TX bytes:29405550350 (27.3 GiB) Interrupt:21 Let me know if you need any more information. - Tomasz -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

