error 4 in libpthread-2.11.1.so

Bug #612264 reported by Bas van den Dikkenberg
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ntop (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: ntop

Afther te upgrade to ubuntu 10.04 from ubuntu 9.10 ntop won't start any more

this what i see in the syslog

ug 1 15:59:37 ntop ntop[1514]: ntop v.3.3
Aug 1 15:59:37 ntop ntop[1514]: Configured on Dec 21 2009 22:55:32, built on Dec 21 2009 22:55:52.
Aug 1 15:59:37 ntop ntop[1514]: Copyright 1998-2007 by Luca Deri <email address hidden>
Aug 1 15:59:37 ntop ntop[1514]: Get the freshest ntop from http://www.ntop.org/
Aug 1 15:59:37 ntop ntop[1514]: NOTE: ntop is running from '/usr/sbin'
Aug 1 15:59:37 ntop ntop[1514]: NOTE: (but see warning on man page for the --instance parameter)
Aug 1 15:59:37 ntop ntop[1514]: NOTE: ntop libraries are in '/usr/lib'
Aug 1 15:59:37 ntop ntop[1514]: Initializing ntop
Aug 1 15:59:37 ntop ntop[1514]: PROTO_INIT: Processing protocol file: '/etc/ntop/protocol.list', size: 390
Aug 1 15:59:37 ntop kernel: [ 336.987204] device eth0 entered promiscuous mode
Aug 1 15:59:37 ntop ntop[1514]: Checking eth0 for additional devices
Aug 1 15:59:37 ntop ntop[1514]: Resetting traffic statistics for device eth0
Aug 1 15:59:37 ntop ntop[1514]: Initializing device eth0 (0)
Aug 1 15:59:37 ntop ntop[1514]: DLT: Device 0 [eth0] is 1, mtu 1514, header 14
Aug 1 15:59:37 ntop ntop[1514]: Initializing gdbm databases
Aug 1 15:59:37 ntop ntop[1514]: VENDOR: Loading MAC address table.
Aug 1 15:59:37 ntop ntop[1514]: VENDOR: Checking for MAC address table file
Aug 1 15:59:37 ntop ntop[1514]: VENDOR: File '/etc/ntop/specialMAC.txt' does not need to be reloaded
Aug 1 15:59:37 ntop ntop[1514]: VENDOR: ntop continues ok
Aug 1 15:59:37 ntop ntop[1514]: VENDOR: Checking for MAC address table file
Aug 1 15:59:37 ntop ntop[1514]: VENDOR: File '/etc/ntop/oui.txt' does not need to be reloaded
Aug 1 15:59:37 ntop ntop[1514]: VENDOR: ntop continues ok
Aug 1 15:59:37 ntop ntop[1514]: Fingerprint: Loading signature file
Aug 1 15:59:37 ntop ntop[1514]: Fingerprint: Checking for Fingerprint file... file
Aug 1 15:59:37 ntop ntop[1514]: Fingerprint: Loading file '/etc/ntop/etter.finger.os'
Aug 1 15:59:37 ntop ntop[1514]: Fingerprint: ...loaded 1765 records
Aug 1 15:59:37 ntop ntop[1514]: INIT: Parent process is exiting (this is normal)
Aug 1 15:59:37 ntop ntop[1515]: INIT: Bye bye: I'm becoming a daemon...
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140673025296128]: Now running as a daemon
Aug 1 15:59:37 ntop ntop[1515]: -m: Discarded unnecessary parameter 172.31.1.0/24 - this is the local network
Aug 1 15:59:37 ntop ntop[1515]: ASN: Checking for Autonomous System Number table file
Aug 1 15:59:37 ntop ntop[1515]: ASN: Loading file '/etc/ntop/AS-list.txt'
Aug 1 15:59:37 ntop ntop[1515]: ASN: ...found 111435 lines
Aug 1 15:59:37 ntop ntop[1515]: ASN: ....Used 7560 KB of memory (24 per entry)
Aug 1 15:59:37 ntop ntop[1515]: I18N: Default language (from ntop host) is 'C'
Aug 1 15:59:37 ntop ntop[1515]: I18N: This instance of ntop supports 0 additional language(s)
Aug 1 15:59:37 ntop ntop[1515]: IP2CC: Checking for IP address <-> Country Code mapping file
Aug 1 15:59:37 ntop ntop[1515]: IP2CC: Loading file '/etc/ntop/p2c.opt.table'
Aug 1 15:59:37 ntop ntop[1515]: IP2CC: ...found 52395 lines
Aug 1 15:59:37 ntop ntop[1515]: Database support not compiled into ntop
Aug 1 15:59:37 ntop ntop[1515]: Initializing external applications
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672885819152]: NPA: Started thread for network packet analyzer (eth0)
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672877426448]: SFP: Started thread for fingerprinting
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672869033744]: SIH: Started thread for idle hosts detection
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672860641040]: DNSAR(1): Started thread for DNS address resolution
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672852248336]: DNSAR(2): Started thread for DNS address resolution
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672843855632]: DNSAR(3): Started thread for DNS address resolution
Aug 1 15:59:37 ntop ntop[1515]: Calling plugin start functions (if any)
Aug 1 15:59:37 ntop ntop[1515]: SSL is present but https is disabled: use -W <https port> for enabling it
Aug 1 15:59:37 ntop ntop[1515]: INITWEB: Initializing web server
Aug 1 15:59:37 ntop ntop[1515]: INITWEB: Initializing TCP/IP socket connections for web server
Aug 1 15:59:37 ntop ntop[1515]: INITWEB: Initialized socket, port 3000, address (any)
Aug 1 15:59:37 ntop ntop[1515]: INITWEB: Waiting for HTTP connections on port 3000
Aug 1 15:59:37 ntop ntop[1515]: INITWEB: Starting web server
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672835462928]: INITWEB: Started thread for web server
Aug 1 15:59:37 ntop ntop[1515]: Listening on [eth0]
Aug 1 15:59:37 ntop ntop[1515]: Loading Plugins
Aug 1 15:59:37 ntop ntop[1515]: Searching for plugins in /usr/lib/ntop/plugins
Aug 1 15:59:37 ntop ntop[1515]: SFLOW: Welcome to sFlow.(C) 2002-04 by Luca Deri
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672860641040]: DNSAR(1): Address resolution thread running
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672852248336]: DNSAR(2): Address resolution thread running
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672843855632]: DNSAR(3): Address resolution thread running
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672869033744]: SIH: Idle host scan thread starting [p1515]
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672877426448]: SFP: Fingerprint scan thread starting [p1515]
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672835462928]: WEB: Server connection thread starting [p1515]
Aug 1 15:59:37 ntop ntop[1515]: Note: SIGPIPE handler set (ignore)
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672835462928]: WEB: Server connection thread running [p1515]
Aug 1 15:59:37 ntop ntop[1515]: WEB: ntop's web server is now processing requests
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672885819152]: NPA: network packet analyzer (packet processor) thread running [p1515]
Aug 1 15:59:37 ntop ntop[1515]: PDA: Welcome to PDA. (C) 2001-2005 by L.Deri and W.Brock
Aug 1 15:59:37 ntop ntop[1515]: NETFLOW: Welcome to NetFlow.(C) 2002-07 by Luca Deri
Aug 1 15:59:37 ntop ntop[1515]: RRD: Welcome to Round-Robin Databases. (C) 2002-07 by Luca Deri.
Aug 1 15:59:37 ntop ntop[1515]: ICMP: Welcome to ICMP Watch. (C) 1999-2005 by Luca Deri
Aug 1 15:59:37 ntop ntop[1515]: Remote: Welcome to Remote. (C) 2006-07 by L.Deri
Aug 1 15:59:37 ntop ntop[1515]: LASTSEEN: Welcome to Host Last Seen. (C) 1999 by Andrea Marangoni
Aug 1 15:59:37 ntop ntop[1515]: Calling plugin start functions (if any)
Aug 1 15:59:37 ntop ntop[1515]: NETFLOW: Welcome to the netFlow plugin
Aug 1 15:59:37 ntop ntop[1515]: NETFLOW: initializing '2' devices
Aug 1 15:59:37 ntop ntop[1515]: NETFLOW: createNetFlowDevice(2)
Aug 1 15:59:37 ntop ntop[1515]: Creating dummy interface, 'NetFlow-device.2'
Aug 1 15:59:37 ntop ntop[1515]: NETFLOW: initializing deviceId=1
Aug 1 15:59:37 ntop ntop[1515]: NETFLOW: White list initialized to ''
Aug 1 15:59:37 ntop ntop[1515]: NETFLOW: Black list initialized to ''
Aug 1 15:59:37 ntop ntop[1515]: NETFLOW: Created a UDP socket (11)
Aug 1 15:59:37 ntop ntop[1515]: NETFLOW: Collector listening on port 2055
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT[t140672793966352]: NETFLOW: Started thread for receiving flows on port 2055
Aug 1 15:59:37 ntop ntop[1515]: Initializing device NetFlow-device.2 (1)
Aug 1 15:59:37 ntop ntop[1515]: NETFLOW: createNetFlowDevice created device 1
Aug 1 15:59:37 ntop ntop[1515]: RRD: Welcome to the RRD plugin
Aug 1 15:59:37 ntop ntop[1515]: RRD: Mask for new directories is 0700
Aug 1 15:59:37 ntop ntop[1515]: RRD: Mask for new files is 0066
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: Parameters:
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: dumpInterval 300 seconds
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: dumpShortInterval 10 seconds
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: dumpHours 72 hours by 300 seconds
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: dumpDays 90 days by hour
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: dumpMonths 36 months by day
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: dumpDomains no
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: dumpFlows no
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: dumpHosts no
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: dumpInterfaces yes
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: dumpASs yes
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: dumpMatrix no
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: dumpDetail high
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: hostsFilter
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: rrdPath /var/lib/ntop/rrd
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: umask 0066
Aug 1 15:59:37 ntop ntop[1515]: RRD_DEBUG: DirPerms 0700
Aug 1 15:59:37 ntop ntop[1515]: THREADMGMT: RRD: Started thread (t140672785045264) for data collection
Aug 1 15:59:37 ntop ntop[1515]: INIT: Created pid file (/var/run/ntop.pid)
Aug 1 15:59:37 ntop kernel: [ 337.255118] ntop[1517]: segfault at 10 ip 00007ff0fc89e81f sp 00007ff0f5635dd8 error 4 in libpthread-2.11.1.so[7ff0fc893000+18000]
Aug 1 15:59:37 ntop kernel: [ 337.259470] device eth0 left promiscuous mode

Revision history for this message
Sponge-Bob (david.peall) wrote :
Download full text (8.1 KiB)

Mon Sep 20 15:53:54 2010 NOTE: Interface merge enabled by default
Mon Sep 20 15:53:54 2010 Initializing gdbm databases
Mon Sep 20 15:53:54 2010 ntop will be started as user nobody
Mon Sep 20 15:53:54 2010 ntop v.3.3
Mon Sep 20 15:53:54 2010 Configured on Dec 21 2009 22:55:32, built on Dec 21 2009 22:55:52.
Mon Sep 20 15:53:54 2010 Copyright 1998-2007 by Luca Deri <email address hidden>
Mon Sep 20 15:53:54 2010 Get the freshest ntop from http://www.ntop.org/
Mon Sep 20 15:53:54 2010 NOTE: ntop is running from '/usr/sbin'
Mon Sep 20 15:53:54 2010 NOTE: (but see warning on man page for the --instance parameter)
Mon Sep 20 15:53:54 2010 NOTE: ntop libraries are in '/usr/lib'
Mon Sep 20 15:53:54 2010 Initializing ntop
Mon Sep 20 15:53:54 2010 No default device configured. Using eth0
Mon Sep 20 15:53:54 2010 Checking eth0 for additional devices
Mon Sep 20 15:53:54 2010 Resetting traffic statistics for device eth0
Mon Sep 20 15:53:54 2010 Initializing device eth0 (0)
Mon Sep 20 15:53:54 2010 DLT: Device 0 [eth0] is 1, mtu 1514, header 14
Mon Sep 20 15:53:54 2010 Initializing gdbm databases
Mon Sep 20 15:53:54 2010 VENDOR: Loading MAC address table.
Mon Sep 20 15:53:54 2010 VENDOR: Checking for MAC address table file
Mon Sep 20 15:53:54 2010 VENDOR: File '/etc/ntop/specialMAC.txt' does not need to be reloaded
Mon Sep 20 15:53:54 2010 VENDOR: ntop continues ok
Mon Sep 20 15:53:54 2010 VENDOR: Checking for MAC address table file
Mon Sep 20 15:53:54 2010 VENDOR: File '/etc/ntop/oui.txt' does not need to be reloaded
Mon Sep 20 15:53:54 2010 VENDOR: ntop continues ok
Mon Sep 20 15:53:54 2010 Fingerprint: Loading signature file
Mon Sep 20 15:53:54 2010 Fingerprint: Checking for Fingerprint file... file
Mon Sep 20 15:53:54 2010 Fingerprint: Loading file '/etc/ntop/etter.finger.os'
Mon Sep 20 15:53:54 2010 Fingerprint: ...loaded 1765 records
Mon Sep 20 15:53:54 2010 ASN: Checking for Autonomous System Number table file
Mon Sep 20 15:53:54 2010 ASN: Loading file '/etc/ntop/AS-list.txt'
Mon Sep 20 15:53:54 2010 ASN: ...found 111435 lines
Mon Sep 20 15:53:54 2010 ASN: ....Used 7560 KB of memory (24 per entry)
Mon 20 Sep 2010 15:53:54 SAST I18N: Default language (from ntop host) is 'en_ZA'
Mon 20 Sep 2010 15:53:54 SAST I18N: This instance of ntop supports 0 additional language(s)
Mon 20 Sep 2010 15:53:54 SAST IP2CC: Checking for IP address <-> Country Code mapping file
Mon 20 Sep 2010 15:53:54 SAST IP2CC: Loading file '/etc/ntop/p2c.opt.table'
Mon 20 Sep 2010 15:53:54 SAST IP2CC: ...found 52395 lines
Mon 20 Sep 2010 15:53:54 SAST Database support not compiled into ntop
Mon 20 Sep 2010 15:53:54 SAST Initializing external applications
Mon 20 Sep 2010 15:53:54 SAST THREADMGMT[t140098120238864]: NPA: Started thread for network packet analyzer (eth0)
Mon 20 Sep 2010 15:53:54 SAST THREADMGMT[t140098111846160]: SFP: Started thread for fingerprinting
Mon 20 Sep 2010 15:53:54 SAST THREADMGMT[t140098103453456]: SIH: Started thread for idle hosts detection
Mon 20 Sep 2010 15:53:54 SAST THREADMGMT[t140098095060752]: DNSAR(1): Started thread for DNS address resolution
Mon 20 Sep 2010 15:53:54 SAST THREADMGMT[t140098086668048]: DNSAR(2): S...

Read more...

Revision history for this message
dave b. (d+b) wrote :

 1002.756967] ntop[2179]: segfault at 10 ip 00007fa5669baa5f sp 00007fa55f4fbc98 error 4 in libpthread-2.12.1.so[7fa5669af000+18000]
[ 1002.760684] device eth0 left promiscuous mode
[ 1085.200511] device eth0 entered promiscuous mode
[ 1085.589199] ntop[2239]: segfault at 10 ip 00007f3af9ad6a5f sp 00007f3af2617c98 error 4 in libpthread-2.12.1.so[7f3af9acb000+18000]
[ 1085.592313] device eth0 left promiscuous mode
[ 1096.934275] device eth0 entered promiscuous mode
[ 1097.191853] ntop[2261]: segfault at 10 ip 00007fc370988a5f sp 00007fc3694c9c98 error 4 in libpthread-2.12.1.so[7fc37097d000+18000]
[ 1097.194809] device eth0 left promiscuous mode
[ 1125.929538] device eth0 entered promiscuous mode
[ 1126.192662] ntop[2285]: segfault at 10 ip 00007f8f64cf5a5f sp 00007f8f5d836c98 error 4 in libpthread-2.12.1.so[7f8f64cea000+18000]
[ 1126.195996] device eth0 left promiscuous mode

I also have this problem on ubuntu 10.10.

Revision history for this message
dave b. (d+b) wrote :
Download full text (18.6 KiB)

there seems to be a race condition in my case:

root@boxen:~# ntop
Mon Nov 22 18:11:28 2010 NOTE: Interface merge enabled by default
Mon Nov 22 18:11:28 2010 Initializing gdbm databases
Mon Nov 22 18:11:28 2010 ntop will be started as user nobody
Mon Nov 22 18:11:28 2010 ntop v.3.3
Mon Nov 22 18:11:28 2010 Configured on Jun 15 2010 19:46:19, built on Jun 15 2010 19:46:40.
Mon Nov 22 18:11:28 2010 Copyright 1998-2007 by Luca Deri <email address hidden>
Mon Nov 22 18:11:28 2010 Get the freshest ntop from http://www.ntop.org/
Mon Nov 22 18:11:28 2010 NOTE: ntop is running from 'ntop'
Mon Nov 22 18:11:28 2010 NOTE: (but see warning on man page for the --instance parameter)
Mon Nov 22 18:11:28 2010 NOTE: ntop libraries are in '/usr/lib'
Mon Nov 22 18:11:28 2010 Initializing ntop
Mon Nov 22 18:11:28 2010 **WARNING** Truncated network size (device eth0) to 1024 hosts (real netmask 255.255.0.0)
Mon Nov 22 18:11:28 2010 Checking eth0 for additional devices
Mon Nov 22 18:11:28 2010 Resetting traffic statistics for device eth0
Mon Nov 22 18:11:28 2010 Initializing device eth0 (0)
Mon Nov 22 18:11:28 2010 DLT: Device 0 [eth0] is 1, mtu 1514, header 14
Mon Nov 22 18:11:28 2010 Initializing gdbm databases
Mon Nov 22 18:11:28 2010 VENDOR: Loading MAC address table.
Mon Nov 22 18:11:28 2010 VENDOR: Checking for MAC address table file
Mon Nov 22 18:11:28 2010 VENDOR: File '/etc/ntop/specialMAC.txt' does not need to be reloaded
Mon Nov 22 18:11:28 2010 VENDOR: ntop continues ok
Mon Nov 22 18:11:28 2010 VENDOR: Checking for MAC address table file
Mon Nov 22 18:11:28 2010 VENDOR: File '/etc/ntop/oui.txt' does not need to be reloaded
Mon Nov 22 18:11:28 2010 VENDOR: ntop continues ok
Mon Nov 22 18:11:28 2010 Fingerprint: Loading signature file
Mon Nov 22 18:11:28 2010 Fingerprint: Checking for Fingerprint file... file
Mon Nov 22 18:11:28 2010 Fingerprint: Loading file '/etc/ntop/etter.finger.os'
Mon Nov 22 18:11:28 2010 Fingerprint: ...loaded 1765 records
Mon Nov 22 18:11:28 2010 ASN: Checking for Autonomous System Number table file
Mon Nov 22 18:11:28 2010 ASN: Loading file '/etc/ntop/AS-list.txt'
Mon Nov 22 18:11:28 2010 ASN: ...found 111435 lines
Mon Nov 22 18:11:28 2010 ASN: ....Used 7560 KB of memory (24 per entry)
Mon 22 Nov 2010 18:11:28 EST I18N: Default language (from ntop host) is 'en_AU'
Mon 22 Nov 2010 18:11:28 EST I18N: This instance of ntop supports 0 additional language(s)
Mon 22 Nov 2010 18:11:28 EST IP2CC: Checking for IP address <-> Country Code mapping file
Mon 22 Nov 2010 18:11:28 EST IP2CC: Loading file '/etc/ntop/p2c.opt.table'
Mon 22 Nov 2010 18:11:28 EST IP2CC: ...found 52395 lines
Mon 22 Nov 2010 18:11:28 EST Database support not compiled into ntop
Mon 22 Nov 2010 18:11:28 EST Initializing external applications
Mon 22 Nov 2010 18:11:28 EST THREADMGMT[t140287450130192]: NPA: network packet analyzer (packet processor) thread running [p2467]
Mon 22 Nov 2010 18:11:28 EST THREADMGMT[t140287450130192]: NPA: Started thread for network packet analyzer (eth0)
Mon 22 Nov 2010 18:11:28 EST THREADMGMT[t140287441737488]: SFP: Started thread for fingerprinting
Mon 22 Nov 2010 18:11:28 EST THREADMGMT[t140287433344784]...

Revision history for this message
Ludovico Cavedon (cavedon) wrote :

Ntop 3.3 is quite old. The latest upstream version (4.0.3) is currently packaged for maverick or in my PPA for older Ubuntu versions:
https://launchpad.net/~cavedon/+archive/ppa

Could you try it, please, and report if it fixes your issue?
Thanks for taking the time to report the bug.

Changed in ntop (Ubuntu):
status: New → Incomplete
Revision history for this message
Ludovico Cavedon (cavedon) wrote :

Sorry, the latest upstream version (4.0.3) is packages for natty. The version for maverick is in my PPA.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ntop (Ubuntu) because there has been no activity for 60 days.]

Changed in ntop (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.