-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Access violation in stringlib_default_find #106615
Comments
The stack trace is displayed without private symbols, so the debugger lists addresses relative to exported symbol names such
Here's the source link for cpython/Objects/stringlib/fastsearch.h Lines 549 to 606 in d0b7e18
In the source, |
I believe this is duplicate of #105235 |
Yes, this is a duplicate of #105235. |
Crash report
I was able to simplify code to minimal one but it still needs input file to map: example.zip (needs to be unpacked before using)
C:\python311x64\python.exe crash.py example.bin
So crash will happen on
buf.find
call.If don't use mmap (just read to buf) — no crash.
If change file or pattern to find — no crash.
Error messages
Access violation - code c0000005 (first/second chance not available)
Crash dump can provide on demand.
Your environment
For me it reproduces only on Windows with CPython 3.11.0 - 3.11.4 only. For 3.10.x — no crash
The text was updated successfully, but these errors were encountered: