Subject: pkg/22414: ntop2 crashes after some minutes working
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tripledes@eslack.org>
List: netbsd-bugs
Date: 08/09/2003 13:37:34
>Number:         22414
>Category:       pkg
>Synopsis:       ntop2 crashes with a pthreads message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 09 11:37:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergio Jimenez
>Release:        NetBSD 1.6W
>Organization:
>Environment:
	
	
System: NetBSD vadir 1.6W NetBSD 1.6W (VADIR) #0: Tue Aug 5 15:01:01 CEST 2003 root@vadir:/var/build/obj/sys/arch/i386/compile/VADIR i386
Architecture: i386
Machine: i386
>Description:
	ntop2 starts to work correctly, but after it gives a message related to mutex, it crashes ignoring PTHREAD_DIAGASSERT var. I've tried "AE" and "a" values, and it doesn't ignore errors and doesn't give a core file.
>How-To-Repeat:
	# export PTHREAD_DIAGASSERT=AE && ntop 
	Wait please: ntop is coming up...
	09/Aug/2003 11:31:28 ntop v.2.2 MT (SSL) [i386-unknown-netbsdelf1.6W] (08/07/03 11:27:27 PM build)
	09/Aug/2003 13:31:28 Copyright 1998-2003 by Luca Deri <deri@ntop.org>
	09/Aug/2003 13:31:28 Get the freshest ntop from http://www.ntop.org/
	09/Aug/2003 13:31:28 Initializing ntop
	....
	09/Aug/2003 13:31:29 THREADMGMT: Started thread (1221591040) for web server
	09/Aug/2003 13:31:29 Sniffying...
	09/Aug/2003 13:31:29 THREADMGMT: Started thread (1221853184) for network packet sniffing on ex0
	09/Aug/2003 13:31:29 THREADMGMT: Packet processor thread (1220804608) started...
	09/Aug/2003 13:31:29 THREADMGMT: Idle Scan thread (1221066752) started
	09/Aug/2003 13:31:29 THREADMGMT: Address resolution thread started...
	09/Aug/2003 13:31:29 THREADMGMT: web connections thread (1221591040) started...
	09/Aug/2003 13:31:29 THREADMGMT: pcap dispatch thread started...
	09/Aug/2003 13:32:29 IDLE_PURGE: purgeIdleHosts firstRun (mutex every 64 times through the loop)
	assertion "retval == 0" failed: file "/usr/src/lib/libpthread/pthread_alarms.c", line 105, function "pthread__alarm_add"
	# 

>Fix:
	don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: