[TIMOB-3532] Background Audio crash when resuming app (no crash log produced)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-05-16T10:48:29.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-16 |
Components | iOS |
Labels | audio, background, defect, ios, ios_proxy_registration, regression, reported-1.7.0, resume |
Reporter | Thomas Huelbert |
Assignee | Blain Hamon |
Created | 2011-04-15T03:46:22.000+0000 |
Updated | 2011-05-16T10:48:29.000+0000 |
Description
Titanium SDK version: 1.7.0 (04/05/11 15:55 8319743) ipad 1
(3.2) and ipod 4gt 4.1
not seen in master
1.Phone > sound > Background Audio
2.push start, hit the home button
3.double click home button
4.in revealed menu, go to sound controls and tap pause, the tap the
icon next to it to relaunch KS
results: app locked up then crashed - no log produced.
Fri Jan 2 21:44:32 unknown
UIKitApplication:com.appcelerator.pushtest[0xa156][1208] : [INFO] app is resuming from the
background
Fri Jan 2 21:44:42 unknown SpringBoard[27] : KitchenSink failed to
resume in time
Fri Jan 2 21:44:42 unknown SpringBoard[27] : Forcing crash report
of KitchenSink[1208]...
Fri Jan 2 21:44:43 unknown SpringBoard[27] : Finished crash
reporting.
Fri Jan 2 21:44:43 unknown com.apple.launchd[1] :
(UIKitApplication:com.appcelerator.pushtest[0xa156]) Exited:
Killed
Fri Jan 2 21:44:43 unknown SpringBoard[27] : Application
'KitchenSink' exited abnormally with signal 9: Killed
ios_proxy_registration issue being reassigned to Blain.
I thought this was related to the other sound issue, but on closer examination, this may not. As noted this only affects apps that have background audio, and sounds like a deadlock using proxies on the main thread.
Need verification, but delayed proxy registration to background thread and crash no longer happens.
Registering is now done in background thread.
[INFO] Titanium SDK version: 1.7.0 (05/10/11 19:34 879871b...) ipad 2 4.3