English 中文(简体)
Need clarification of "JNI WARNING: threadid=5 using env from threadid=3"
原标题:

Full exception is below

12-24 08:59:24.800: WARN/dalvikvm(743): JNI WARNING: threadid=5 using env from threadid=3
12-24 08:59:24.800: WARN/dalvikvm(743):              in Ldalvik/system/NativeStart;.run ()V (GetObjectClass)
12-24 08:59:24.800: INFO/dalvikvm(743): "HeapWorker" daemon prio=5 tid=5 VMWAIT
12-24 08:59:24.800: INFO/dalvikvm(743):   | group="system" sCount=1 dsCount=0 s=N obj=0x42998b90 self=0x156ad0
12-24 08:59:24.800: INFO/dalvikvm(743):   | sysTid=744 nice=0 sched=0/0 handle=1403536
12-24 08:59:24.800: INFO/dalvikvm(743):   at dalvik.system.NativeStart.run(Native Method)
12-24 08:59:24.800: ERROR/dalvikvm(743): VM aborting
12-24 08:59:24.810: INFO/DEBUG(551): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-24 08:59:24.810: INFO/DEBUG(551): Build fingerprint:  generic/sdk/generic/:1.6/DRC76/13852:eng/test-keys 
12-24 08:59:24.810: INFO/DEBUG(551): pid: 743, tid: 744  >>> com.gamevil.testjni <<<
12-24 08:59:24.810: INFO/DEBUG(551): signal 11 (SIGSEGV), fault addr deadd00d
12-24 08:59:24.810: INFO/DEBUG(551):  r0 0000032c  r1 0000000c  r2 0000000c  r3 00000026
12-24 08:59:24.810: INFO/DEBUG(551):  r4 deadd00d  r5 00000000  r6 ad083e1c  r7 00000000
12-24 08:59:24.810: INFO/DEBUG(551):  r8 80601da0  r9 afe39dd4  10 100ffad0  fp 00000001
12-24 08:59:24.810: INFO/DEBUG(551):  ip ad083ef8  sp 100ffa48  lr afe13f0d  pc ad03b7fa  cpsr 20000030
12-24 08:59:24.849: INFO/Hollo-Jni(743): Caught signal with itimespec ..  1718
12-24 08:59:24.849: WARN/dalvikvm(743): JNI WARNING: threadid=7 using env from threadid=3
12-24 08:59:24.849: WARN/dalvikvm(743):              in Ldalvik/system/NativeStart;.run ()V (GetObjectClass)
12-24 08:59:24.849: INFO/dalvikvm(743): "Signal Catcher" daemon prio=5 tid=7 VMWAIT
12-24 08:59:24.849: INFO/dalvikvm(743):   | group="system" sCount=1 dsCount=0 s=N obj=0x437541e8 self=0x157520
12-24 08:59:24.849: INFO/dalvikvm(743):   | sysTid=746 nice=0 sched=0/0 handle=1406176
12-24 08:59:24.849: INFO/dalvikvm(743):   at dalvik.system.NativeStart.run(Native Method)
12-24 08:59:24.849: ERROR/dalvikvm(743): VM aborting
12-24 08:59:24.861: INFO/ActivityManager(575): Process com.gamevil.testjni (pid 743) has died.
问题回答

I would guess that you have 2 threads accessing the same JNIEnv object.

See:





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签