Subject: pkg/35261: problem with electric
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <timeox@gmail.com>
List: pkgsrc-bugs
Date: 12/15/2006 18:50:00
>Number:         35261
>Category:       pkg
>Synopsis:       problem with electric
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 15 18:50:00 +0000 2006
>Originator:     Ulrich Etile
>Release:        3.1
>Organization:
>Environment:
NetBSD  3.1 NetBSD 3.1 (alpha) #3: Sat Nov 25 11:44:26 UTC 2006  root@cyd0nia:/usr/src/sys/arch/i386/compile/alpha i386
>Description:
When I compile electric from pkgsrc/cad/electric, there is no problem. But when i want execute it, it don't launch itself.

# /usr/pkg/bin/electric  
electric: Error detected by libpthread: Unlocking unlocked mutex.
Detected by file "/home/builds/ab/netbsd-3-1-RELEASE/src/lib/libpthread/pthread_mutex.c", line 363, function "pthread_mutex_unlock".
See pthread(3) for information.

Abort
>How-To-Repeat:
just execute electric
>Fix:
temporary fix :

set the value "a" to PTHREAD_DIAGASSERT variable and execute electric like that :

# PTHREAD_DIAGASSERT=a electric