'threads' fails checksum validation
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- devtools, operating-systems
Research direction
Start at src/util.cc:312 in iterate_checksums() and reproduce with --checksum=after-syscalls, focusing on the shutdown path involving pthreads. Use the provided gdb command and trace details to investigate the mapping change; done means the checksum validation no longer fails for this case.
Written by the indexing model from the issue text.
Description
With --checksum=after-syscalls:
[FATAL /home/khuey/dev/rr/src/util.cc:312:iterate_checksums() errno: SUCCESS](task 19090 %28rec:19063%29 at time 228)
-> Assertion `rec_start_addr == m.map.start() && rec_end_addr == m.map.end()' failed to hold. Segment 0x7fa741e71000-0x7fa741f71000 changed to 0x7fa742171000-0x7fa742172000 ---p 00000000 00:00 0 ??
Launch gdb with
gdb '-l' '-1' '-ex' 'target extended-remote :19090' /home/khuey/.local/share/rr/latest-trace/mmap_hardlink_2_threads
It's at shutdown and seems to be related to pthreads somehow. Filing so I don't forget.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
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.
More from rr-debugger/rr
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rr-debugger/rr#4096 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
rr-debugger/rr#4093 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
rr-debugger/rr#4090 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
rr-debugger/rr#4060 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
rr-debugger/rr#4059 · 1 comment ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·