{ "id": "62809", "key": "TIMOB-2177", "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": [ { "id": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "6", "description": "", "name": "Hold" }, "resolutiondate": "2011-04-15T03:12:50.000+0000", "created": "2011-04-15T03:12:49.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "apple", "bug", "crash", "hardware", "ios", "recording", "sound" ], "versions": [], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T07:02:36.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": "{html}

Easiest to test on an iPod. With headphones+mic plugged in:

\n

KS->Phone->Sound->Record
\nBegin Recording
\nAfter recording a message, yank the headphones (do NOT click the\n'stop recording' button)
\nClick 'playback' (you will hear nothing, and the button will never\nchange from 'stop playback')
\nPlug headphones back in
\nClick 'record' again
\nCRASH

\n

The first part of the bug (no playback) probably has something\nto do with how the recorder handles audio queues and whether or not\nit even saves the file produced by the recording. Second part of\nthe bug is probably a session issue, where the audio session\ncontinues to try and use the previous hardware.

{html}", "attachment": [], "flagged": false, "summary": "Changing hardware in the middle of playback/recording may cause crash", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127743", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Surprise... this is an Apple bug.

\n

Radar # 8933998. Will come up with a workaround for now that\nwill not result in a crash.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:12:50.000+0000", "updated": "2011-04-15T03:12:50.000+0000" }, { "id": "127744", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Putting the ticket into the usual \"hold/TBS\" pattern for Apple\nbugs, but will still try and submit a slap patch to remove the\ncrash.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:12:50.000+0000", "updated": "2011-04-15T03:12:50.000+0000" }, { "id": "127745", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [8ae839bfe83302d3197efdfddb97a2ff2efc4fc3])\n[#2177] Workaround to prevent ugly crash on\nhardware availability change. We should be catching all of these\nC++-style exceptions and rebranding them, anyway... \nhttps://github.com/appcelerator/titanium_mobile/commit/8ae839bfe833...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:12:51.000+0000", "updated": "2011-04-15T03:12:51.000+0000" }, { "id": "408825", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and irrelevance. ", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T07:02:36.000+0000", "updated": "2017-03-03T07:02:36.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }