Package Details: rr-bin 5.1.0-1

Git Clone URL: https://aur.archlinux.org/rr-bin.git (read-only)
Package Base: rr-bin
Description: Binary record and Replay framework: lightweight recording and deterministic debugging
Upstream URL: http://rr-project.org/
Licenses: custom
Conflicts: rr, rr-git
Provides: rr
Submitter: Techcable
Maintainer: Techcable
Last Packager: Techcable
Votes: 0
Popularity: 0.000000
First Submitted: 2017-09-20 16:13
Last Updated: 2017-12-27 05:04

Latest Comments

resorte commented on 2018-03-01 21:12

Hi, I think there's some kind of problem with the build, because when I try to replay a recorded execution, I get a segfault.

If I run rr replay against any application I get a "Remote connection closed" message. But you can see the segfault by doing this:

  1. Run gdb --args rr replay -s 19999 in one terminal, and then run (if you see a SIGSEGV signal, just run continue).
  2. In another terminal run gdb and then target remote :19999.

After that, you should see something like "Thread 1 "rr" received signal SIGSEGV, Segmentation fault."

The backtrace is this:

#0  0x00007ffff6b82ab1 in getc () from /usr/lib/libc.so.6                                                                                                                                       
#1  0x0000000000485e4e in rr::GdbConnection::xfer(char const*, char*) ()                                                                                             
#2  0x0000000000486f53 in rr::GdbConnection::query(char*) ()     
#3  0x000000000048a506 in rr::GdbConnection::process_packet() ()                                                                                                                                                     
#4  0x000000000048b950 in rr::GdbConnection::get_request() ()              
#5  0x0000000000497f36 in rr::GdbServer::process_debugger_requests(rr::GdbServer::ReportState) ()
#6  0x00000000004991c2 in rr::GdbServer::debug_one_step(rr::GdbRequest&) ()                        
#7  0x000000000049b010 in rr::GdbServer::serve_replay(rr::GdbServer::ConnectionFlags const&) ()
#8  0x0000000000503717 in ?? ()
#9  0x000000000050555b in rr::ReplayCommand::run(std::vector<std::string, std::allocator<std::string> >&) ()
#10 0x0000000000450b74 in main ()

If I build the 5.1.0 version from git, it works just fine.