-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
alloc-dealloc-mismatch (operator new vs free) on 0x603000596cb0 #55560
Comments
Tagging subscribers to this area: @tommcdon Issue DetailsDescriptionWhat's the correct way to debug a segfault in dotnet ? I fail to understand the minimal steps to combine gdb and dotnet: Currently one my xUnit test produces a segfault. If I compile my native code with -sanitize-=address, here is what I can collect:
ConfigurationHere is my config:
Here is how I load the asan library:
|
The above is the symptoms of an invalid string / const char* pinvoke signature. Full reference: |
Description
What's the correct way to debug a segfault in dotnet ? I fail to understand the minimal steps to combine gdb and dotnet:
Currently one my xUnit test produces a segfault. If I compile my native code with -sanitize-=address, here is what I can collect:
Configuration
Here is my config:
Here is how I load the asan library:
% export LD_PRELOAD=/usr/lib/gcc/x86_64-linux-gnu/8/libasan.so
The text was updated successfully, but these errors were encountered: