{ "id": "81637", "key": "AC-3081", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-10-20T13:06:42.000+0000", "created": "2011-10-16T12:58:36.000+0000", "labels": [ "crash", "defect", "in-app", "ios", "storekit" ], "versions": [], "issuelinks": [], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:48:07.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "When calling Ti.Storekit.requestProducts the app crashes often (not always, sometimes it succeed making the whole purchase process). Couldn't figure out why sometimes it does crash and sometimes it doesn't. The testing I made are exactly the same in all cases.\r\n\r\nHere is a crash report from the device:\r\n\r\nException Type: EXC_BREAKPOINT (SIGTRAP)\r\nException Codes: 0x00000001, 0xe7ffdefe\r\nCrashed Thread: 0\r\n\r\nThread 0 name: Dispatch queue: com.apple.main-thread\r\nThread 0 Crashed:\r\n0 libobjc.A.dylib \t0x333a6c98 objc_msgSend + 16\r\n1 StoreKit \t0x36062d96 -[SKProductsRequest handleFinishResponse:returningError:] + 38\r\n2 StoreKit \t0x36064086 -[SKRequest _requestFinishedNotification:] + 150\r\n3 Foundation \t0x3450717c _nsnote_callback + 136\r\n4 CoreFoundation \t0x3611e208 __CFXNotificationPost_old + 396\r\n5 CoreFoundation \t0x360b8ee4 _CFXNotificationPostNotification + 112\r\n6 Foundation \t0x345045cc -[NSNotificationCenter postNotificationName:object:userInfo:] + 64\r\n7 AppSupport \t0x3476144e -[CPDistributedNotificationCenter deliverNotification:userInfo:] + 38\r\n8 AppSupport \t0x3476277a _CPDNDeliverNotification + 198\r\n9 AppSupport \t0x347611d0 _XDeliverNotification + 116\r\n10 AppSupport \t0x34757dd0 migHelperRecievePortCallout + 132\r\n11 CoreFoundation \t0x36126a90 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 20\r\n12 CoreFoundation \t0x36128838 __CFRunLoopDoSource1 + 160\r\n13 CoreFoundation \t0x36129606 __CFRunLoopRun + 514\r\n14 CoreFoundation \t0x360b9ebc CFRunLoopRunSpecific + 224\r\n15 CoreFoundation \t0x360b9dc4 CFRunLoopRunInMode + 52\r\n16 GraphicsServices \t0x35873418 GSEventRunModal + 108\r\n17 GraphicsServices \t0x358734c4 GSEventRun + 56\r\n18 UIKit \t0x34f63d62 -[UIApplication _run] + 398\r\n19 UIKit \t0x34f61800 UIApplicationMain + 664\r\n20 OurBabyMaker \t0x000041ec main (main.m:36)\r\n21 OurBabyMaker \t0x00003a90 start + 32\r\n", "attachment": [], "flagged": false, "summary": "Ti.Storekit module crashes occasionally ", "creator": { "name": "alon@slixteam.com", "key": "alon@slixteam.com", "displayName": "Alon Rousso Katz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "alon@slixteam.com", "key": "alon@slixteam.com", "displayName": "Alon Rousso Katz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Mobile SDK 1.7.2\r\niPhone 4.3.5\r\nTi.StoreKit 1.1", "comment": { "comments": [ { "id": "169900", "author": { "name": "adecena", "key": "adecena", "displayName": "Anthony Decena", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you for raising this ticket. If this is still an issue, then we need all the information listed in the [Jira Ticket Checklist|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist] in order to accept the ticket.\r\n\r\nAlso, in this instance, a full use case with code sample is also necessary. Once the ticket is complete, we will look into moving it to the main project.\r\n\r\nThank you.", "updateAuthor": { "name": "adecena", "key": "adecena", "displayName": "Anthony Decena", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-20T13:06:30.000+0000", "updated": "2011-10-20T13:06:30.000+0000" }, { "id": "169916", "author": { "name": "alon@slixteam.com", "key": "alon@slixteam.com", "displayName": "Alon Rousso Katz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Anthony,\r\nThanks for the response. It appears that this bug is fixed on version 1.2 of Storkit module.", "updateAuthor": { "name": "alon@slixteam.com", "key": "alon@slixteam.com", "displayName": "Alon Rousso Katz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-20T13:41:52.000+0000", "updated": "2011-10-20T13:41:52.000+0000" }, { "id": "169917", "author": { "name": "adecena", "key": "adecena", "displayName": "Anthony Decena", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Perfect Alon, thanks.", "updateAuthor": { "name": "adecena", "key": "adecena", "displayName": "Anthony Decena", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-20T13:42:30.000+0000", "updated": "2011-10-20T13:42:30.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }