Subject: pkg/31943: mutex problem in ntop
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <smb@cs.columbia.edu>
List: pkgsrc-bugs
Date: 10/28/2005 23:54:00
>Number:         31943
>Category:       pkg
>Synopsis:       I see 'Unlocking unlocked mutex' messages from ntop
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 28 23:54:00 +0000 2005
>Originator:     Steven M. Bellovin
>Release:        NetBSD 3.99.9
>Organization:
>Environment:
	
	
System: NetBSD bigboy.machshav.com 3.99.9 NetBSD 3.99.9 (BIGBOY) #0: Fri Oct 14 09:50:19 EDT 2005 smb@bigboy.machshav.com:/usr/BUILD/obj/sys/arch/i386/compile/BIGBOY i386
Architecture: i386
Machine: i386
>Description:
	I'm running ntop 3.1nb4 on a Soekris box, monitoring three
	interfaces.  Traffic fairly light.  I occasionally get messages
	about unlocking an unlocked mutex.  Here is the complete log since
	one recent start:

	# ntop -t 0 -M -i sip0,sip1,sip2 -D machshav.com -w 80
	Thu Oct 27 20:10:48 2005  ntop will be started as user nobody
	Thu Oct 27 20:10:48 2005  ntop v.3.1 MT (SSL)
	Thu Oct 27 20:10:48 2005  Configured on Oct 14 2005  7:38:19, built on Oct 14 20
	05 07:39:05.
	Thu Oct 27 20:10:48 2005  Copyright 1998-2004 by Luca Deri <deri@ntop.org>
	Thu Oct 27 20:10:48 2005  Get the freshest ntop from http://www.ntop.org/
	Thu Oct 27 20:10:48 2005  Initializing ntop
	Thu Oct 27 20:10:50 2005  I18N: This instance of ntop does not support multiple 
	languages
	Thu Oct 27 20:10:59 2005  INITWEB: Waiting for HTTP connections on port 80
	Thu Oct 27 20:10:59 2005  Listening on [sip0,sip1,sip2]
	Thu Oct 27 20:10:59 2005  Loading Plugins
	Thu Oct 27 20:10:59 2005  CHKVER: Checking current ntop version at version.ntop.
	org/version.xml
	Thu Oct 27 20:10:59 2005  WEB: ntop's web server is now processing requests
	Thu Oct 27 20:10:59 2005  LASTSEEN: Welcome to LastSeenWatchPlugin. (C) 1999 by 
	Andrea Marangoni
	Thu Oct 27 20:10:59 2005  ICMP: Welcome to icmpWatchPlugin. (C) 1999-2004 by Luc
	a Deri
	Thu Oct 27 20:10:59 2005  NETFLOW: Welcome to NetFlow.(C) 2002-04 by Luca Deri
	Thu Oct 27 20:10:59 2005  PDA: Welcome to PDAPlugin. (C) 2001-2004 by L.Deri and
	 W.Brock
	 Thu Oct 27 20:10:59 2005  RRD: Welcome to rrdPlugin. (C) 2002-04 by Luca Deri.
	 Thu Oct 27 20:10:59 2005  SFLOW: Welcome to sFlow.(C) 2002-04 by Luca Deri
	 Thu Oct 27 20:10:59 2005  SNMP: Welcome to snmpPlugin. (C) 2004 by F.Fusco and G
	 .Giardina
	 Thu Oct 27 20:10:59 2005  XML: Welcome to xmldump plugin. (C) 2003-2004 by Burto
	 n Strauss
	 Thu Oct 27 20:10:59 2005  Now running as requested user 'nobody' (32767:39)
	 ntop: Error detected by libpthread: Unlocking unlocked mutex.
	 Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 345, function "
	 pthread_mutex_unlock".
	 See pthread(3) for information.
	 jntop: Error detected by libpthread: Unlocking unlocked mutex.
	 Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 345, function "
	 pthread_mutex_unlock".
	 See pthread(3) for information.
	 ntop: Error detected by libpthread: Unlocking unlocked mutex.
	 Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 345, function "
	 pthread_mutex_unlock".
	 See pthread(3) for information.

>How-To-Repeat:
	See above
>Fix:
	

>Unformatted: