iphone - Audio Streaming in background crash the app -


i using digitaldj's audiostreamer project (https://github.com/digitaldj/audiostreamer) stream audio in background in application. works fine when app in foreground gets crashed in ground. here strange crash log.

     incident identifier: f6f6b97c-1943-460d-8a4e-5608b47e6989 crashreporter key:   3a88f20a9e18f468445bddc212b7aa673c6dc89b hardware model:      ipod4,1 process:         imixtapes [1075] path:            /var/mobile/applications/7c64d2d8-0c63-4a73-8452-763209481693/imixtapes.app/imixtapes identifier:      imixtapes version:         ??? (???) code type:       arm (native) parent process:  launchd [1]  date/time:       2011-02-18 13:24:15.849 +0530 os version:      iphone os 4.2.1 (8c148) report version:  104  exception type:  00000020 exception codes: 0x8badf00d highlighted thread:  6  application specific information: imixtapes[1075] has active assertions beyond permitted time:  {(     <sbprocessassertion: 0x66ce420> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66f2970> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66c60b0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66b4970> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66c7850> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66e55a0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66c5e40> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66b47d0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66eaba0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66ebfe0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66f1da0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66afb90> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66b18b0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x275940> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66b1820> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x2c88a0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66b7b70> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66b7700> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66c6230> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66793a0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66ad010> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66c7820> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66b7d20> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66b7180> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66f2530> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66f2720> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66b72a0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66f21e0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66f2650> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66b73c0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66b7830> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x6691270> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66c6010> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66b1ac0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x2733f0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep ,     <sbprocessassertion: 0x66e74e0> identifier: uikitbackgroundcompletiontask process: imixtapes[1075] permittedbackgroundduration: 600.000000 reason: finishtask owner pid:1075 preventsuspend  preventidlesleep  )}  elapsed total cpu time (seconds): 86.390 (user 41.340, system 45.050), 14% cpu  elapsed application cpu time (seconds): 6.290, 1% cpu  thread 0: 0   libsystem.b.dylib               0x31093268 mach_msg_trap + 20 1   libsystem.b.dylib               0x31095354 mach_msg + 44 2   corefoundation                  0x30416648 __cfrunloopservicemachport + 88 3   corefoundation                  0x30415ed2 __cfrunlooprun + 350 4   corefoundation                  0x30415c80 cfrunlooprunspecific + 224 5   corefoundation                  0x30415b88 cfrunloopruninmode + 52 6   graphicsservices                0x31eec4a4 gseventrunmodal + 108 7   graphicsservices                0x31eec550 gseventrun + 56 8   uikit                           0x313cf322 -[uiapplication _run] + 406 9   uikit                           0x313cce8c uiapplicationmain + 664 10  imixtapes                       0x00002348 main (main.m:14) 11  imixtapes                       0x000022fc start + 32  thread 1: 0   libsystem.b.dylib               0x310bf974 kevent + 24 1   libsystem.b.dylib               0x31169704 _dispatch_mgr_invoke + 88 2   libsystem.b.dylib               0x31169174 _dispatch_queue_invoke + 96 3   libsystem.b.dylib               0x31168b98 _dispatch_worker_thread2 + 120 4   libsystem.b.dylib               0x3110d24a _pthread_wqthread + 258 5   libsystem.b.dylib               0x31105970 start_wqthread + 0  thread 2: 0   libsystem.b.dylib               0x31093268 mach_msg_trap + 20 1   libsystem.b.dylib               0x31095354 mach_msg + 44 2   corefoundation                  0x30416648 __cfrunloopservicemachport + 88 3   corefoundation                  0x30415ed2 __cfrunlooprun + 350 4   corefoundation                  0x30415c80 cfrunlooprunspecific + 224 5   corefoundation                  0x30415b88 cfrunloopruninmode + 52 6   webcore                         0x35b32124 runwebthread(void*) + 332 7   libsystem.b.dylib               0x3110c886 _pthread_start + 242 8   libsystem.b.dylib               0x31101a88 thread_start + 0  thread 3: 0   libsystem.b.dylib               0x31093268 mach_msg_trap + 20 1   libsystem.b.dylib               0x31095354 mach_msg + 44 2   corefoundation                  0x30416648 __cfrunloopservicemachport + 88 3   corefoundation                  0x30415ed2 __cfrunlooprun + 350 4   corefoundation                  0x30415c80 cfrunlooprunspecific + 224 5   corefoundation                  0x30415b88 cfrunloopruninmode + 52 6   foundation                      0x302fb5f6 +[nsurlconnection(nsurlconnectionreallyinternal) _resourceloadloop:] + 206 7   foundation                      0x302d9192 -[nsthread main] + 38 8   foundation                      0x302d2242 __nsthread__main__ + 966 9   libsystem.b.dylib               0x3110c886 _pthread_start + 242 10  libsystem.b.dylib               0x31101a88 thread_start + 0  thread 4: 0   libsystem.b.dylib               0x3110b9f0 __semwait_signal + 24 1   libsystem.b.dylib               0x310c07ec _pthread_cond_wait + 748 2   libsystem.b.dylib               0x310c03d2 pthread_cond_wait + 26 3   coremedia                       0x3290cb14 waitoncondition + 4 4   coremedia                       0x3290ca5a figsemaphorewaitrelative + 66 5   mediatoolbox                    0x32a8bc9c fpa_asyncmoviecontrolthread + 48 6   coremedia                       0x32928f76 figthreadmain + 166 7   libsystem.b.dylib               0x3110c886 _pthread_start + 242 8   libsystem.b.dylib               0x31101a88 thread_start + 0  thread 5: 0   libsystem.b.dylib               0x310b768c select$darwin_extsn + 20 1   corefoundation                  0x3044d662 __cfsocketmanager + 582 2   libsystem.b.dylib               0x3110c886 _pthread_start + 242 3   libsystem.b.dylib               0x31101a88 thread_start + 0  thread 6: 0   libsystem.b.dylib               0x3110b9f0 __semwait_signal + 24 1   libsystem.b.dylib               0x310c07ec _pthread_cond_wait + 748 2   libsystem.b.dylib               0x310c03d2 pthread_cond_wait + 26 3   imixtapes                       0x000946d8 -[audiostreamer enqueuebuffer] (audiostreamer.m:1885) 4   imixtapes                       0x00095514 -[audiostreamer handleaudiopackets:numberbytes:numberpackets:packetdescriptions:] (audiostreamer.m:2196) 5   imixtapes                       0x0008f4ce mypacketsproc (audiostreamer.m:151) 6   audiotoolbox                    0x3281e376 audiofilestreamwrapper::callpacketsproc(unsigned long, unsigned long, void const*, audiostreampacketdescription*, bool) + 122 7   audiotoolbox                    0x3283a87a mp3audiostream::generatepackets(audiofilestreamcontinuation&) + 818 8   audiotoolbox                    0x3281e5e4 audiofilestreamwrapper::parsebytes(unsigned long, void const*, unsigned long) + 180 9   audiotoolbox                    0x3281de6c audiofilestreamparsebytes + 132 10  imixtapes                       0x0009410e -[audiostreamer handlereadfromstream:eventtype:] (audiostreamer.m:1754) 11  imixtapes                       0x0008f58e asreadstreamcallback (audiostreamer.m:222) 12  corefoundation                  0x3044ef6a _signaleventsync + 70 13  corefoundation                  0x3044f842 _cfstream_solo_signaleventsync + 58 14  corefoundation                  0x3044c7ee _cfstreamsignalevent + 326 15  corefoundation                  0x3044c6a0 cfreadstreamsignalevent + 4 16  cfnetwork                       0x32fe2a66 httpreadstream::streamevent(unsigned long) + 94 17  cfnetwork                       0x32fe2adc httpreadstream::_streamcb(__cfreadstream*, unsigned long, void*) + 24 18  corefoundation                  0x3044ef6a _signaleventsync + 70 19  corefoundation                  0x3044eefe _cfstream_shared_signaleventsync + 198 20  corefoundation                  0x304447d6 __cfrunloop_is_calling_out_to_a_source0_perform_function__ + 6 21  corefoundation                  0x304165b0 __cfrunloopdosources0 + 376 22  corefoundation                  0x30415e54 __cfrunlooprun + 224 23  corefoundation                  0x30415c80 cfrunlooprunspecific + 224 24  corefoundation                  0x30415b88 cfrunloopruninmode + 52 25  foundation                      0x302d28e4 -[nsrunloop(nsrunloop) runmode:beforedate:] + 196 26  imixtapes                       0x00091000 -[audiostreamer startinternal] (audiostreamer.m:843) 27  foundation                      0x302d9192 -[nsthread main] + 38 28  foundation                      0x302d2242 __nsthread__main__ + 966 29  libsystem.b.dylib               0x3110c886 _pthread_start + 242 30  libsystem.b.dylib               0x31101a88 thread_start + 0  thread 7: 0   libsystem.b.dylib               0x31093268 mach_msg_trap + 20 1   libsystem.b.dylib               0x31095354 mach_msg + 44 2   corefoundation                  0x30416648 __cfrunloopservicemachport + 88 3   corefoundation                  0x30415ed2 __cfrunlooprun + 350 4   corefoundation                  0x30415c80 cfrunlooprunspecific + 224 5   corefoundation                  0x30415b88 cfrunloopruninmode + 52 6   audiotoolbox                    0x327a84ba genericrunloopthread::runloop() + 30 7   audiotoolbox                    0x327bb306 trunloop<aqclient>::entry(void*) + 90 8   audiotoolbox                    0x327a81d2 capthread::entry(capthread*) + 138 9   libsystem.b.dylib               0x3110c886 _pthread_start + 242 10  libsystem.b.dylib               0x31101a88 thread_start + 0  unknown thread crashed unknown flavor: 5, state_count: 1 

can please me resolve issue.

thanks

your app being terminated, while secondary thread continues work. have clean , terminate cleanly when requested.

note: can symbolicate crashes, evaluate callstack more easily.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -