muhku / FreeStreamer

A low-memory footprint streaming audio player for iOS and OS X
http://muhku.github.io/FreeStreamer/
Other
2.11k stars 435 forks source link

[Crash] mutex lock failed: Invalid argument #334

Open CodeEagle opened 7 years ago

CodeEagle commented 7 years ago

Steps to trigger this crash

  1. iPhone, Goto Setting -> Developer -> Status
  2. Enable and chose Very Bad Network
  3. Build and run in the iPhone mention above.
  4. wait
    libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

some logs

[audio_stream.cpp:243 thread 403] void astreamer::Audio_Stream::open(astreamer::Input_Stream_Position *): HTTP stream opened, buffering...
[audio_stream.cpp:1161 thread 403] state set: BUFFERING
[audio_stream.cpp:1658 thread 403] Starting the startup watchdog, period 30 seconds
libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
AnasMostefaoui commented 7 years ago

I'm facing the exact same issue when playing from simulator, specialy when I do seeking or change stream (play diffirent item) Notice that on the real device I didn't get this crash yet.