{"action":"created","issue":{"url":"https://api.github.com/repos/frida/frida/issues/318","repository_url":"https://api.github.com/repos/frida/frida","labels_url":"https://api.github.com/repos/frida/frida/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/frida/frida/issues/318/comments","events_url":"https://api.github.com/repos/frida/frida/issues/318/events","html_url":"https://github.com/frida/frida/issues/318","id":250402545,"number":318,"title":"Genymotion Android 4.4.4 x86, Process terminated","user":{"login":"dPhoeniixx","id":24839139,"avatar_url":"https://avatars0.githubusercontent.com/u/24839139?v=4","gravatar_id":"","url":"https://api.github.com/users/dPhoeniixx","html_url":"https://github.com/dPhoeniixx","followers_url":"https://api.github.com/users/dPhoeniixx/followers","following_url":"https://api.github.com/users/dPhoeniixx/following{/other_user}","gists_url":"https://api.github.com/users/dPhoeniixx/gists{/gist_id}","starred_url":"https://api.github.com/users/dPhoeniixx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dPhoeniixx/subscriptions","organizations_url":"https://api.github.com/users/dPhoeniixx/orgs","repos_url":"https://api.github.com/users/dPhoeniixx/repos","events_url":"https://api.github.com/users/dPhoeniixx/events{/privacy}","received_events_url":"https://api.github.com/users/dPhoeniixx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-08-15T18:47:31Z","updated_at":"2018-02-13T16:46:53Z","closed_at":"2017-10-16T00:04:57Z","author_association":"NONE","body":"when run this code\r\n```python\r\nimport frida,sys\r\n \r\ndef print_result(message):\r\n            print(\"[*] Decrypting AES %s\" %(message))\r\n \r\ndef on_message(message, data):\r\n            # print_result(message['payload'])\r\n            # print \"%s\" %(message)\r\n            print(\"[*] {0}\".format(message))\r\n\r\n# Has errors, not sure why.\r\n\r\njscode = \"\"\"\r\nJava.perform(function () {\r\n\r\n    var c = Java.use(\"kr.repo.h2spice.yekehtmai.c\")\r\n    c.a.implementation = function (str1, str2) {\r\n        \r\n        send(\"String1: \" + str1)\r\n        send(\"String2: \" + str2)\r\n        this.onResume();\r\n\r\n    }\r\n    \r\n});\r\n\r\n\"\"\"\r\n \r\nprocess = frida.get_usb_device(1).attach(\"kr.repo.h2spice.yekehtmai\")\r\n \r\nscript = process.create_script(jscode)\r\nscript.on('message', on_message)\r\n \r\nprint(\"[*] Decrypting AES Key\")\r\n \r\nscript.load()\r\nsys.stdin.read()\r\n```\r\nbut when run this code kr.repo.h2spice.yekehtmai app crash !\r\nlogcat\r\n```php\r\n--------- beginning of /dev/log/main\r\nD/dalvikvm( 3558): GC_CONCURRENT freed 139K, 6% free 3103K/3296K, paused 0ms+1ms, total 2ms\r\nD/dalvikvm( 3558): GC_FOR_ALLOC freed 89K, 5% free 3274K/3436K, paused 1ms, total 1ms\r\nI/dalvikvm-heap( 3558): Grow heap (frag case) to 4.323MB for 1127532-byte allocation\r\n--------- beginning of /dev/log/system\r\nW/genymotion_audio(  368): out_write() limiting sleep time 46802 to 39909\r\nD/dalvikvm( 3558): GC_CONCURRENT freed 1K, 4% free 4373K/4540K, paused 0ms+0ms, total 2ms\r\nD/dalvikvm( 3558): WAIT_FOR_CONCURRENT_GC blocked 2ms\r\nE/dalvikvm( 3558): VM aborting\r\nF/libc    ( 3558): Fatal signal 6 (SIGABRT) at 0x00000de6 (code=-6), thread 3601 (Thread-186)\r\nW/EGL_genymotion( 3558): eglSurfaceAttrib not implemented\r\nI/DEBUG   ( 3098): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\r\nI/DEBUG   ( 3098): Build fingerprint: 'generic/vbox86p/vbox86p:4.4.4/KTU84P/eng.genymotion.20170320.221842:userdebug/test-keys'\r\nI/DEBUG   ( 3098): Revision: '0'\r\nI/DEBUG   ( 3098): pid: 3558, tid: 3601, name: Thread-186  >>> kr.repo.h2spice.yekehtmai <<<\r\nI/DEBUG   ( 3098): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------\r\nI/DEBUG   ( 3098):     eax 00000000  ebx 00000de6  ecx 00000e11  edx 00000006\r\nI/DEBUG   ( 3098):     esi 00000e11  edi 00000002\r\nI/DEBUG   ( 3098):     xcs 00000073  xds 0000007b  xes 0000007b  xfs 00000000  xss 0000007b\r\nI/DEBUG   ( 3098):     eip b76a4df6  ebp b7709ce0  esp 92481754  flags 00200203\r\nI/DEBUG   ( 3098):\r\nI/DEBUG   ( 3098): backtrace:\r\nI/DEBUG   ( 3098):     #00  pc 0003bdf6  /system/lib/libc.so (tgkill+22)\r\nI/DEBUG   ( 3098):     #01  pc 00000005  <unknown>\r\nI/DEBUG   ( 3098):\r\nI/DEBUG   ( 3098): stack:\r\nI/DEBUG   ( 3098):          92481714  00000000\r\nI/DEBUG   ( 3098):          92481718  b7705268  /system/lib/libc.so\r\nI/DEBUG   ( 3098):          9248171c  00000000\r\nI/DEBUG   ( 3098):          92481720  b7676f79  /system/lib/libc.so (pthread_mutex_unlock+25)\r\nI/DEBUG   ( 3098):          92481724  b770518c  /system/lib/libc.so\r\nI/DEBUG   ( 3098):          92481728  b8b55620  [heap]\r\nI/DEBUG   ( 3098):          9248172c  00000015\r\nI/DEBUG   ( 3098):          92481730  00000000\r\nI/DEBUG   ( 3098):          92481734  00000000\r\nI/DEBUG   ( 3098):          92481738  b76c3846  /system/lib/libc.so\r\nI/DEBUG   ( 3098):          9248173c  b7704fcc  /system/lib/libc.so\r\nI/DEBUG   ( 3098):          92481740  46505845\r\nI/DEBUG   ( 3098):          92481744  00000000\r\nI/DEBUG   ( 3098):          92481748  00000000\r\nI/DEBUG   ( 3098):          9248174c  b7676da9  /system/lib/libc.so (pthread_mutex_lock+9)\r\nI/DEBUG   ( 3098):          92481750  b7704fcc  /system/lib/libc.so\r\nI/DEBUG   ( 3098):     #00  92481754  00000006\r\nI/DEBUG   ( 3098):          92481758  00000e11\r\nI/DEBUG   ( 3098):          9248175c  b7704fcc  /system/lib/libc.so\r\nI/DEBUG   ( 3098):          92481760  b7681556  /system/lib/libc.so (pthread_kill+102)\r\nI/DEBUG   ( 3098):          92481764  00000de6\r\nI/DEBUG   ( 3098):          92481768  00000e11\r\nI/DEBUG   ( 3098):          9248176c  00000006\r\nI/DEBUG   ( 3098):          92481770  00000000\r\nI/DEBUG   ( 3098):          92481774  b7705268  /system/lib/libc.so\r\nI/DEBUG   ( 3098):          92481778  00000000\r\nI/DEBUG   ( 3098):          9248177c  b76814f9  /system/lib/libc.so (pthread_kill+9)\r\nI/DEBUG   ( 3098):          92481780  b7704fcc  /system/lib/libc.so\r\nI/DEBUG   ( 3098):          92481784  924817d0  [stack:3601]\r\nI/DEBUG   ( 3098):          92481788  92481a10  [stack:3601]\r\nI/DEBUG   ( 3098):          9248178c  92481a38  [stack:3601]\r\nI/DEBUG   ( 3098):          92481790  b768191c  /system/lib/libc.so (raise+44)\r\nI/BootReceiver(  696): Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)\r\nW/ActivityManager(  696):   Force finishing activity kr.repo.h2spice.yekehtmai/.MainActivity\r\nD/        (  696): HostConnection::get() New Host Connection established 0xb8d0be98, tid 3605\r\nW/InputDispatcher(  696): channel '52991d68 kr.repo.h2spice.yekehtmai/kr.repo.h2spice.yekehtmai.MainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9\r\nE/InputDispatcher(  696): channel '52991d68 kr.repo.h2spice.yekehtmai/kr.repo.h2spice.yekehtmai.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!\r\nW/InputDispatcher(  696): channel '52aae848 kr.repo.h2spice.yekehtmai/kr.repo.h2spice.yekehtmai.MainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9\r\nE/InputDispatcher(  696): channel '52aae848 kr.repo.h2spice.yekehtmai/kr.repo.h2spice.yekehtmai.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!\r\nD/Zygote  (  367): Process 3558 terminated by signal (6)\r\nW/InputDispatcher(  696): Attempted to unregister already unregistered input channel '52991d68 kr.repo.h2spice.yekehtmai/kr.repo.h2spice.yekehtmai.MainActivity (server)'\r\nW/InputDispatcher(  696): Attempted to unregister already unregistered input channel '52aae848 kr.repo.h2spice.yekehtmai/kr.repo.h2spice.yekehtmai.MainActivity (server)'\r\nI/WindowState(  696): WIN DEATH: Window{52991d68 u0 kr.repo.h2spice.yekehtmai/kr.repo.h2spice.yekehtmai.MainActivity}\r\nI/WindowState(  696): WIN DEATH: Window{52aae848 u0 kr.repo.h2spice.yekehtmai/kr.repo.h2spice.yekehtmai.MainActivity}\r\nD/dalvikvm(  696): GC_FOR_ALLOC freed 2324K, 47% free 12969K/24116K, paused 7ms, total 7ms\r\nW/ActivityManager(  696): Exception thrown during pause\r\nW/ActivityManager(  696): android.os.DeadObjectException\r\nW/ActivityManager(  696):       at android.os.BinderProxy.transact(Native Method)\r\nW/ActivityManager(  696):       at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:660)\r\nW/ActivityManager(  696):       at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:761)\r\nW/ActivityManager(  696):       at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2443)\r\nW/ActivityManager(  696):       at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2320)\r\nW/ActivityManager(  696):       at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2050)\r\nW/ActivityManager(  696):       at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:9548)\r\nW/ActivityManager(  696):       at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:9441)\r\nW/ActivityManager(  696):       at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:10086)\r\nW/ActivityManager(  696):       at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:9637)\r\nW/ActivityManager(  696):       at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)\r\nI/ActivityManager(  696): Process kr.repo.h2spice.yekehtmai (pid 3558) has died.\r\nW/EGL_genymotion(  898): eglSurfaceAttrib not implemented\r\n```\r\nsorry for my basic english :("},"comment":{"url":"https://api.github.com/repos/frida/frida/issues/comments/365327347","html_url":"https://github.com/frida/frida/issues/318#issuecomment-365327347","issue_url":"https://api.github.com/repos/frida/frida/issues/318","id":365327347,"user":{"login":"oleavr","id":735197,"avatar_url":"https://avatars3.githubusercontent.com/u/735197?v=4","gravatar_id":"","url":"https://api.github.com/users/oleavr","html_url":"https://github.com/oleavr","followers_url":"https://api.github.com/users/oleavr/followers","following_url":"https://api.github.com/users/oleavr/following{/other_user}","gists_url":"https://api.github.com/users/oleavr/gists{/gist_id}","starred_url":"https://api.github.com/users/oleavr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleavr/subscriptions","organizations_url":"https://api.github.com/users/oleavr/orgs","repos_url":"https://api.github.com/users/oleavr/repos","events_url":"https://api.github.com/users/oleavr/events{/privacy}","received_events_url":"https://api.github.com/users/oleavr/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T16:46:53Z","updated_at":"2018-02-13T16:46:53Z","author_association":"CONTRIBUTOR","body":"@Sankalp-bst I'm afraid I won't have time to look into this anytime soon. Help appreciated!"}}
{"actor":{"display_login":"oleavr"}}