Bug 59350 - High CPU usage on close app With Threads open
Summary: High CPU usage on close app With Threads open
Status: NEEDINFO
Alias: None
Product: Runtime
Classification: Mono
Component: General (show other bugs)
Version: 5.2
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-09-08 16:28 UTC by mxater
Modified: 2017-09-21 20:54 UTC (History)
4 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
High cpu usage by mono and app (13.37 KB, image/png)
2017-09-08 16:28 UTC, mxater
Details

Description mxater 2017-09-08 16:28:15 UTC
Created attachment 24656 [details]
High cpu usage by mono and app

I using C#, is a console app, when I close the app with "Environment.Exit(0)", the app begin to use a lot CPU.

My app has openend Threads, and I close this before send Exit().

I use Thread.Sleep() before Exit().
Comment 1 Ludovic Henry 2017-09-21 20:54:51 UTC
Could you please attach with a debugger (lldb or gdb) and provide the stacktraces of all the threads? Thank you

Note You need to log in before you can comment on or make changes to this bug.