-
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
dotnet run produces error: tpp.c:82: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= fifo_min_prio && new_prio <= fifo_max_prio)' failed. #74962
Comments
what is your OS and .NET version? (dotnet --info) |
.NET SDK (reflecting any global.json): Runtime Environment: global.json file: Host: .NET SDKs installed: .NET runtimes installed: |
When i run "dotnet build" i get Build succeeded. Time Elapsed 00:00:01.47 |
Can you build and run the app under debugger and get full trace? https://stackoverflow.com/questions/21825291/threading-issues suggest libc problem but I'm not sure. |
Process 123116 launched: '/home/ivanassenov/dev/dotnet-projects/HelloWorld/bin/Debug/net6.0/linux-x64/publish/HelloWorld' (x86_64)
|
backtrace? |
hm, not sure i followed you. i tried this |
can you run |
|
This issue is stale because there has been no response to a request for more information for 7 days. |
This issue was closed because there was no response to a request for more information for 10 days. |
yea, issue still exist, not sure what else to do |
transfering to .NET Runtime repo for further investigation |
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @dotnet/area-system-runtime Issue DetailsDescriptionWhen i create dotnet new console, Processing post-creation actions... restarted a few times, and tried few things. when I run with verbose I got Time Elapsed 00:00:00.72 ConfigurationRegression?No, first time installed Other information
|
I hope I chose an appropriate area for this issue, if this is not the right one please suggest a better option. |
It seems the problem is caused by the fact that it is running with FIFO scheduler. Can you please try to run it with the following command? That should run it with the default scheduler. chrt -o -p 0 dotnet run |
hm, I copy this command and run it as is but got this : |
I am sorry, my mistake, it should be chrt -o 0 dotnet run |
after i run it i got this: |
Hmm, I have assumed the fifo scheduler is being used based on the fifo_min_prio / fifo_max_prio in the assert. Maybe these names don't have to do anything with the FIFO scheduler then. |
This seems like more PAL or VM related since it appears to be a potential |
Tanner, to clarify, I am using pure Linux System 67 system, with POP OS |
I am investigating it now, trying to install Pop OS locally. |
Description
When i create dotnet new console,
I get
"The template "Console App" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on /home/ivanassenov/dev/dotnet-projects/dotnet-projects.csproj...
Determining projects to restore...
Restored /home/ivanassenov/dev/dotnet-projects/dotnet-projects.csproj (in 63 ms).
Restore succeeded.
"
then I run "dotnet restore"
"dotnet restore
Determining projects to restore...
All projects are up-to-date for restore.
"
Then I run "dotnet run"
I get this error
"tpp.c:82: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= fifo_min_prio && new_prio <= fifo_max_prio)' failed."
restarted a few times, and tried few things.
when I run with verbose I got
".....
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.72
tpp.c:82: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= fifo_min_prio && new_prio <= fifo_max_prio)' failed.
"
Any idea why hello world program wouldn't work??
Configuration
Regression?
No, first time installed
Other information
The text was updated successfully, but these errors were encountered: