-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
segfault when running ds with windbg plugin #10505
Comments
I'm working on the windbg backend anyway so I might take a look at this when I get a chance, just making an issue to track it. |
i dont have windbg setup, can you share a backtrace, register state, code involved, etc? or valgrind logs, or run it with asan. |
@radare will grab one for you when I get home tonight. |
Here you go @radare
|
the .step callback is not implemented in the windbg plugin, so its using sw step based ones from r2. the thing is... you are not using r2 from git. the linenumbers doesnt match the ones in code. please update |
for example:
in bp.c:227 we have this:
so imho your installation is fuckedup somehow |
I've been working in some of the windbg plugin files, unsure why the line numbers would be different in bp.c but I'll grab another backtrace from your master branch once I get home again (just got in to work and don't have a set up here for this). |
Here you go, this is from the current master branch:
|
calling free(2) is obviously wrong. can you build with asan so we can get a more complete picture of the problem? |
I have similar:
|
* Fix radareorg#10505 * Fix wrong register profile being picked * Fix use-after free(s) and null derefs
* Fix #10505 * Fix wrong register profile being picked * Fix use-after free(s) and null derefs
Work environment
commit: 2745486 build: 2018-06-27__09:22:22
Expected behavior
single step
Actual behavior
Steps to reproduce the behavior
radare2 -a x86 -b 32 -D windbg windbg:///tmp/windbg
ds
The text was updated successfully, but these errors were encountered: