From owner-freebsd-questions@FreeBSD.ORG Fri Feb 2 05:15:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8899C16A402 for ; Fri, 2 Feb 2007 05:15:30 +0000 (UTC) (envelope-from gregory.nou@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 2089C13C46B for ; Fri, 2 Feb 2007 05:15:29 +0000 (UTC) (envelope-from gregory.nou@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so1123562nfc for ; Thu, 01 Feb 2007 21:15:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=qB/67hJkhng2fxAEC560nlWDq+5gZITkN9NyP8TOnQXy/RHyuL2OqhtcWOmDf07qvgwaM1fo59X8gyoGp9JWSTZBypiyrWC9/0oAQGjy1K6VIc6PUXW0yU4GqCbogAPGyrxSAJXa+SfsBwNJv5mqZaPZM7SXMqtEXci2Y2o9UiI= Received: by 10.82.113.6 with SMTP id l6mr1070322buc.1170391720849; Thu, 01 Feb 2007 20:48:40 -0800 (PST) Received: by 10.82.185.15 with HTTP; Thu, 1 Feb 2007 20:48:40 -0800 (PST) Message-ID: <85c22ba00702012048m710cee5dpf08db29298d407ca@mail.gmail.com> Date: Thu, 1 Feb 2007 23:48:40 -0500 From: "Gregory Nou" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Problem of segmentation fault with a lot of KDE programs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 05:15:30 -0000 Hi, After trying to figure out how to solve the problem I have on my own, I'd like to submit it to you, to get some hints. Here it is: almost all programs related to kde (kdevelop, kghosviewer, kile, ...) and gaim are segfaulting, because of a problem which seems to be related to pthread. Please note that everything else is working fine : xfce-4.4, anjuta, firefox, etc... FreeBSD 7.0-CURRENT #6: Fri Feb 2 13:47:26 EST 2007 root@greg:/usr/obj/usr/src/sys/MYSMP i386 running gdb kile : Program received signal SIGSEGV, Segmentation fault. [Switching to LWP 100060] 0x29d0f1f9 in pthread_join () from /lib/libpthread.so.2 (gdb) bt #0 0x29d0f1f9 in pthread_join () from /lib/libpthread.so.2 #1 0x29d0374a in pthread_self () from /lib/libpthread.so.2 #2 0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2 #3 0x29d0f2b2 in pthread_join () from /lib/libpthread.so.2 #4 0x29d0374a in pthread_self () from /lib/libpthread.so.2 #5 0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2 #6 0x29d0f2b2 in pthread_join () from /lib/libpthread.so.2 #7 0x29d0374a in pthread_self () from /lib/libpthread.so.2 #8 0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2 ... and it goes far, repeating it ad vitam. (using ktrace and kdump, wc -l outputs 637047) By the way, the equivalent in the ktrace part is : 2913 kile CALL getpid 2913 kile RET getpid 2913/0xb61 2913 kile CALL getpid 2913 kile RET getpid 2913/0xb61 2913 kile CALL getpid 2913 kile RET getpid 2913/0xb61 Same for kdevelop-bin and all the kde-related who segfault (because some rare k(something) work, like konsole oder KDE System Guard) For gaim, the error message is a bit different, but bt gives the same output : Program received signal SIGSEGV, Segmentation fault. [Switching to LWP 100079] 0x28b38d3e in sysctl () from /lib/libc.so.6 (gdb) bt #0 0x28b38d3e in sysctl () from /lib/libc.so.6 #1 0x28a852b2 in pthread_join () from /lib/libpthread.so.2 #2 0x28a7974a in pthread_self () from /lib/libpthread.so.2 #3 0x28a79dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2 #4 0x28a852b2 in pthread_join () from /lib/libpthread.so.2 #5 0x28a7974a in pthread_self () from /lib/libpthread.so.2 #6 0x28a79dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2 I experience these problems for more than a week now. Everything is up-to-date on my system (src + ports) - last cvsup a few hours ago. I recompiled everything a few time. As I did not see feedback on forums or on mailing lists, I assume I am the only one who has this problem. Which makes me feel a bit lonely ;) Could you please me help me ? Also, I would be glad to provide any further information like dmesg, bt, ktrace, whatever, ... Thanks ! Gregory