From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5919 invoked by alias); 25 Jun 2015 17:08:05 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 5895 invoked by uid 48); 25 Jun 2015 17:08:04 -0000 From: "simon.marchi at ericsson dot com" To: gdb-prs@sourceware.org Subject: [Bug threads/18600] New: After forking and threads spawning, gdb leaves newly created threads stopped Date: Thu, 25 Jun 2015 17:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: threads X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon.marchi at ericsson dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q2/txt/msg00458.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18600 Bug ID: 18600 Summary: After forking and threads spawning, gdb leaves newly created threads stopped Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: threads Assignee: unassigned at sourceware dot org Reporter: simon.marchi at ericsson dot com Target Milestone: --- When a program forks and the fork childs start threads, some newly created threads are left stopped by gdb. It's easy to reproduce with the following example: https://github.com/simark/gdb-fork-threads-test/ It worked with gdb 7.9, I bisected it and found that this commit introduces the regression. commit 2db9a4275ceada4aad3443dc157b96dd2e23afc0 Author: Pedro Alves Date: Fri Feb 20 20:21:59 2015 +0000 GNU/Linux: Stop using libthread_db/td_ta_thr_iter -- You are receiving this mail because: You are on the CC list for the bug.