Problem invoking --bug-report=rr
in a docker image. I have the following packages installed in the Debian image:
Status `~/.julia/environments/v1.6/Project.toml`
[bcf9a6e7] BugReporting v0.1.3
[7073ff75] IJulia v1.23.2
[c3e4b0f8] Pluto v0.12.21
It’s 1.6 RC1 as RC2 is not yet available as a docker image. I get this:
arthur@767b47f0c62f:~$ julia --bug-report=rr
[ Info: Loading BugReporting package...
[FATAL /workspace/srcdir/rr/src/util.cc:1267:running_under_rr() errno: EPERM] Unexpected result for rrcall_check_presence: -1
=== Start rr backtrace:
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr(_ZN2rr13dump_rr_stackEv+0x28)[0x5a0fc8]
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr(_ZN2rr15notifying_abortEv+0x47)[0x5a4e57]
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr[0x5c9a12]
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr(_ZN2rr16running_under_rrEb+0xb9)[0x5a1a69]
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr[0x50caca]
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr[0x50d8d9]
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr[0x5c7028]
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr(_ZN2rr17GdbCommandHandler16register_commandERNS_10GdbCommandE+0x2a)[0x4f45ca]
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr[0x4bdf12]
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr[0x4be006]
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr[0x4c0e69]
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr(__libc_csu_init+0x45)[0x727e75]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x7a)[0x7f7e3bccc02a]
/home/arthur/.julia/artifacts/24f3eb6277df1f22a6de3755306d033449697322/bin/rr[0x4c19ae]
=== End rr backtrace
[ Info: Preparing trace directory for upload (if your trace is large this may take a few minutes)
Rr is installed:
arthur@767b47f0c62f:~$ rr --version
rr version 5.4.0
Installing BugReporting
seemed to work when run in Dockerfile, but not when I tried it just from the command line. I’ll put the stack trace as a comment as it’s rather long.
Note that the original poster on Slack cannot see your response here on Discourse. Consider transcribing the appropriate answer back to Slack, or pinging the poster here on Discourse so they can follow this thread.
(Original message ) (More Info)