New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
radare2-cutter: 1.3 -> 1.4 #42572
radare2-cutter: 1.3 -> 1.4 #42572
Conversation
Added new required deps, minor org touchup.
Any idea what's causing the problem? Not a high priority at all but LMK if you have any insights/experience with this... :). |
Where does it crash? It works well for me: https://dl.thalheim.io/1b4cmDvETvFNmda-kYkspQ/Screenshot_20180626_103810.png |
Oh, good! Here's what I'm seeing:
.... Whoa! I'm seeing same crash simply running radare2 (2.6.0) from latest-- the r2 in my profile earlier (2.5.0, not sure where from) doesn't have this issue. Maybe it doesn't like my config or something? Will investigate, glad it works for you, sounds like problem with (or at least specific to) my setup! |
r2 works if I run it like this: $ nix run --store $HOME/test-store -f channel:nixos-unstable radare2 -c r2 --version But not like this: $ nix run -f channel:nixos-unstable radare2 -c r2 --version So a)looks like r2 bug, if anything and b)seems to definitely be related to my environment somehow. If this looks good to you, please merge :). I'll debug this separately and file issue(s) as appropriate or not :). |
valgrind complains:
Which I'm saying because wut. Hacking our expression to use latest radare2 from git fixes things, and hopefully indicates it's a bug they've since fixed in the 300+ commits made since 2.6.0 :). Unfortunately Cutter 1.4 doesn't build against it, haha, but I'm good for now. Thanks! |
Probably pinning radare2 in cutter is the best solution, given that it is not always en par with it. |
Yeah, I think that's probably best too. Should we merge this as-is and handle pinning r2 in a future PR? i'm sad I haven't sorted why it crashes for me but since it seems unrelated to Cutter (since r2 on master crashes for me, Cutter 1.3 crashes the same as 1.4) I think we can go ahead with this? |
Added new required deps, minor org touchup.
WIP because it seems to crash on startup, I haven't determined why.
It may need to use its internally pinned r2 version
instead of the "system" (currently 2.6.0) version we build against.
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)