Open the-sun-will-rise-tomorrow opened 1 year ago
Same issue here on macOS.
Experiencing this as well on NixOS, regardless of whether I manage rbw's config via nix or not.
I get this same issue on macOS with rbw installed via Nix, though setting RUST_BACKTRACE=1
doesn't give me any more information
can you give this a try with version 1.10.0? i updated the dependency in use here, which may help.
@doy I still see the same error
and the only entry in agent.err
is
WARN rbw_agent] failed to disable PTRACE_ATTACH, agent memory may be dumpable by other processes: unimplemented on this platform
did this just start happening recently? or has it always crashed?
For me at least, this has always happened
can you give me the output of ulimit -l
and du -sh ~/.cache/rbw
(or du -sh ~/Library/Caches/rbw
if you're on macos)?
[sam](~)$ ulimit -l
unlimited
[sam](~)$ du -sh ~/Library/Caches/rbw
0B /Users/sam/Library/Caches/rbw
@doy I noticed that there were some new commits after v1.10.0, so I tried building that version, but still no luck (with the same error)
i'm not sure what is actually going on here, but i've made this functionality optional in version 1.12 - let me know if this fixes the issue
Still no luck on v1.12.0:
[sam](/tmp)$ clear
[sam](/tmp)$ rm ~/Library/Application\ Support/rbw/agent.*
[sam](/tmp)$ rbw --version
rbw 1.12.0
[sam](/tmp)$ rbw login
rbw login: failed to parse message from agent: EOF while parsing a value at line 1 column 0
[sam](/tmp)$ c ~/Library/Application\ Support/rbw/agent.*
───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: /Users/sam/Library/Application Support/rbw/agent.err
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ [2024-07-28T20:04:50Z WARN rbw_agent] failed to disable PTRACE_ATTACH, agent memory may be dumpable by other processes: unimplemented on this platform
───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: /Users/sam/Library/Application Support/rbw/agent.out <EMPTY>
───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[sam](/tmp)$
For the record, v1.11.1 works fine on Linux
rbw login
fails withrbw login: failed to parse message from agent: EOF while parsing a value at line 1 column 0
.With
RUST_BACKTRACE=1 rbw login
, in.local/share/rbw/agent.err
: