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 breakpoints/16292] New: GDB Oversteps a range in some cases.


https://sourceware.org/bugzilla/show_bug.cgi?id=16292

            Bug ID: 16292
           Summary: GDB Oversteps a range in some cases.
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: palves at sourceware dot org
          Reporter: saugustine at google dot com

Log below shows gdb 7.6, but I have reprod with top of trunk.

Situation is a heavily multi-threaded application, setting a breakpoint and
stepping over a line or two with "n". We have also seen it with "fin". More
details to follow.

I have unsuccessfully tried to find a small test case, but at least one place
this happens is while debugging the chrome web browser, which is very much not
small.

../../gdb-7.6.x/gdb/infrun.c:1965: internal-error: resume: Assertion
`pc_in_thread_step_range (pc, tp)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

Some work has been done here that isn't quite right, but is at least in the
neighborhood. 

https://github.com/palves/gdb/commit/b6b55ba610f8db5d89ec7405c93013a10d9a1c20
https://github.com/palves/gdb/commit/1d56ddf439b6f7e7fa9759cf1f8e02106eea6af5

-- 
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]