Bug 1467723 - regression: perf commit cc1582c231ea breaks debugging with "rr"
regression: perf commit cc1582c231ea breaks debugging with "rr"
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Kernel Maintainer List
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-07-04 17:06 EDT by Michael Stahl
Modified: 2017-09-29 14:51 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-09-29 14:51:46 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michael Stahl 2017-07-04 17:06:51 EDT
Description of problem:
replay debugging with rr doesn't work

Version-Release number of selected component (if applicable):

How reproducible:
Sometimes, but not always

Steps to Reproduce:
1. rr record instdir/program/soffice
2. trigger some hard to reproduce crash
3. rr replay ~/.local/share/rr/latest

Actual results:

[ERROR /home/roc/rr/rr/src/ReplaySession.cc:545:guard_overshoot() errno: SUCCESS] Replay diverged; target registers mismatched:
[FATAL /home/roc/rr/rr/src/ReplaySession.cc:549:guard_overshoot() errno: SUCCESS]
 (task 14923 (rec:14535) at time 42867)
 -> Assertion `false' failed to hold. overshot target ticks=2734735504 by 33386

Expected results:

working replay debugging

Additional info:

4.11.3 does not have this problem: kernel-core-4.11.3-202.fc25.x86_64

rr developers claim this is a regression of commit cc1582c231ea
"perf/core: Drop kernel samples even though :u is specified"

LKML thread:
Comment 1 Michael Stahl 2017-09-29 14:51:46 EDT
works for me now, was fixed reportedly in 4.12.4 and 4.13

Note You need to log in before you can comment on or make changes to this bug.