Subject: pkg/31104: gftp crashes with threading error
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dhgutteridge@sympatico.ca>
List: pkgsrc-bugs
Date: 08/31/2005 04:12:00
>Number:         31104
>Category:       pkg
>Synopsis:       gftp crashes with threading error
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 31 04:12:00 +0000 2005
>Originator:     David H. Gutteridge
>Release:        2.0.2/i386 and 2.1-RC1/i386
>Organization:
>Environment:
NetBSD arcusii.nonus-porta.net 2.0.2 NetBSD 2.0.2 (GENERIC.MP) #0: Wed Mar 23 09:10:48 UTC 2005  jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC.MP i386

NetBSD arcusiii.nonus-porta.net 2.1_RC1 NetBSD 2.1_RC1 (GENERIC) #0: Sat Aug 27 19:42:06 UTC 2005  riz@faith.netbsd.org:/home/builds/ab/netbsd-2-1-RC1/i386/200508270646Z-obj/home/builds/ab/netbsd-2-1-RC1/src/sys/arch/i386/compile/GENERIC i386


>Description:
If I open gftp 2.0.18, and pick NetBSD from the bookmarks menu (for example), it crashes immediately with a threading error.

gftp-gtk: Error detected by libpthread: Unlocking unlocked mutex.
Detected by file "/home/builds/ab/netbsd-2-1-RC1/src/lib/libpthread/pthread_mutex.c", line 345, function "pthread_mutex_unlock".
See pthread(3) for information.

[1] + Abort                gftp  (core dumped)
>How-To-Repeat:
1. Start gftp.
2. Select site from a bookmark (or for that matter, enter the specifics yourself).
>Fix:
Haven't tried a debug build yet or anything, tracking down other stuff right now.  (Sorry.)