This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tdep/15713] New: i386_linux_resume calls QUIT -> lock-up


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]