Mutex Crash #2835
-
|
What can be the root cause of this crash? I don't know how to cause crash like this it happened 4 times. I have different threads that handles several operations. They have their own mutexes, i used unique_lock, condition variables etc... I have a timer thread that runs 1ms per tick. It seems like my timer thread stopped. In order to be clossed should call close() event which calls m_condition.notify_all(); and joins the timer thread. In order to start this closing sequence my app needs to be closed. Which i don't think it is the reason but i have suspicions. Where should i look first? osgEarth version: 3.7.0 With address sanitizer i got this. Crash happens because i am doing something extremely wrong i guess. Like allocation a lot of stuff maybe? Any idea what could be the reason? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I found it, i had memory leak when playing sounds. So i ran out of memory and it resulted this crash. |
Beta Was this translation helpful? Give feedback.
I found it, i had memory leak when playing sounds. So i ran out of memory and it resulted this crash.