-
Notifications
You must be signed in to change notification settings - Fork 65
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
OSError: exception: access violation writing #28
Comments
HI Symeon, Congrats! :) I have seen this issue in the past but was unable to reproduce it. Could you provide more details about your environment? |
I will update Manul the next week, there are a lot of issues people reporting to me :) |
I can repro. |
Looks like this is a Win10 problem. It is able to get past this point on Win7. Perhaps it's a problem with the security descriptors? |
It seems like a lot of people having this issue on Windows 10. So far, I don't know why memory is not accessible and will try to figure out that. |
I am still unable to reproduce this. Can someone try an older version of Python (e.g. 3.4) in your environment? |
Python3.4 is no longer available to download with automatic configuration. Compiling from source is too variable of a process. Would it actually make a difference? The problem is in the call to memset from manul.py. It's writing to a mapped address, but that operation is throwing an access violation exception. |
I see. I don't think it will make a huge difference. The error is weird and might indicate some problem with Python itself rather than Manul. We are just using API provided by cPython, right? |
Yeah, |
Can someone try it again with the latest change? |
Fixed. |
Ubuntu fix works on my machine, thanks! |
Ok, I managed to finally reproduce this problem on Windows. There is a fix that works on my platform. Try to run with the latest patch. |
It's getting further, no longer are access violations popping up all over the place. DBI = dynamorio still doesn't seem to work. It says that the binaries aren't instrumented, which is kinda the point. |
could you show me your config file? |
|
Are you sure that you are using this config? This error usually happens when dbi options are not enabled. |
Yes, I'm sure. I can try using |
Could you also provide a command line that you use to run Manul? |
|
try to explicitly provide a path to the configuration file that you copy-pasted here. |
option "-c" for manul |
Same issue. I even deleted the config file from the default directory to make absolutely certain it's pointing at my copy. |
It is very weird. I have seen this error only when I forget to enable dbi=dynamorio option. Could open another issue about this. Seems like it is not related to this one. Thank you. I am closing this one for now. |
Hello Maksim!
Allow me to be the first to create an issue hehe :)
Thanks for the tool, (the talk was great as well!)
Am trying to run the test.exe sample just to experiment but I'm getting the following error:
I am using Python 3.7.2, I don't know why you recommend to use 3.4 (as it's officially has reached end-of-life). I did modified a few variables to see why this is happening, it looks like the memset comes from ctypes, but not sure why it's causing an issue here. Am I missing something here? Also, where's the code for
binafl.dll
, are you going to release that?Thanks so much!
The text was updated successfully, but these errors were encountered: