Closed GoogleCodeExporter closed 9 years ago
All the log:
I/AndroidRuntime( 4484): NOTE: attach of thread 'Binder Thread #2' failed
D/dalvikvm( 4491): Trying to load lib /data/data/com.awesome/lib/libgdx.so
0x4878a9d8
D/dalvikvm( 4491): Added shared lib /data/data/com.awesome/lib/libgdx.so
0x4878a9d8
D/dalvikvm( 4491): No JNI_OnLoad found in /data/data/com.awesome/lib/libgdx.so
0x4878a9d8, skipping init
D/dalvikvm( 4491): GetMethodID: method not found:
Lcom/awesome/myStuff;.beginContact:(J)V
D/dalvikvm( 4491): GetMethodID: method not found:
Lcom/awesome/myStuff;.endContact:(J)V
E/dalvikvm( 4491): Class lookup Ljava/lang/NoSuchMethodError; attempted while
exception Ljava/lang/NoSuchMethodError; pending
I/dalvikvm( 4491): DALVIK THREADS:
I/dalvikvm( 4491): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm( 4491): | group="main" sCount=0 dsCount=0 s=N obj=0x4001d8b0
self=0xcca8
I/dalvikvm( 4491): | sysTid=4491 nice=0 sched=0/0 cgrp=default
handle=-1345017808
I/dalvikvm( 4491): | schedstat=( 67022079 35256172 54 )
I/dalvikvm( 4491): at com.badlogic.gdx.physics.box2d.World.newWorld(Native
Method)
I/dalvikvm( 4491): at
com.badlogic.gdx.physics.box2d.World.<init>(World.java:100)
I/dalvikvm( 4491): at com.awesome.myStuff.<init>(myStuff.java:9)
I/dalvikvm( 4491): at
com.awesome.SuperAwesomeActivity.onCreate(SuperAwesomeActivity.java:18)
I/dalvikvm( 4491): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
I/dalvikvm( 4491): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
I/dalvikvm( 4491): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
I/dalvikvm( 4491): at
android.app.ActivityThread.access$2300(ActivityThread.java:125)
I/dalvikvm( 4491): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
I/dalvikvm( 4491): at android.os.Handler.dispatchMessage(Handler.java:99)
I/dalvikvm( 4491): at android.os.Looper.loop(Looper.java:123)
I/dalvikvm( 4491): at
android.app.ActivityThread.main(ActivityThread.java:4627)
I/dalvikvm( 4491): at java.lang.reflect.Method.invokeNative(Native Method)
I/dalvikvm( 4491): at java.lang.reflect.Method.invoke(Method.java:521)
I/dalvikvm( 4491): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
I/dalvikvm( 4491): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
I/dalvikvm( 4491): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 4491):
I/dalvikvm( 4491): "Binder Thread #2" prio=5 tid=7 NATIVE
I/dalvikvm( 4491): | group="main" sCount=0 dsCount=0 s=N obj=0x4878e798
self=0x1185c8
I/dalvikvm( 4491): | sysTid=4497 nice=0 sched=0/0 cgrp=default handle=1194544
I/dalvikvm( 4491): | schedstat=( 224208 9514555 1 )
I/dalvikvm( 4491): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 4491):
I/dalvikvm( 4491): "Binder Thread #1" prio=5 tid=6 NATIVE
I/dalvikvm( 4491): | group="main" sCount=0 dsCount=0 s=N obj=0x48788d88
self=0x11c928
I/dalvikvm( 4491): | sysTid=4496 nice=0 sched=0/0 cgrp=default handle=1165400
I/dalvikvm( 4491): | schedstat=( 2147165 13474391 1 )
I/dalvikvm( 4491): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 4491):
I/dalvikvm( 4491): "Compiler" daemon prio=5 tid=5 VMWAIT
I/dalvikvm( 4491): | group="system" sCount=0 dsCount=0 s=N obj=0x48781348
self=0x131b80
I/dalvikvm( 4491): | sysTid=4495 nice=0 sched=0/0 cgrp=default handle=1295800
I/dalvikvm( 4491): | schedstat=( 182830 9787550 3 )
I/dalvikvm( 4491): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 4491):
I/dalvikvm( 4491): "JDWP" daemon prio=5 tid=4 VMWAIT
I/dalvikvm( 4491): | group="system" sCount=0 dsCount=0 s=N obj=0x487812a0
self=0x11c178
I/dalvikvm( 4491): | sysTid=4494 nice=0 sched=0/0 cgrp=default handle=1250568
I/dalvikvm( 4491): | schedstat=( 2615687 2621287 19 )
I/dalvikvm( 4491): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 4491):
I/dalvikvm( 4491): "Signal Catcher" daemon prio=5 tid=3 VMWAIT
I/dalvikvm( 4491): | group="system" sCount=0 dsCount=0 s=N obj=0x487811e8
self=0x12f760
I/dalvikvm( 4491): | sysTid=4493 nice=0 sched=0/0 cgrp=default handle=1268520
I/dalvikvm( 4491): | schedstat=( 345165 6145825 2 )
I/dalvikvm( 4491): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 4491):
I/dalvikvm( 4491): "HeapWorker" daemon prio=5 tid=2 VMWAIT
I/dalvikvm( 4491): | group="system" sCount=0 dsCount=0 s=N obj=0x4585cc58
self=0x1359e8
I/dalvikvm( 4491): | sysTid=4492 nice=0 sched=0/0 cgrp=default handle=1242736
I/dalvikvm( 4491): | schedstat=( 10715733 17652925 11 )
I/dalvikvm( 4491): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 4491):
E/dalvikvm( 4491): VM aborting
V/RenderScript_jni( 3055): surfaceDestroyed
I/DEBUG ( 2576): *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
***
I/DEBUG ( 2576): Build fingerprint:
'samsung/GT-I9000/GT-I9000/GT-I9000:2.2/FROYO/XXJPO:user/release-keys'
I/DEBUG ( 2576): pid: 4491, tid: 4491 >>> com.awesome <<<
I/DEBUG ( 2576): signal 11 (SIGSEGV), fault addr deadd00d
I/DEBUG ( 2576): r0 00000026 r1 afd14921 r2 afd14921 r3 00000000
I/DEBUG ( 2576): r4 809a23f4 r5 809a23f4 r6 0000cca8 r7 00000000
I/DEBUG ( 2576): r8 3f800000 r9 430cbc6c 10 00000001 fp bea1a828
I/DEBUG ( 2576): ip deadd00d sp bea1a3f0 lr afd1596b pc 809420b8 cpsr
20000030
I/DEBUG ( 2576): d0 643a64696f72646e d1 6472656767756265
I/DEBUG ( 2576): d2 6874654d24746967 d3 677241646e41640a
I/DEBUG ( 2576): d4 432f0250432f021c d5 432f02b8432f0284
I/DEBUG ( 2576): d6 bff921fb54400000 d7 000000076dc9c883
I/DEBUG ( 2576): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 2576): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 2576): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 2576): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 2576): d16 8095070b487b4fb0 d17 4060000000000000
I/DEBUG ( 2576): d18 3fe62e42fee00000 d19 3fe921fb54442d18
I/DEBUG ( 2576): d20 bfc999999998ebc4 d21 3fc24924920083ff
I/DEBUG ( 2576): d22 bfbc71c6fe231671 d23 3fb745cdc54c206e
I/DEBUG ( 2576): d24 bfb3b0f2af749a6d d25 3fb10d66a0d03d51
I/DEBUG ( 2576): d26 bfadde2d52defd9a d27 3fa97b4b24760deb
I/DEBUG ( 2576): d28 bfa2b4442c6a6c2f d29 0000000000000000
I/DEBUG ( 2576): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 2576): scr 60000012
I/DEBUG ( 2576):
I/DEBUG ( 2576): #00 pc 000420b8 /system/lib/libdvm.so
I/DEBUG ( 2576): #01 pc 000686e8 /system/lib/libdvm.so
I/DEBUG ( 2576): #02 pc 0006897a /system/lib/libdvm.so
I/DEBUG ( 2576): #03 pc 00068eea /system/lib/libdvm.so
I/DEBUG ( 2576): #04 pc 0004177e /system/lib/libdvm.so
I/DEBUG ( 2576): #05 pc 000490ba /system/lib/libdvm.so
I/DEBUG ( 2576): #06 pc 00034f50
/data/data/com.awesome/lib/libgdx.so
I/DEBUG ( 2576): #07 pc 00016e34 /system/lib/libdvm.so
I/DEBUG ( 2576):
I/DEBUG ( 2576): code around pc:
I/DEBUG ( 2576): 80942098 20061861 f7d418a2 2000eb86 ecdef7d4
I/DEBUG ( 2576): 809420a8 58234808 b1036bdb f8df4798 2026c01c
I/DEBUG ( 2576): 809420b8 0000f88c ed44f7d4 00060360 fffe213c
I/DEBUG ( 2576): 809420c8 fffe53b0 000003a0 deadd00d f8dfb40e
I/DEBUG ( 2576): 809420d8 b503c02c bf00490a 188ba200 f853aa03
I/DEBUG ( 2576):
I/DEBUG ( 2576): code around lr:
I/DEBUG ( 2576): afd15948 b5f74b0d 490da200 2600189b 585c4602
I/DEBUG ( 2576): afd15958 686768a5 f9b5e008 b120000c 46289201
I/DEBUG ( 2576): afd15968 9a014790 35544306 37fff117 6824d5f3
I/DEBUG ( 2576): afd15978 d1ed2c00 bdfe4630 0002c9d8 000000d8
I/DEBUG ( 2576): afd15988 b086b570 f602fb01 9004460c a804a901
I/DEBUG ( 2576):
I/DEBUG ( 2576): stack:
I/DEBUG ( 2576): bea1a3b0 00000015
I/DEBUG ( 2576): bea1a3b4 afd14951 /system/lib/libc.so
I/DEBUG ( 2576): bea1a3b8 afd425a0 /system/lib/libc.so
I/DEBUG ( 2576): bea1a3bc afd4254c /system/lib/libc.so
I/DEBUG ( 2576): bea1a3c0 00000000
I/DEBUG ( 2576): bea1a3c4 afd1596b /system/lib/libc.so
I/DEBUG ( 2576): bea1a3c8 afd14921 /system/lib/libc.so
I/DEBUG ( 2576): bea1a3cc afd14921 /system/lib/libc.so
I/DEBUG ( 2576): bea1a3d0 afd14978 /system/lib/libc.so
I/DEBUG ( 2576): bea1a3d4 809a23f4 /system/lib/libdvm.so
I/DEBUG ( 2576): bea1a3d8 809a23f4 /system/lib/libdvm.so
I/DEBUG ( 2576): bea1a3dc 0000cca8 [heap]
I/DEBUG ( 2576): bea1a3e0 00000000
I/DEBUG ( 2576): bea1a3e4 afd14985 /system/lib/libc.so
I/DEBUG ( 2576): bea1a3e8 df002777
I/DEBUG ( 2576): bea1a3ec e3a070ad
I/DEBUG ( 2576): #00 bea1a3f0 40226f60
/dev/ashmem/mspace/dalvik-heap/zygote/0 (deleted)
I/DEBUG ( 2576): bea1a3f4 809686ed /system/lib/libdvm.so
I/DEBUG ( 2576): #01 bea1a3f8 43af9500
/data/dalvik-cache/system@framework@core.jar@classes.dex
I/DEBUG ( 2576): bea1a3fc 48791d68 /dev/ashmem/mspace/dalvik-heap/2
(deleted)
I/DEBUG ( 2576): bea1a400 809a004a /system/lib/libdvm.so
I/DEBUG ( 2576): bea1a404 8096995b /system/lib/libdvm.so
I/DEBUG ( 2576): bea1a408 80983175 /system/lib/libdvm.so
I/DEBUG ( 2576): bea1a40c 00000000
I/DEBUG ( 2576): bea1a410 432ef668 /dev/ashmem/dalvik-LinearAlloc
(deleted)
I/DEBUG ( 2576): bea1a414 48791d68 /dev/ashmem/mspace/dalvik-heap/2
(deleted)
I/DEBUG ( 2576): bea1a418 81554030 /data/data/com.awesome/lib/libgdx.so
I/DEBUG ( 2576): bea1a41c 809a23f4 /system/lib/libdvm.so
I/DEBUG ( 2576): bea1a420 80983175 /system/lib/libdvm.so
I/DEBUG ( 2576): bea1a424 81554030 /data/data/com.awesome/lib/libgdx.so
I/DEBUG ( 2576): bea1a428 00000000
I/DEBUG ( 2576): bea1a42c 8096897f /system/lib/libdvm.so
I/BootReceiver( 2917): Copying /data/tombstones/tombstone_05 to DropBox
(SYSTEM_TOMBSTONE)
I/DEBUG ( 2576): dumpmesg > /data/log/dumpstate_app_native.log
I/ActivityManager( 2917): Process com.awesome (pid 4491) has died.
Original comment by brigam...@gmail.com
on 11 Mar 2011 at 11:30
Yeah, that's because you should not derive from World. It's a JNI wrapper, and
the JNI wrapper can only be bound to a single specific class. In this case it's
the com.badlogic.gdx.physics.box2d.World class. That's an inherent limitation
that can't be fixed.
Why would you want to derrive from World?
Original comment by badlogicgames
on 11 Mar 2011 at 11:59
Ops. Thanks....
I am just tring to understand how libgdx work.
Why am i inherit from it?
Dunno ... just tring
extending World
and the JNI wrapper can only be bound to a single specific class. In this
case it's the com.badlogic.gdx.physics.box2d.World class. That's an inherent
limitation that can't be fixed.
Original comment by brigam...@gmail.com
on 11 Mar 2011 at 12:07
I fell into this pitfall too. Extending World was fine on the desktop, but
broke on android. I felt it made sense to extend World because I was creating
my game's world, which was intended to take the default physics behaviors of
World and extend upon them... Considering extending World breaks things and
that this is unfixable, shouldn't it be declared as a final class?
Original comment by j.tur...@mhnltd.co.uk
on 28 Jul 2011 at 6:07
I'm also voting to declare com.badlogic.gdx.physics.box2d.World with "final"
modifier. (If it is possible to make it so for JNI wrappers...)
Original comment by robert.komorovsky
on 29 Jul 2011 at 1:53
It's been final for quite some time now :)
Original comment by badlogicgames
on 29 Jul 2011 at 4:03
The same problem. After i`m using proguard, the game not lunching on Android.
There is no problem on Desktop and was no problem before proguard. Please,
help, how can i setup proguard config to resolve this problem?
Thank,
Dmitry.
Original comment by markita...@gmail.com
on 21 Jan 2013 at 10:25
You must have an entirely different problem, as you can't derrive from World.
Please post on the forums, with the output from Android.
Original comment by badlogicgames
on 21 Jan 2013 at 10:31
Hello,
Thanks, i will post on a forum with output at a new issue.
Original comment by markita...@gmail.com
on 22 Jan 2013 at 3:11
Original issue reported on code.google.com by
brigam...@gmail.com
on 11 Mar 2011 at 9:52