From owner-freebsd-threads@freebsd.org Wed Jul 8 10:16:05 2015 Return-Path: Delivered-To: freebsd-threads@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 583DB99662C for ; Wed, 8 Jul 2015 10:16:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 344481B45 for ; Wed, 8 Jul 2015 10:16:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t68AG54J015225 for ; Wed, 8 Jul 2015 10:16:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-threads@FreeBSD.org Subject: [Bug 201421] locking issues prevent new process creation Date: Wed, 08 Jul 2015 10:16:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: threads X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: FreeBSD@ShaneWare.Biz X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-threads@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2015 10:16:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201421 Bug ID: 201421 Summary: locking issues prevent new process creation Product: Base System Version: 10.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: threads Assignee: freebsd-threads@FreeBSD.org Reporter: FreeBSD@ShaneWare.Biz Current system is - FreeBSD leader.local 10.2-PRERELEASE FreeBSD 10.2-PRERELEASE #13 r285123: Sat Jul 4 15:30:32 ACST 2015 root@leader.local:/usr/obj/usr/src/sys/GENERIC amd64 For some time I have had repeated trouble forcing me to restart. I have had a couple of comments from freebsd-stable mailing list to suggest it is locking related but no suggestions for gathering more useful data. This isn't something I can say 'do this and it breaks', I can only say it has been a long time since I have had more than a few days uptime. Before changing to 10.1 (from 9.2) I only restarted about once a month after installing updates. While most programs already running will keep running ok, many new processes fail to start. An instance of top started earlier will stop updating(usually my first confirmation of needing to restart), ps and proctstat will always fail. I can run `xterm -e tcsh -f`, to bypass my shell login script. The only info I know to collect is `thread apply all bt` from kgdb. The info I have collected can be found with a copy of boot.dmesg at http://shaneware.biz/freebsddebugdata/ For the last two months I have included the uptime output and you will find 6 occasions I have made it to more than one day uptime. While I have had other restarts, these are occasions when I have been able to get kgdb output, others have usually been a complete lockup mostly when using poudriere. At least two occasions I have restarted, logged in and run startxfce4 then left it to sit while I had something else to do only to return maybe one or two hours later and have to restart again before I can do anything. The few times I have got an output from `procstat -kk -a` has been when inserting a usb memstick has failed to create a new device entry, preventing me from mounting the filesystem. Over the last 2 months I have had this happen on three occasions, each of which I was able to continue running without use of adding usb devices for between three and seven days uptime which is better than any other I have had. This makes me think that the usb or device creation may be a location of this issue. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-threads@freebsd.org Thu Jul 9 08:02:53 2015 Return-Path: Delivered-To: freebsd-threads@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 220A1996E94 for ; Thu, 9 Jul 2015 08:02:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0DD921196 for ; Thu, 9 Jul 2015 08:02:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t6982qfr089764 for ; Thu, 9 Jul 2015 08:02:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-threads@FreeBSD.org Subject: [Bug 201435] Make buildworld failed in /usr/src/lib/clang/libclangstaticanalyzerfrontend Date: Thu, 09 Jul 2015 08:02:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: threads X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ccs189@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-threads@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2015 08:02:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201435 Bug ID: 201435 Summary: Make buildworld failed in /usr/src/lib/clang/libclangstaticanalyzerfrontend Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: threads Assignee: freebsd-threads@FreeBSD.org Reporter: ccs189@gmail.com Created attachment 158558 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158558&action=edit AnalysisConsumer-ded77a Hi FreeBSD team, I currently update my src tree to r285299. When i try to buildworld, I encountered c++ error. c++: error: unable to execute command: Killed c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525 Target: x86_64-unknown-freebsd11.0 Thread model: posix I am using laptop x1-carbon 1st version to build the system. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-threads@freebsd.org Thu Jul 9 08:15:41 2015 Return-Path: Delivered-To: freebsd-threads@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 304E599512D for ; Thu, 9 Jul 2015 08:15:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1BA3018C8 for ; Thu, 9 Jul 2015 08:15:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t698FeuH003501 for ; Thu, 9 Jul 2015 08:15:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-threads@FreeBSD.org Subject: [Bug 201435] Make buildworld failed in /usr/src/lib/clang/libclangstaticanalyzerfrontend Date: Thu, 09 Jul 2015 08:15:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: threads X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ccs189@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-threads@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2015 08:15:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201435 --- Comment #1 from claudius --- I try to zip the buildword log, preprocessor script and file and upload to my google drive. Not sure if this is a proper way to summit bugs. https://drive.google.com/file/d/0B54HQrZQWnfnb191NTZUVHZFR3c/view?usp=sharing -- You are receiving this mail because: You are the assignee for the bug.