Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#15387 - [ntop] 3.3.10-1 segfaults and aborts
Attached to Project:
Arch Linux
Opened by Jan Alexander Steffens (heftig) - Sunday, 05 July 2009, 18:06 GMT
Last edited by Jan de Groot (JGC) - Monday, 21 December 2009, 14:22 GMT
Opened by Jan Alexander Steffens (heftig) - Sunday, 05 July 2009, 18:06 GMT
Last edited by Jan de Groot (JGC) - Monday, 21 December 2009, 14:22 GMT
|
DetailsDescription:
After a few seconds to minutes of being started, ntop crashes and quits, either with a SIGSEGV or a SIGABRT. It seems this problem was introduced by the last update to ntop. ntop 3.3.9-2 seems to work fine. Additional info: I use i686 testing. extra/ntop 3.3.10-1 core/libpcap 1.0.0-1 testing/gd 2.0.35-2 extra/glib 1.2.10-7 extra/libxml2 2.7.3-2 core/openssl 0.9.8k-2 core/gdbm 1.8.3-6 extra/rrdtool 1.3.8-1 core/pcre 7.9-1 extra/geoip 1.4.6-1 extra/lua 5.1.4-4 core/glibc 2.10.1-2 Steps to reproduce: 1. Start ntop 2. Wait a while |
This task depends upon
Closed by Jan de Groot (JGC)
Monday, 21 December 2009, 14:22 GMT
Reason for closing: Fixed
Additional comments about closing: libevent bug, fixed in 1.4.12.
Monday, 21 December 2009, 14:22 GMT
Reason for closing: Fixed
Additional comments about closing: libevent bug, fixed in 1.4.12.
crash1.txt
Try with the updated libevent-1.4.11-1 from [testing]. It is safe to install just that package from the [testing] repo.
#0 0xb768a273 in nameserver_read () from /usr/lib/libevent-1.4.so.2
#1 0xb767f9a8 in event_base_loop () from /usr/lib/libevent-1.4.so.2
#2 0xb767fb19 in event_loop () from /usr/lib/libevent-1.4.so.2
#3 0x0804b181 in main ()
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6cff6c0 (LWP 5759)]
0xb753b273 in nameserver_read () from /usr/lib/libevent-1.4.so.2
(gdb) bt
#0 0xb753b273 in nameserver_read () from /usr/lib/libevent-1.4.so.2
#1 0xb75309a8 in event_base_loop () from /usr/lib/libevent-1.4.so.2
#2 0xb7530b19 in event_loop () from /usr/lib/libevent-1.4.so.2
#3 0x0804b189 in main ()
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6db76c0 (LWP 5795)]
0xb75e7d59 in event_queue_insert () from /usr/lib/libevent-1.4.so.2
(gdb) bt
#0 0xb75e7d59 in event_queue_insert () from /usr/lib/libevent-1.4.so.2
#1 0xb75e881e in event_base_loop () from /usr/lib/libevent-1.4.so.2
#2 0xb75e8b19 in event_loop () from /usr/lib/libevent-1.4.so.2
#3 0x0804b189 in main ()
Rebuilt 3.3.9 crashes as well, but differently:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xadd64b70 (LWP 7730)]
0xb7712e55 in handleHTTPSession () from /usr/lib/libntop-3.3.9.so
(gdb) bt
#0 0xb7712e55 in handleHTTPSession () from /usr/lib/libntop-3.3.9.so
#1 0xb7716cee in handleTCPSession () from /usr/lib/libntop-3.3.9.so
#2 0xb7718e86 in handleSession () from /usr/lib/libntop-3.3.9.so
#3 0xb7700bab in processIpPkt () from /usr/lib/libntop-3.3.9.so
#4 0xb7702c4e in processPacket () from /usr/lib/libntop-3.3.9.so
#5 0xb7708328 in queuePacket () from /usr/lib/libntop-3.3.9.so
#6 0xb7464916 in pcap_read_linux_mmap () from /usr/lib/libpcap.so.1
#7 0xb7468797 in pcap_dispatch () from /usr/lib/libpcap.so.1
#8 0xb76f3afd in pcapDispatch () from /usr/lib/libntop-3.3.9.so
#9 0xb73d368c in start_thread () from /lib/libpthread.so.0
#10 0xb7355e2e in clone () from /lib/libc.so.6
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xae67fb70 (LWP 7786)]
0xb782ce55 in handleHTTPSession () from /usr/lib/libntop-3.3.9.so
(gdb) bt
#0 0xb782ce55 in handleHTTPSession () from /usr/lib/libntop-3.3.9.so
#1 0xb7830cee in handleTCPSession () from /usr/lib/libntop-3.3.9.so
#2 0xb7832e86 in handleSession () from /usr/lib/libntop-3.3.9.so
#3 0xb781abab in processIpPkt () from /usr/lib/libntop-3.3.9.so
#4 0xb781e666 in processPacket () from /usr/lib/libntop-3.3.9.so
#5 0xb7822328 in queuePacket () from /usr/lib/libntop-3.3.9.so
#6 0xb757e916 in pcap_read_linux_mmap () from /usr/lib/libpcap.so.1
#7 0xb7582797 in pcap_dispatch () from /usr/lib/libpcap.so.1
#8 0xb780dafd in pcapDispatch () from /usr/lib/libntop-3.3.9.so
#9 0xb74ed68c in start_thread () from /lib/libpthread.so.0
#10 0xb746fe2e in clone () from /lib/libc.so.6
#0 0xb750d210 in transaction_id_pick () from /usr/lib/libevent-1.4.so.2
#1 0xb750e12c in evdns_requests_pump_waiting_queue ()
from /usr/lib/libevent-1.4.so.2
#2 0xb7510da5 in reply_handle () from /usr/lib/libevent-1.4.so.2
#3 0xb7511594 in nameserver_read () from /usr/lib/libevent-1.4.so.2
#4 0xb75068f8 in event_base_loop () from /usr/lib/libevent-1.4.so.2
#5 0xb7506a69 in event_loop () from /usr/lib/libevent-1.4.so.2
#6 0x0804b189 in main ()
#0 0xb755a210 in transaction_id_pick () from /usr/lib/libevent-1.4.so.2
#1 0xb755daa5 in request_new () from /usr/lib/libevent-1.4.so.2
#2 0xb755e98c in evdns_resolve_reverse () from /usr/lib/libevent-1.4.so.2
#3 0xb776c479 in ipaddr2str () from /usr/lib/libntop-3.3.10.so
#4 0xb77741da in _lookupHost () from /usr/lib/libntop-3.3.10.so
#5 0xb77837ff in processIpPkt () from /usr/lib/libntop-3.3.10.so
#6 0xb778c7ba in processPacket () from /usr/lib/libntop-3.3.10.so
#7 0xb77904e8 in queuePacket () from /usr/lib/libntop-3.3.10.so
#8 0xb74d7916 in pcap_read_linux_mmap () from /usr/lib/libpcap.so.1
#9 0xb74db797 in pcap_dispatch () from /usr/lib/libpcap.so.1
#10 0xb777be0d in pcapDispatch () from /usr/lib/libntop-3.3.10.so
#11 0xb744668c in start_thread () from /lib/libpthread.so.0
#12 0xb73c7e2e in clone () from /lib/libc.so.6
Rebuilt 3.3.9 with libevent 1.4.9 seems to be stable.
#0 0xb784de55 in handleHTTPSession () from /usr/lib/libntop-3.3.9.so
#1 0xb7851cee in handleTCPSession () from /usr/lib/libntop-3.3.9.so
#2 0xb7853e86 in handleSession () from /usr/lib/libntop-3.3.9.so
#3 0xb783bbab in processIpPkt () from /usr/lib/libntop-3.3.9.so
#4 0xb783f666 in processPacket () from /usr/lib/libntop-3.3.9.so
#5 0xb7843328 in queuePacket () from /usr/lib/libntop-3.3.9.so
#6 0xb759f916 in pcap_read_linux_mmap () from /usr/lib/libpcap.so.1
#7 0xb75a3797 in pcap_dispatch () from /usr/lib/libpcap.so.1
#8 0xb782eafd in pcapDispatch () from /usr/lib/libntop-3.3.9.so
#9 0xb750e68c in start_thread () from /lib/libpthread.so.0
#10 0xb7490e2e in clone () from /lib/libc.so.6
I suggest you follow this up with ntop upstream. I had a quick search and other people seem to report crashes too but there was very little follow-up.
* ntop 3.3.10-1
* libevent 1.4.11-1
Reappears when downgrading to 1.4.11-1.
Seems it was a libevent bug afterall. Changelog of 1.4.12 mentions:
- Fix an obscure timing-dependent, allocator-dependent crash in the evdns code.