You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my demo code, Receive a user input parameter time microsecond, create an infinite loop, create a thread inside the loop, print the current time in the thread, and sleep the user input parameter time.
No matter how long I set the sleep interval, such as 200 microseconds, 1 second, 10 seconds, etc., the RssAnno physical memory of the program has a regular memory leak.
For the first time, 56 KB of physical memory is added to the AsanThread::Create application. Then, the memory is released in AsanThread::Destroy. An additional 60 KB memory is applied for the second time, but AsanThread::Destroy releases only 56 KB memory each time. As a result, 4 KB physical memory is leaked each time a thread is created twice.
This problem occurs in libasan.so of gcc10.3 and gcc12.1 of arm64 version.
Do you have a description and fix?
The text was updated successfully, but these errors were encountered:
In my demo code, Receive a user input parameter time microsecond, create an infinite loop, create a thread inside the loop, print the current time in the thread, and sleep the user input parameter time.
No matter how long I set the sleep interval, such as 200 microseconds, 1 second, 10 seconds, etc., the RssAnno physical memory of the program has a regular memory leak.
For the first time, 56 KB of physical memory is added to the AsanThread::Create application. Then, the memory is released in AsanThread::Destroy. An additional 60 KB memory is applied for the second time, but AsanThread::Destroy releases only 56 KB memory each time. As a result, 4 KB physical memory is leaked each time a thread is created twice.
This problem occurs in libasan.so of gcc10.3 and gcc12.1 of arm64 version.
Do you have a description and fix?
The text was updated successfully, but these errors were encountered: