-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
c# program segfaults when ran under callgrind #113043
Comments
Tagging subscribers to this area: @mangod9 |
Can you compare 10.0 preview? If you want to look further - is there a way to resolve the stack trace symbols? |
Version 10 preview hangs using 100% I've installed these:
but no further strack trace symbols unfortunately. |
Is this a regression in 9? Does it work without the |
I can't test if it works in 8 as I use Lock from System.Threading. Regarding running without that environment variable:
|
@folkertvanheusden you can get symbols for the libcoreclr.so using the dotnet-symbol tool. You can install it using |
Hi, I'm afraid it says "ERROR: Not Found" on that file. In fact it says that on each file in that directory:
|
Note that I just got it to work (altough without any debug symbol thus not very useful) by doing:
Thus not a self-contained build. |
Did it say not found for the libcoreclr.so? That should not happen unless the dotnet build is not an official one from Microsoft. |
Yes:
These are microsoft packages:
|
Thanks @folkertvanheusden for verifying that. |
Sounds like it could be a symbol indexing issue (not uploading to the public symbol server). @hoyosjs |
Or is this a distro (source build) version of coreclr? Only Microsoft built builds are indexed on to the Microsoft symbol servers. |
No, this package comes from |
Description
Hello,
When I try to run a .net 9.0.1 c# program under callgrind (from valgrind), the program segfaults:
This is with this set:
Reproduction Steps
valgrind --tool=callgrind --main-stacksize=16777216 --fair-sched=yes dotnet run -c Release
Expected behavior
no segfault :-)
Actual behavior
segfault, see bug description
Regression?
don't know
Known Workarounds
No response
Configuration
Microsoft.AspNetCore.App 9.0.1 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.1 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
linux, ubuntu 24.10, x64
Other information
No response
The text was updated successfully, but these errors were encountered: