{ "id": "83780", "key": "TIMOB-6651", "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": "12090", "description": "", "name": "Sprint 2011-50", "archived": true, "released": true, "releaseDate": "2011-12-19" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2011-12-15T11:54:42.000+0000", "created": "2011-12-13T17:48:06.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "branch-v8", "merge-1.8.0.1" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2011-12-19T12:52:17.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Using the barcode module (for example) and building the app for V8, the application's main window will display correctly. Press the \"Scan\" button and the application will crash. This is the first call into the module which results in a call to the 3rd party jar file. This also occurs on other modules that use 3rd party jar files.\r\n\r\nCrash log is as follows:\r\n{code}\r\n12-13 17:43:23.164: INFO/DEBUG(31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\r\n12-13 17:43:23.164: INFO/DEBUG(31): Build fingerprint: 'generic/sdk/generic/:2.2/FRF91/43546:eng/test-keys'\r\n12-13 17:43:23.164: INFO/DEBUG(31): pid: 1188, tid: 1196 >>> com.appcelerator.barcodetest <<<\r\n12-13 17:43:23.164: INFO/DEBUG(31): signal 11 (SIGSEGV), fault addr 0000000a\r\n12-13 17:43:23.164: INFO/DEBUG(31): r0 00000000 r1 00000210 r2 00000003 r3 00000000\r\n12-13 17:43:23.174: INFO/DEBUG(31): r4 45cf63d0 r5 428a4dfc r6 460f98c0 r7 000030f8\r\n12-13 17:43:23.174: INFO/DEBUG(31): r8 80813b00 r9 0000000f 10 428a4de8 fp 5d25b60d\r\n12-13 17:43:23.174: INFO/DEBUG(31): ip 000000f8 sp 460f9880 lr 8081792c pc 80818614 cpsr 00000010\r\n12-13 17:43:23.893: INFO/DEBUG(31): #00 pc 00018614 /system/lib/libdvm.so\r\n12-13 17:43:23.893: INFO/DEBUG(31): #01 pc 0001e8c4 /system/lib/libdvm.so\r\n12-13 17:43:23.903: INFO/DEBUG(31): #02 pc 0001d790 /system/lib/libdvm.so\r\n12-13 17:43:23.903: INFO/DEBUG(31): #03 pc 00053d80 /system/lib/libdvm.so\r\n12-13 17:43:23.903: INFO/DEBUG(31): #04 pc 0003e870 /system/lib/libdvm.so\r\n12-13 17:43:23.903: INFO/DEBUG(31): #05 pc 0002ef8c /system/lib/libdvm.so\r\n12-13 17:43:23.913: INFO/DEBUG(31): #06 pc 00004044 /data/data/com.appcelerator.barcodetest/lib/libti.barcode.so\r\n12-13 17:43:23.913: INFO/DEBUG(31): code around pc:\r\n12-13 17:43:23.913: INFO/DEBUG(31): 808185f4 e2522001 e48a1004 1afffffb e1d030bc \r\n12-13 17:43:23.913: INFO/DEBUG(31): 80818604 ea00001c e1b02627 e245a014 e1d410b4 \r\n12-13 17:43:23.913: INFO/DEBUG(31): 80818614 e1d090ba e1d030bc 0a000016 e2622005 \r\n12-13 17:43:23.913: INFO/DEBUG(31): 80818624 e08ff202 eb0000b9 e207cc0f e795232c \r\n12-13 17:43:23.923: INFO/DEBUG(31): 80818634 e1a00000 e52a2004 e201ca0f e795252c \r\n12-13 17:43:23.923: INFO/DEBUG(31): code around lr:\r\n12-13 17:43:23.923: INFO/DEBUG(31): 8081790c e7952103 e3520000 0a0003f9 e5922000 \r\n12-13 17:43:23.923: INFO/DEBUG(31): 8081791c e5922074 e5054008 e7920101 eb000336 \r\n12-13 17:43:23.923: INFO/DEBUG(31): 8081792c e1a00000 e1a00000 e1a00000 e1a00000 \r\n12-13 17:43:23.923: INFO/DEBUG(31): 8081793c e1a00000 e1d430b4 e1d410b2 e7952103 \r\n12-13 17:43:23.923: INFO/DEBUG(31): 8081794c e3520000 0a0003ea e5922000 e5922074 \r\n12-13 17:43:23.923: INFO/DEBUG(31): stack:\r\n12-13 17:43:23.923: INFO/DEBUG(31): 460f9840 00228b88 [heap]\r\n12-13 17:43:23.933: INFO/DEBUG(31): 460f9844 80848e0f /system/lib/libdvm.so\r\n12-13 17:43:23.933: INFO/DEBUG(31): 460f9848 0011c3a0 [heap]\r\n12-13 17:43:23.933: INFO/DEBUG(31): 460f984c 460f98c0 \r\n12-13 17:43:23.933: INFO/DEBUG(31): 460f9850 43edb590 /dev/ashmem/mspace/dalvik-heap/2 (deleted)\r\n12-13 17:43:23.933: INFO/DEBUG(31): 460f9854 0011c3a0 [heap]\r\n12-13 17:43:23.933: INFO/DEBUG(31): 460f9858 43edb590 /dev/ashmem/mspace/dalvik-heap/2 (deleted)\r\n12-13 17:43:23.933: INFO/DEBUG(31): 460f985c 80860691 /system/lib/libdvm.so\r\n12-13 17:43:23.933: INFO/DEBUG(31): 460f9860 00121758 [heap]\r\n12-13 17:43:23.943: INFO/DEBUG(31): 460f9864 00000007 \r\n12-13 17:43:23.943: INFO/DEBUG(31): 460f9868 43edc590 /dev/ashmem/mspace/dalvik-heap/2 (deleted)\r\n12-13 17:43:23.943: INFO/DEBUG(31): 460f986c 45cf63be /data/dalvik-cache/data@app@com.appcelerator.barcodetest-1.apk@classes.dex\r\n12-13 17:43:23.943: INFO/DEBUG(31): 460f9870 428a4dfc \r\n12-13 17:43:23.943: INFO/DEBUG(31): 460f9874 460f98c0 \r\n12-13 17:43:23.943: INFO/DEBUG(31): 460f9878 df002777 \r\n12-13 17:43:23.943: INFO/DEBUG(31): 460f987c e3a070ad \r\n12-13 17:43:23.943: INFO/DEBUG(31): #00 460f9880 41861044 /data/dalvik-cache/system@framework@core.jar@classes.dex\r\n12-13 17:43:23.953: INFO/DEBUG(31): 460f9884 460f98c0 \r\n12-13 17:43:23.953: INFO/DEBUG(31): 460f9888 0011c3a0 [heap]\r\n12-13 17:43:23.953: INFO/DEBUG(31): 460f988c 460f98c0 \r\n12-13 17:43:23.953: INFO/DEBUG(31): 460f9890 460f9958 \r\n12-13 17:43:23.953: INFO/DEBUG(31): 460f9894 00002448 \r\n12-13 17:43:23.953: INFO/DEBUG(31): 460f9898 80903fc5 /data/data/com.appcelerator.barcodetest/lib/libti.barcode.so\r\n12-13 17:43:23.953: INFO/DEBUG(31): 460f989c 57cac061 \r\n12-13 17:43:23.953: INFO/DEBUG(31): 460f98a0 5d25b60d \r\n12-13 17:43:23.953: INFO/DEBUG(31): 460f98a4 8081e8c8 /system/lib/libdvm.so\r\n12-13 17:43:23.953: INFO/DEBUG(31): #01 460f98a8 00228b88 [heap]\r\n12-13 17:43:23.963: INFO/DEBUG(31): 460f98ac 8081e870 /system/lib/libdvm.so\r\n12-13 17:43:23.963: INFO/DEBUG(31): 460f98b0 460f98c0 \r\n12-13 17:43:23.963: INFO/DEBUG(31): 460f98b4 8081d794 /system/lib/libdvm.so\r\n12-13 17:43:26.374: INFO/DEBUG(31): debuggerd committing suicide to free the zombie!\r\n12-13 17:43:26.394: INFO/DEBUG(1201): debuggerd: Jun 30 2010 13:59:20\r\n12-13 17:43:27.264: DEBUG/Zygote(33): Process 1188 terminated by signal (11)\r\n12-13 17:43:27.274: INFO/ActivityManager(60): Process com.appcelerator.barcodetest (pid 1188) has died.\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Modules: V8 First call into 3rd party jar file causes crash", "creator": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "environment": "SDK: 1.8.0.1\r\ntimestamp=12/12/11 12:46\r\ngithash=7062beb...\r\nRuntimes: Android V8\r\nOS: OS X Snow Leopard\r\n\r\nUsing the \"apilevel2\" branch of the module source located in my fork of the modules repository", "comment": { "comments": [ { "id": "176141", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "Converting code to use HashMap instead of KrollDict resolved the issue for our modules", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2011-12-14T15:02:30.000+0000", "updated": "2011-12-14T15:02:30.000+0000" }, { "id": "176255", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This was agreed to be a change that is required in the new module updates wiki, Jeff English is updating the wiki.", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-15T11:54:42.000+0000", "updated": "2011-12-15T11:54:42.000+0000" }, { "id": "176538", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing this issue due to comments by Jeff and Marshall", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-19T12:52:17.000+0000", "updated": "2011-12-19T12:52:17.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }