Consistently getting Assertion `tp` failed error
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
I have conditional breakpoint that looks something like this:
gdb> break xyz.c:99 if strcmp("some-string-here", buf) == 0
gdb> continue
I consistently get the following error during playback of a recording:
/build/gdb-cXfXJ3/gdb-7.11.1/gdb/thread.c:89: internal-error: inferior_thread: Assertion `tp' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
I'm on ubuntu 16.04 and rr (3db52cd5 from Aug 4) runs with a 100% pass rate when I do a make test. I'm using the system gdb (GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the conditional breakpoint during recording playback with rr commit 3db52cd5 on Ubuntu 16.04 using system GDB 7.11.1. Start by comparing this failure with rr's passing make test suite and inspect the reported inferior_thread assertion in GDB. Done means identifying a reproducible cause and a verified fix or documented incompatibility.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100