We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Isn't this supposed to be set to 0 (NULL)?
Code:
from memory import alloc pointer = alloc(4, False) pointer.set_pointer(None)
Output:
Thread 1 "srcds_linux" received signal SIGSEGV, Segmentation fault. 0xf0441c67 in CPointer::SetPtr(boost::python::api::object, int) () from /home/steam/csgo_ds/csgo/addons/source-python/bin/core.so => 0xf0441c67 <_ZN8CPointer6SetPtrEN5boost6python3api6objectEi+71>: 8b 48 04 mov ecx,DWORD PTR [eax+0x4]
The text was updated successfully, but these errors were encountered:
My first guess would be that pPtr is NULL there:
pPtr
NULL
Source.Python/src/core/modules/memory/memory_utilities.h
Lines 81 to 84 in 12a24f4
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Isn't this supposed to be set to 0 (NULL)?
Code:
Output:
The text was updated successfully, but these errors were encountered: