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

Thread crash in equeueBuffer #278

Open wangii opened 8 years ago

wangii commented 8 years ago

Around 0.5% of the play, I got this crash

Crashed: Thread
0  FreeStreamer                   0x1006c7114 astreamer::Audio_Queue::enqueueBuffer() + 220
1  FreeStreamer                   0x1006c6f98 astreamer::Audio_Queue::handleAudioPackets(unsigned int, unsigned int, void const*, AudioStreamPacketDescription*) + 132
2  FreeStreamer                   0x1006c9de0 astreamer::Audio_Stream::decodeSinglePacket(__CFRunLoopTimer*, void*) + 564
3  CoreFoundation                 0x18382981c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
4  CoreFoundation                 0x1838294c0 __CFRunLoopDoTimer + 884
5  CoreFoundation                 0x183826bd4 __CFRunLoopRun + 1520
6  CoreFoundation                 0x183750d10 CFRunLoopRunSpecific + 384
7  CoreFoundation                 0x18379e464 CFRunLoopRun + 112
8  FreeStreamer                   0x1006c7344 astreamer::Audio_Stream::decodeLoop(void*) + 136
9  libsystem_pthread.dylib        0x1834d7b28 _pthread_body + 156
10 libsystem_pthread.dylib        0x1834d7a8c _pthread_body + 154
11 libsystem_pthread.dylib        0x1834d5028 thread_start + 4

any suggestions, thanks!

evkurganova commented 8 years ago

Hi! I am facing same issue.

danialmoghaddam commented 6 years ago

I get this occasionally