{ "id": "134433", "key": "TIMOB-17478", "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": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" }, { "id": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-29T16:28:28.000+0000", "created": "2014-08-08T21:47:54.000+0000", "epic": { "id": 134539, "key": "TIMOB-17487", "name": "Android: Support Android-L Functionality", "summary": "Android: Support Android 5.0 Functionality", "color": { "key": "color_7" }, "done": false }, "priority": { "name": "High", "id": "2" }, "labels": [ "android-l", "module_kitchensink", "qe-manualtest" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [ { "id": "39694", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "134431", "key": "TIMOB-17476", "fields": { "summary": "Android-L: KS->ActionBar crashes ", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-11-21T18:46:40.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": "Build KS with android-L. Go to Mahups->Facebook->Login/Logout. App crashes with log\r\n{code}\r\nE/art (16298): JNI ERROR (app bug): attempt to pass an instance of java.lang.Object[] as argument 1 to void facebook.FacebookModule.setPermissions(java.lang.String[])\r\nF/art (16298): art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: bad arguments passed to void facebook.FacebookModule.setPermissions(java.lang.String[]) (see above for details)\r\nF/art (16298): art/runtime/check_jni.cc:65] from boolean org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(long, java.lang.Object, long, java.lang.String, java.lang.Object, boolean, boolean, int, java.lang.String)\r\nF/art (16298): art/runtime/check_jni.cc:65] \"KrollRuntimeThread\" prio=5 tid=11 Runnable\r\nF/art (16298): art/runtime/check_jni.cc:65] | group=\"main\" sCount=0 dsCount=0 obj=0x790380a0 self=0xb8dc2100\r\nF/art (16298): art/runtime/check_jni.cc:65] | sysTid=16338 nice=0 cgrp=default sched=0/0 handle=0xb8dbda10\r\nF/art (16298): art/runtime/check_jni.cc:65] | state=R schedstat=( 0 0 0 ) utm=393 stm=22 core=0 HZ=100\r\nF/art (16298): art/runtime/check_jni.cc:65] | stack=0xa6c79000-0xa6c7f000 stackSize=1064KB\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #00 pc 00005baf /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+95)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #01 pc 00002751 /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+33)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #02 pc 003ba727 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream >&, int, char const*, art::mirror::ArtMethod*)+135)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #03 pc 0038bc10 /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream >&) const+272)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #04 pc 00129a18 /system/lib/libart.so (art::JniAbort(char const*, char const)+952)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #05 pc 0012aa1c /system/lib/libart.so (art::JniAbortF(char const*, char const, ellipsis)+108)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #06 pc 0008412b /system/lib/libart.so (art::CheckMethodArguments(art::mirror::ArtMethod*, unsigned int*)+844)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #07 pc 0036c1fb /system/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, art::mirror::Object*, _jmethodID*, jvalue*)+1147)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #08 pc 002d11fe /system/lib/libart.so (art::JNI::CallVoidMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)+334)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #09 pc 0013aeff /system/lib/libart.so (art::CheckJNI::CallVoidMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)+175)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #10 pc 00007dcd /data/app-lib/com.appcelerator.kitchensink-1/libfacebook.so (v8 facebook::FacebookModule::setter_permissions(v8::Local(facebook::FacebookModule::setter_permissions::AccessorInfo const&)+237)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #11 pc 00473c47 /data/app-lib/com.appcelerator.kitchensink-1/libkroll-v8.so (???)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #12 pc 00042140 (???)\r\nF/art (16298): art/runtime/check_jni.cc:65] native: #13 pc 0004a07f /system/lib/libskia.so (???)\r\nF/art (16298): art/runtime/check_jni.cc:65] at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native method)\r\nF/art (16298): art/runtime/check_jni.cc:65] at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:62)\r\nF/art (16298): art/runtime/check_jni.cc:65] at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:884)\r\nF/art (16298): art/runtime/check_jni.cc:65] at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1107)\r\nF/art (16298): art/runtime/check_jni.cc:65] at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:347)\r\nF/art (16298): art/runtime/check_jni.cc:65] at ti.modules.titanium.ui.TableViewProxy.handleMessage(TableViewProxy.java:942)\r\nF/art (16298): art/runtime/check_jni.cc:65] at android.os.Handler.dispatchMessage(Handler.java:98)\r\nF/art (16298): art/runtime/check_jni.cc:65] at android.os.Looper.loop(Looper.java:135)\r\nF/art (16298): art/runtime/check_jni.cc:65] at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)\r\nF/art (16298): art/runtime/check_jni.cc:65] \r\nF/libc (16298): invalid address or address of corrupt block 0xb8ea8d58 passed to dlfree\r\nI/WindowState( 1280): WIN DEATH: Window{38cde3ee u0 com.appcelerator.kitchensink/com.appcelerator.kitchensink.KitchensinkActivity}\r\nI/ActivityManager( 1280): Process com.appcelerator.kitchensink (pid 16298) has died.\r\n{code}", "attachment": [], "flagged": false, "summary": "Android 5.0: KS->Facebook crashes ", "creator": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 175, "state": "closed", "name": "2014 Sprint 17 SDK", "startDate": "2014-08-21T22:07:00.000Z", "endDate": "2014-08-30T00:00:00.000Z", "completeDate": "2014-09-02T19:56:25.517Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "319185", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/5973\r\nFor FR, please build the facebook module using the SDK with the above fix and run KS.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-18T23:59:07.000+0000", "updated": "2014-08-18T23:59:07.000+0000" }, { "id": "320646", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The issue is still reproducible on android L emulator.\r\n\r\nReopening\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.0.201408270900\r\nTi SDK : 3.4.0.v20140826143313\r\nMac OSX : 10.9.4\r\nAlloy : 1.5.0-dev\r\nCLI - 3.4.0-dev\r\nCode Processor: 1.1.1\r\nAndroid L emulator", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-27T20:02:48.000+0000", "updated": "2014-08-27T20:02:48.000+0000" }, { "id": "320854", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Updated the Facebook module. PR: https://github.com/appcelerator-modules/ti.facebook/pull/12\r\nTo test the fix, please download facebook 3.0.3 from the master branch in ti.facebook repo and run it with SDK 3.4.0.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-28T18:58:57.000+0000", "updated": "2014-08-28T19:00:01.000+0000" }, { "id": "320907", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Since SDK fixes are already tested as part of TIMOB-17476, we can defer this (which is just a module fix) to 3.4.1.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-28T22:50:23.000+0000", "updated": "2014-08-28T22:50:23.000+0000" }, { "id": "329012", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Adding module to SDK\r\nmaster PR: https://github.com/appcelerator/titanium_mobile/pull/6258\r\n3_4_X PR: https://github.com/appcelerator/titanium_mobile/pull/6259\r\n3_4_1 PR: https://github.com/appcelerator/titanium_mobile/pull/6260", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-22T17:09:24.000+0000", "updated": "2014-10-22T17:09:24.000+0000" }, { "id": "329857", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. We do not see any facebook crashes & login & logout works successfully.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.1.201410191611\r\nTi SDK : 3.4.1.v20141028145715, 3.4.2.v20141028145714, 3.5.0.v20141028150133\r\nMac OSX : 10.9.4\r\nAlloy : 1.5.1\r\nCLI - 3.4.1-dev\r\nCode Processor: 1.1.1\r\nNexus 5 - android 5.0 preview\r\nFacebook module : 3.0.3 ", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-28T23:42:21.000+0000", "updated": "2014-10-28T23:42:21.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }