From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 20 00:20:18 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF69016A423 for ; Tue, 20 Sep 2005 00:20:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44C6843D58 for ; Tue, 20 Sep 2005 00:20:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8K0KHiv031833 for ; Tue, 20 Sep 2005 00:20:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8K0KHbi031832; Tue, 20 Sep 2005 00:20:17 GMT (envelope-from gnats) Resent-Date: Tue, 20 Sep 2005 00:20:17 GMT Resent-Message-Id: <200509200020.j8K0KHbi031832@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Daniel O'Connor" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A645316A41F for ; Tue, 20 Sep 2005 00:13:49 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20A8843D45 for ; Tue, 20 Sep 2005 00:13:48 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.31]) (authenticated bits=0) by cain.gsoft.com.au (8.13.4/8.13.4) with ESMTP id j8K0DfWB046025 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Tue, 20 Sep 2005 09:43:47 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-Id: <200509200943.39962.doconnor@gsoft.com.au> Date: Tue, 20 Sep 2005 09:43:39 +0930 From: "Daniel O'Connor" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/86354: kopete exits on startup (possible thread/KSE problem) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 00:20:18 -0000 >Number: 86354 >Category: ports >Synopsis: kopete exits on startup (possible thread/KSE problem) >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 20 00:20:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Daniel O'Connor >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD inchoate.localdomain 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Thu Sep 15 12:51:11 CST 2005 darius@inchoate.localdomain:/usr/src/sys/i386/compile/INCHOATE i386 >Description: kopete exits on startup with.. [inchoate 9:21] ~ >kopete [inchoate 9:21] ~ >Fatal error 'kse_exit() failed for system scope thread' at line 1212 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 22) Fatal error 'Thread 0x8100200 has called pthread_exit() from a destructor. POSIX 1003.1 1996 s16.2.5.2 does not allow this!' at line 98 in file /usr/src/lib/libpthread/thread/thr_exit.c (errno = 3) Further to this, I found that I was pulling in libpthread.so.1 and libpthread.so.2. Qt had the former so I tried rebuilding it, but uic gets stuck when building libboxeditor.cpp.. /usr/tmp/work/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.4/bin/uic -L /usr/tmp/work/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.4/plugins listboxeditor.ui -i listboxeditor.h -o listboxeditor.cpp ktrace shows.. 12256 uic CALL kse_release(0xbfbfce0c) 12256 uic RET kse_release -1 errno 22 Invalid argument 12256 uic CALL kse_release(0xbfbfce0c) 12256 uic RET kse_release -1 errno 22 Invalid argument on and on. I tried copying the boostrap version of uic and libqtmt out of the build tree just in case it was using the system ones by accident but no change. With kopete using the bootstrap version of libqtmt it starts, but appears to stall when connecting to Jabber after it prints.. Mutex unlock failure: Operation not permitted ktrace shows it is doing *nothing*, although ctrl-t shows it is in the running state, then ksesigwait.. I can't kill it normally either, I have to -9 it. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: