public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/15713] New: i386_linux_resume calls QUIT -> lock-up
@ 2013-07-02 19:57 jan.kratochvil at redhat dot com
  2014-05-21 12:55 ` [Bug tdep/15713] " palves at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jan.kratochvil at redhat dot com @ 2013-07-02 19:57 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-29 11:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-02 19:57 [Bug tdep/15713] New: i386_linux_resume calls QUIT -> lock-up jan.kratochvil at redhat dot com
2014-05-21 12:55 ` [Bug tdep/15713] " palves at redhat dot com
2014-05-21 12:55 ` palves at redhat dot com
2014-05-29 11:52 ` palves at redhat dot com
2014-05-29 11:52 ` palves at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).