From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14079 invoked by alias); 9 Nov 2010 15:12:16 -0000 Received: (qmail 14048 invoked by uid 22791); 9 Nov 2010 15:12:15 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Nov 2010 15:12:12 +0000 From: "pedro at codesourcery dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/12203] gdb internal error "infrun.c:2455" after trying to create realtime thread on Linux X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pedro at codesourcery dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 11 Nov 2010 18:28:00 -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 X-SW-Source: 2010-q4/txt/msg00105.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12203 Pedro Alves changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #3 from Pedro Alves 2010-11-09 15:11:53 UTC --- Thanks for the logs. Yep, it's the same root problem as PR 11692: LLTA: KILL(SIG0) LWP 6742 (OK) LLW: PTRACE_CONT LWP 6742, Unknown signal 77 (preempt 'handle') error creating thread: Operation not permitted LLW: waitpid 6742 received Trace/breakpoint trap (stopped) LLTA: KILL(SIG0) LWP 6742 (OK) LLW: Candidate event Trace/breakpoint trap (stopped) in LWP 6742. SC: kill LWP 6741 **** SC: lwp kill 0 ERRNO-OK WL: waitpid LWP 6741 received Stopped (signal) (stopped) LLW: trap ptid is LWP 6742. infrun: target_wait (-1, status) = infrun: -1 [process -1], infrun: status->kind = spurious infrun.c:2455: internal-error: handle_inferior_event: Assertion `inf' failed. A problem internal to GDB has been detected, That target_wait result of "-1, spurious" means that this code in linux-thread-db.c ran: /* Change ptids back into the higher level PID + TID format. If the thread is dead and no longer on the thread list, we will get back a dead ptid. This can occur if the thread death event gets postponed by other simultaneous events. In such a case, we want to just ignore the event and continue on. */ ptid = thread_from_lwp (ptid); if (GET_PID (ptid) == -1) ourstatus->kind = TARGET_WAITKIND_SPURIOUS; -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.