{ "id": "81513", "key": "TIMOB-5747", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-05-01T20:41:36.000+0000", "created": "2011-10-13T10:11:15.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "kitchensink" ], "versions": [ { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-02T20:54:04.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Description:\r\nWhile testing Kitchensink, Phone > Sound > Local with File URL, I experienced a crash. Please see attached symbolicated log. I attempted to reproduce on the device as well as with another iPhone 4 running 4.3.5 with 1.7.2-built KS. I could not reproduce.\r\n\r\nHere is the console output to supplement the attached log.\r\nOct 13 10:17:49 unknown KitchenSink[383] : *** Assertion failure in -[TiMediaAudioSession stopAudioSession], /Users/eric/Documents/fromGit/titanium_mobile/demos/KitchenSink/build/iphone/Classes/TiMediaAudioSession.m:305\r\nOct 13 10:17:49 unknown KitchenSink[383] : *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'stopAudioSession called too many times'\r\n\t*** First throw call stack:\r\n\t(0x30bbb8bf 0x37d601e5 0x30bbb7b9 0x37c263b3 0xff8c3 0xa3635 0x3191804f 0x30b1a22b 0x37c61757 0x30b8fb03 0x30b8f2cf 0x30b8e075 0x30b114dd 0x30b113a5 0x3373ffed 0x32b83743 0x4c33 0x3d24)\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : [ERROR] The application has crashed with an unhandled exception. Stack trace:\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 0 CoreFoundation 0x30bbb8bf __exceptionPreprocess + 162\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 1 libobjc.A.dylib 0x37d601e5 objc_exception_throw + 32\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 2 CoreFoundation 0x30bbb7b9 +[NSException raise:format:] + 0\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 3 Foundation 0x37c263b3 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 90\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 4 KitchenSink 0x000ff8c3 KitchenSink + 1042627\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 5 KitchenSink 0x000a3635 KitchenSink + 665141\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 6 AVFoundation 0x3191804f -[AVAudioPlayer(AVAudioPlayerPriv) finishedPlaying] + 190\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 7 CoreFoundation 0x30b1a22b -[NSObject performSelector:withObject:] + 42\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 8 Foundation 0x37c61757 __NSThreadPerformPerform + 350\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 9 CoreFoundation 0x30b8fb03 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 10 CoreFoundation 0x30b8f2cf __CFRunLoopDoSources0 + 214\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 11 CoreFoundation 0x30b8e075 __CFRunLoopRun + 652\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 12 CoreFoundation 0x30b114dd CFRunLoopRunSpecific + 300\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 13 CoreFoundation 0x30b113a5 CFRunLoopRunInMode + 104\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 14 GraphicsServices 0x3373ffed GSEventRunModal + 156\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 15 UIKit 0x32b83743 UIApplicationMain + 1090\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 16 KitchenSink 0x00004c33 KitchenSink + 15411\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : 17 KitchenSink 0x00003d24 KitchenSink + 11556\r\nOct 13 10:17:49 unknown UIKitApplication:com.appcelerator.pushtest[0x7029][383] : terminate called throwing an exception\r\nOct 13 10:17:50 unknown ReportCrash[409] : Formulating crash report for process KitchenSink[383]\r\nOct 13 10:17:50 unknown com.apple.launchd[1] : (UIKitApplication:com.appcelerator.pushtest[0x7029]) Job appears to have crashed: Abort trap: 6\r\nOct 13 10:17:50 unknown SpringBoard[17] : Application 'KitchenSink' exited abnormally with signal 6: Abort trap: 6\r\nOct 13 10:17:50 unknown com.apple.locationd[28] : NOTICE,Location icon should now not be visible\r\nOct 13 10:17:50 unknown ReportCrash[409] : Saved crashreport to /var/mobile/Library/Logs/CrashReporter/KitchenSink_2011-10-13-101749_openDoc.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0\r\n\r\n\r\nSteps to Reproduce:\r\nNote: These steps are the steps I followed. I could not repro with these steps.\r\n1) Install KS built with SDK 1.7.3.v20111013094213\r\n2) Begin on the Phone tab and run through each test\r\n3) In the sound list, the crash occurred on Phone > Sound > Local with File URL\r\n\r\nResult:\r\nConsole output and crash log created\r\n\r\nExpected Result:\r\nNo crash, tests continue\r\n", "attachment": [ { "id": "23627", "filename": "KitchenSink_2011-10-13-101749_openDoc.crash", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-13T10:11:15.000+0000", "size": 35487, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Kitchensink: Non-reproducible crash with Phone > Sound > Local with File URL", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS 10.7, iPhone 4 ATT (iOS 5.0) SDK 1.7.3.v20111013094213, Titanium Studio, build: 1.0.4.201108101535", "comment": { "comments": [ { "id": "169146", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Do not crash, but the application is no longer usable:\r\n\r\n1. KS > Phone > Sound > Local\r\n2. Press stop continuously and view the logs\r\n\r\nEventually will get:\r\nOct 13 11:47:43 unknown KitchenSink[659] : *** Assertion failure in -[TiMediaAudioSession stopAudioSession], /Volumes/Data/Titanium/titanium_mobile/demos/KitchenSink/build/iphone/Classes/TiMediaAudioSession.m:305\r\nOct 13 11:47:43 unknown UIKitApplication:com.appcelerator.titanium[0xb1c4][659] : [WARN] Exception in event callback. {\r\nOct 13 11:47:43 unknown UIKitApplication:com.appcelerator.titanium[0xb1c4][659] : line = 6;\r\nOct 13 11:47:43 unknown UIKitApplication:com.appcelerator.titanium[0xb1c4][659] : message = \"stopAudioSession called too many times\";\r\nOct 13 11:47:43 unknown UIKitApplication:com.appcelerator.titanium[0xb1c4][659] : sourceId = 89040720;\r\nOct 13 11:47:43 unknown UIKitApplication:com.appcelerator.titanium[0xb1c4][659] : sourceURL = \"file://localhost/var/mobile/Applications/E8351EE2-A145-4DC1-96C8-A9D75F7637CB/KitchenSink.app/examples/sound_local.js\";\r\nOct 13 11:47:43 unknown UIKitApplication:com.appcelerator.titanium[0xb1c4][659] : }\r\nOct 13 11:47:44 unknown KitchenSink[659] : *** -[NSLock lock]: deadlock ( '(null)')\r\nOct 13 11:47:44 unknown KitchenSink[659] : *** Break on _NSLockError() to debug.\r\nOct 13 11:48:51 unknown kernel[0] : en0: BSSID changed to c0:62:6b:67:1f:e2\r\n\r\niPod 4 (5.0) SDK 1.7.3.v20111013094213", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-13T10:52:27.000+0000", "updated": "2011-10-13T10:52:27.000+0000" }, { "id": "169149", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The code in question is due to an NSAssert in TiMediaAudioSession.m:303. The good news is that this will NOT affect release as this is #ifdefed to assert only during debug.\r\n\r\nHaving said that, this sounds like a possible confluence of a sound stopping and being garbage collected at the same time. The full solution is to ensure more linearity (IE, synchronous blocks) in the code. But for now, we can demote the NSAssert to a very stern warning.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-13T11:07:34.000+0000", "updated": "2011-10-13T11:07:34.000+0000" }, { "id": "169152", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have already reworked some of the sound engine for 1.8 and it's probable that this doesn't occur on master.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-13T11:35:04.000+0000", "updated": "2011-10-13T11:35:04.000+0000" }, { "id": "418385", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving ticket as invalid as this version of Kitchen Sink is no longer supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-01T20:41:36.000+0000", "updated": "2017-05-01T20:41:36.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }