Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Can't read version file

13 views
Skip to first unread message

jian he

unread,
Aug 29, 2023, 8:03:23 AM8/29/23
to rr-devel


same issue.
full error: 
jian@jian:~$ touch /home/jian/.local/share/rr/latest-trace/version
jian@jian:~$ rr replay  -p 1402352
[FATAL ./src/TraceStream.cc:1532:TraceReader() errno: ENOENT] Can't read version file /home/jian/.local/share/rr/latest-trace/version
=== Start rr backtrace:
rr(_ZN2rr13dump_rr_stackEv+0x5a)[0x55cdac38808a]
rr(_ZN2rr15notifying_abortEv+0x4f)[0x55cdac38811f]
rr(+0x1f4874)[0x55cdac3dd874]
rr(_ZN2rr11TraceReaderC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x34f)[0x55cdac38847f]
rr(_ZN2rr13ReplayCommand3runERSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE+0x12f9)[0x55cdac30def9]
rr(main+0x138)[0x55cdac227f88]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fe01f629d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fe01f629e40]
rr(_start+0x25)[0x55cdac22ab15]
=== End rr backtrace
Aborted (core dumped)

Kyle Huey

unread,
Sep 5, 2023, 12:25:27 PM9/5/23
to jian he, rr-devel
On Tue, Aug 29, 2023 at 5:03 AM jian he <[email protected]> wrote:


same issue.
full error: 
jian@jian:~$ touch /home/jian/.local/share/rr/latest-trace/version

You shouldn't be touching the version file. If you `rr record` it should be created automatically.

- Kyle
 
jian@jian:~$ rr replay  -p 1402352
[FATAL ./src/TraceStream.cc:1532:TraceReader() errno: ENOENT] Can't read version file /home/jian/.local/share/rr/latest-trace/version
=== Start rr backtrace:
rr(_ZN2rr13dump_rr_stackEv+0x5a)[0x55cdac38808a]
rr(_ZN2rr15notifying_abortEv+0x4f)[0x55cdac38811f]
rr(+0x1f4874)[0x55cdac3dd874]
rr(_ZN2rr11TraceReaderC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x34f)[0x55cdac38847f]
rr(_ZN2rr13ReplayCommand3runERSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE+0x12f9)[0x55cdac30def9]
rr(main+0x138)[0x55cdac227f88]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fe01f629d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fe01f629e40]
rr(_start+0x25)[0x55cdac22ab15]
=== End rr backtrace
Aborted (core dumped)

--
You received this message because you are subscribed to the Google Groups "rr-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/rr-devel/bc884a20-a86e-420e-b391-3b4536ce9938n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages