From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26209 invoked by alias); 2 Jul 2013 19:57:25 -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 26184 invoked by uid 48); 2 Jul 2013 19:57:24 -0000 From: "jan.kratochvil at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug tdep/15713] New: i386_linux_resume calls QUIT -> lock-up Date: Tue, 02 Jul 2013 19:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tdep X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.kratochvil at redhat 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-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cf_gcctarget 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: 2013-q3/txt/msg00015.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15713 Bug ID: 15713 Summary: i386_linux_resume calls QUIT -> lock-up Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: tdep Assignee: unassigned at sourceware dot org Reporter: jan.kratochvil at redhat dot com Target: i386-unknown-linux-gnu i386_linux_resume calls target_read() which calls QUIT;. But linux_nat_resume does not expect called linux_ops->to_resume may throw and in such case it will leave lwp_info as if the inferior resumed. But the real inferior was not yet resumed by i386_linux_resume. This leads to lock-up as GDB then tries to stop the inferior which is already stopped and so no new waitpid event gets generated. -- You are receiving this mail because: You are on the CC list for the bug.