Emulator silently crashes on startup (cannot find libMAME4all.so)
Opened this issue · 0 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Install MAME4droid.apk on Rena tablet
2. Run MAME4droid (with or without games in /sdcard/ROMs/MAME4all/roms folder)
3. For a half of second (or less) the interface of the emulator will appear on
the screen and then immediately disappear
What is the expected output? What do you see instead?
Emulator should show a list of games or should tell no rom is found, but should
not crash silently.
What version of the product are you using? On what operating system?
Android 2.2, MAME4droid 1.3.1
Please provide any additional information below.
Here is the output of aLogcat showing the emulator can't find some shared
library:
I/ActivityManager( 112): Starting activity: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
flg=0x10200000 cmp=com.seleuco.mame4all/.MAME4all bnds=[470,405][556,478] }
I/ActivityManager( 112): Start proc com.seleuco.mame4all for activity
com.seleuco.mame4all/.MAME4all: pid=857 uid=10074 gids={1015}
D/dalvikvm( 857): GC_EXTERNAL_ALLOC freed 1844 objects / 110488 bytes in 40ms
D/dalvikvm( 857): GC_FOR_MALLOC freed 529 objects / 26056 bytes in 35ms
I/dalvikvm-heap( 857): Grow heap (frag case) to 6.308MB for 3686416-byte
allocation
D/dalvikvm( 857): GC_FOR_MALLOC freed 41 objects / 1592 bytes in 44ms
D/dalvikvm( 857): Trying to load lib
/data/data/com.seleuco.mame4all/lib/libmame4all-jni.so 0x485a3570
D/dalvikvm( 857): Added shared lib
/data/data/com.seleuco.mame4all/lib/libmame4all-jni.so 0x485a3570
D/mame4all-jni( 857): JNI_OnLoad called
D/mame4all-jni( 857): setValue 1=0
D/mame4all-jni( 857): setValue 7=1
D/mame4all-jni( 857): setValue 8=1
I/global ( 857): Default buffer size used in BufferedReader constructor. It
would be better to be explicit if an 8k-char buffer is required.
I/mame4all-jni( 857): init
D/mame4all-jni( 857): Attempting to load
/mnt/dlib/data/data/com.seleuco.mame4all/lib/libMAME4all.so
E/mame4all-jni( 857): Unable to load libMAME4all.so: Cannot load library:
load_library[1083]: Library
'/mnt/dlib/data/data/com.seleuco.mame4all/lib/libMAME4all.so' not found
I/DEBUG ( 64): *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
***
I/DEBUG ( 64): Build fingerprint:
'verizon/droid2we_vzw/cdma_droid2we/droid2we:2.2/S273/2.4.29:user/ota-rel-keys,r
elease-keys'
I/DEBUG ( 64): pid: 857, tid: 866 >>> com.seleuco.mame4all <<<
I/DEBUG ( 64): signal 11 (SIGSEGV), fault addr 00000000
I/DEBUG ( 64): r0 80900cb9 r1 80900d79 r2 80900de9 r3 00000000
I/DEBUG ( 64): r4 809020c8 r5 00000000 r6 485c8bd0 r7 44ab4fb0
I/DEBUG ( 64): r8 4cf79b48 r9 44ab4fa8 10 44ab4f94 fp 4cf79ed8
I/DEBUG ( 64): ip 00000079 sp 4cf79b28 lr 809014bd pc 00000000 cpsr
80000010
I/DEBUG ( 64): d0 6f6620746f6e2027 d1 696c2f6c6c613465
I/DEBUG ( 64): d2 4d414d62696c2f62 d3 6f732e6c6c613445
I/DEBUG ( 64): d4 6e6d2f2720797261 d5 642f62696c642f74
I/DEBUG ( 64): d6 617461642f617461 d7 6c65732e6d6f632f
I/DEBUG ( 64): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 64): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 64): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 64): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 64): d16 8086437d400320f0 d17 3fe999999999999a
I/DEBUG ( 64): d18 42eccefa43de3400 d19 3fe00000000000b4
I/DEBUG ( 64): d20 4008000000000000 d21 3fd99a27ad32ddf5
I/DEBUG ( 64): d22 3fd24998d6307188 d23 3fcc7288e957b53b
I/DEBUG ( 64): d24 3fc74721cad6b0ed d25 3fc39a09d078c69f
I/DEBUG ( 64): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 64): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 64): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 64): scr 80000012
I/DEBUG ( 64):
I/DEBUG ( 64): #00 pc 00000000
I/DEBUG ( 64): #01 pc 000014ba
/mnt/dcache/data/data/com.seleuco.mame4all/lib/libmame4all-jni.so
I/DEBUG ( 64): #02 pc 00016df4 /system/lib/libdvm.so
I/DEBUG ( 64): #03 pc 000452dc /system/lib/libdvm.so
I/DEBUG ( 64): #04 pc 0004a9aa /system/lib/libdvm.so
I/DEBUG ( 64): #05 pc 0001bd58 /system/lib/libdvm.so
I/DEBUG ( 64): #06 pc 00022754 /system/lib/libdvm.so
I/DEBUG ( 64): #07 pc 000215f4 /system/lib/libdvm.so
I/DEBUG ( 64): #08 pc 0005c58c /system/lib/libdvm.so
I/DEBUG ( 64): #09 pc 0005c7bc /system/lib/libdvm.so
I/DEBUG ( 64): #10 pc 0004fa8c /system/lib/libdvm.so
I/DEBUG ( 64): #11 pc 00010ee0 /system/lib/libc.so
I/DEBUG ( 64): #12 pc 000109d0 /system/lib/libc.so
I/DEBUG ( 64):
I/DEBUG ( 64): code around pc:
I/DEBUG ( 64):
I/DEBUG ( 64): code around lr:
I/DEBUG ( 64): 8090149c 99019803 47989a05 58e34b25 4a25681b
I/DEBUG ( 64): 809014ac 1c1058a2 58a24a24 4a241c11 479858a2
I/DEBUG ( 64): 809014bc 58e34b23 4a23681b 1c1058a2 58a24a22
I/DEBUG ( 64): 809014cc 4a221c11 479858a2 681a9b03 009b23a9
I/DEBUG ( 64): 809014dc 990358d3 1c089a00 22001c11 1c034798
I/DEBUG ( 64):
I/DEBUG ( 64): stack:
I/DEBUG ( 64): 4cf79ae8 0000002c
I/DEBUG ( 64): 4cf79aec 00129670
I/DEBUG ( 64): 4cf79af0 000013fc
I/DEBUG ( 64): 4cf79af4 00000001
I/DEBUG ( 64): 4cf79af8 00000007
I/DEBUG ( 64): 4cf79afc 00314c98
I/DEBUG ( 64): 4cf79b00 00129670
I/DEBUG ( 64): 4cf79b04 485c8bd0
I/DEBUG ( 64): 4cf79b08 00314c98
I/DEBUG ( 64): 4cf79b0c 00129670
I/DEBUG ( 64): 4cf79b10 485c8bd0
I/DEBUG ( 64): 4cf79b14 80844a6d /system/lib/libdvm.so
I/DEBUG ( 64): 4cf79b18 809020c8
I/DEBUG ( 64): 4cf79b1c 00000000
I/DEBUG ( 64): 4cf79b20 df002777
I/DEBUG ( 64): 4cf79b24 e3a070ad
I/DEBUG ( 64): #01 4cf79b28 4895dd40
I/DEBUG ( 64): 4cf79b2c 4895dbf0
I/DEBUG ( 64): 4cf79b30 485c8bd0
I/DEBUG ( 64): 4cf79b34 00140098
I/DEBUG ( 64): 4cf79b38 001296a0
I/DEBUG ( 64): 4cf79b3c 00129670
I/DEBUG ( 64): 4cf79b40 4cf79b68
I/DEBUG ( 64): 4cf79b44 80816df8 /system/lib/libdvm.so
I/ActivityManager( 112): Displayed activity com.seleuco.mame4all/.MAME4all:
828 ms (total 828 ms)
I/BootReceiver( 112): Copying /data/tombstones/tombstone_08 to DropBox
(SYSTEM_TOMBSTONE)
D/Zygote ( 66): Process 857 terminated by signal (11)
D/dalvikvm( 112): GC_FOR_MALLOC freed 37124 objects / 2034000 bytes in 107ms
I/ActivityManager( 112): Process com.seleuco.mame4all (pid 857) has died.
I/WindowManager( 112): WIN DEATH: Window{488c6ec0 SurfaceView paused=false}
I/WindowManager( 112): WIN DEATH: Window{488c6068
com.seleuco.mame4all/com.seleuco.mame4all.MAME4all paused=false}
I/UsageStats( 112): Unexpected resume of com.fede.launcher while already
resumed in com.seleuco.mame4all
D/dalvikvm( 112): GC_FOR_MALLOC freed 933 objects / 125304 bytes in 84ms
I/dalvikvm-heap( 112): Grow heap (frag case) to 8.606MB for 171232-byte
allocation
D/dalvikvm( 112): GC_FOR_MALLOC freed 14 objects / 456 bytes in 92ms
D/dalvikvm( 112): GC_FOR_MALLOC freed 16 objects / 236528 bytes in 92ms
W/InputManagerService( 112): Got RemoteException sending setActive(false)
notification to pid 857 uid 10074
I/ActivityManager( 112): Starting activity: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
flg=0x10200000 cmp=org.jtb.alogcat/.LogActivity bnds=[562,405][648,478] }
D/alogcat ( 843): stopping ...
D/alogcat ( 843): starting ...
D/alogcat ( 843): canceling periodic saves
V/alogcat ( 843): started
V/alogcat ( 843): resumed
Original issue reported on code.google.com by stanisl...@gmail.com
on 7 Nov 2011 at 8:15