Package Details: rr-bin 5.7.0-1

Git Clone URL: https://aur.archlinux.org/rr-bin.git (read-only, click to copy)
Package Base: rr-bin
Description: Binary record and replay framework: lightweight recording and deterministic debugging
Upstream URL: http://rr-project.org/
Keywords: debugging execution reverse
Licenses: custom
Conflicts: rr, rr-git
Provides: rr
Submitter: Techcable
Maintainer: eklausmeier
Last Packager: eklausmeier
Votes: 5
Popularity: 0.000005
First Submitted: 2017-09-20 16:13 (UTC)
Last Updated: 2024-02-18 16:50 (UTC)

Latest Comments

eklausmeier commented on 2021-07-16 16:09 (UTC)

@duongdominhchau: Thanks for pointing out this omission and clear error messages. It is now corrected.

eklausmeier commented on 2021-07-16 02:39 (UTC)

Will take a look.

duongdominhchau commented on 2021-07-15 06:42 (UTC)

I got the following output when running rr record ./a:

rr: Saving execution to trace directory `/home/chau/.local/share/rr/a-4'.
[FATAL /home/roc/rr/rr/src/AddressSpace.cc:314:map_rr_page() errno: ENOENT]
 (task 42899 (rec:42899) at time 14)
 -> Assertion `page.is_open()' failed to hold. Failed to open rr_page file /usr/bin/../share/rr/rr_page_64
Tail of trace dump:
=== Start rr backtrace:
rr(_ZN2rr13dump_rr_stackEv+0x28)[0x56d088]
rr(_ZN2rr9GdbServer15emergency_debugEPNS_4TaskE+0x225)[0x5bfcd5]
rr[0x59f5be]
rr(_ZN2rr12AddressSpace11map_rr_pageERNS_18AutoRemoteSyscallsE+0x160)[0x4a4c90]
rr(_ZN2rr12AddressSpace17post_exec_syscallEPNS_4TaskE+0x71)[0x4a5251]
rr(_ZN2rr4Task17post_exec_syscallEv+0x26)[0x53a306]
rr[0x5e262f]
rr[0x544d67]
rr(_ZN2rr19rec_process_syscallEPNS_10RecordTaskE+0x285)[0x4ff795]
rr(_ZN2rr13RecordSession21syscall_state_changedEPNS_10RecordTaskEPNS0_9StepStateE+0x8e8)[0x510678]
rr(_ZN2rr13RecordSession11record_stepEv+0x4a2)[0x52a612]
rr(_ZN2rr13RecordCommand3runERSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE+0xd64)[0x513324]
rr(main+0x353)[0x498163]
/usr/lib/libc.so.6(__libc_start_main+0xd5)[0x7f2bcf1a2b25]
rr(_start+0x29)[0x498579]
=== End rr backtrace
Launch gdb with
  gdb '-l' '10000' '-ex' 'set sysroot /' '-ex' 'target extended-remote 127.0.0.1:42899' /home/chau/a

This package missed the whole /usr/share/rr directory. I checked the build dir, the files are there, but the PKGBUILD doesn't install them, thus result in file not found error.

Techcable commented on 2021-03-15 19:51 (UTC)

I'm going to recommend people use the rr package. It's been somewhat more reliable for me

This may change later though (Linux....)

olivierlm commented on 2020-01-31 15:13 (UTC)

Same issue with latest binary release, building from source works fine

resorte commented on 2018-03-01 21:12 (UTC) (edited on 2018-03-01 21:13 (UTC) by resorte)

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.