android automotive10 using usb flash driver crash and reboot - Android Q&A, Help & Troubleshooting

I use android automotive 10, imx8q, 4G ram, 32g rom, when I using usb flash driver it will crash and reboot, the log is below, someone can tell me why? thanks!
"StorageManagerService" prio=5 tid=57 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x130c3b20 self=0xe2cb861fc800 | sysTid=613 nice=0 cgrp=default sched=0/0 handle=0xe2cb8fc37d50 | state=S schedstat=( 0 0 0 ) utm=1 stm=0 core=1 HZ=100 | stack=0xe2cb8fb35000-0xe2cb8fb37000 stackSize=1039KB | held mutexes= kernel: (couldn't read /proc/self/task/613/stack) native: #00 pc 00000000000cd7a4 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4) native: #01 pc 000000000008a7f4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+132) native: #02 pc 000000000005861c /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+260) native: #03 pc 00000000000594ec /system/lib64/libbinder.so (android::IPCThreadState::waitForResponse(android:arcel*, int*)+60) native: #04 pc 0000000000059288 /system/lib64/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android:arcel const&, android:arcel*, unsigned int)+184) native: #05 pc 000000000004dfe0 /system/lib64/libbinder.so (android::BpBinder::transact(unsigned int, android:arcel const&, android:arcel*, unsigned int)+72) native: #06 pc 0000000000149a08 /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact(_JNIEnv*, _jobject*, int, _jobject*, _jobject*, int)+152) at android.os.BinderProxy.transactNative(Native method) at android.os.BinderProxy.transact(BinderProxy.java:511) at android.os.IVold$Stub$Proxy.mount(IVold.java:1560) at com.android.server.StorageManagerService.mount(StorageManagerService.java:1808) at com.android.server.StorageManagerService.access$1600(StorageManagerService.java:188) at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:650) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.os.HandlerThread.run(HandlerThread.java:67)"StorageManagerService" prio=5 tid=57 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x130c3b20 self=0xe2cb861fc800 | sysTid=613 nice=0 cgrp=default sched=0/0 handle=0xe2cb8fc37d50 | state=S schedstat=( 0 0 0 ) utm=1 stm=0 core=1 HZ=100 | stack=0xe2cb8fb35000-0xe2cb8fb37000 stackSize=1039KB | held mutexes= kernel: (couldn't read /proc/self/task/613/stack) native: #00 pc 00000000000cd7a4 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4) native: #01 pc 000000000008a7f4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+132) native: #02 pc 000000000005861c /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+260) native: #03 pc 00000000000594ec /system/lib64/libbinder.so (android::IPCThreadState::waitForResponse(android:arcel*, int*)+60) native: #04 pc 0000000000059288 /system/lib64/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android:arcel const&, android:arcel*, unsigned int)+184) native: #05 pc 000000000004dfe0 /system/lib64/libbinder.so (android::BpBinder::transact(unsigned int, android:arcel const&, android:arcel*, unsigned int)+72) native: #06 pc 0000000000149a08 /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact(_JNIEnv*, _jobject*, int, _jobject*, _jobject*, int)+152) at android.os.BinderProxy.transactNative(Native method) at android.os.BinderProxy.transact(BinderProxy.java:511) at android.os.IVold$Stub$Proxy.mount(IVold.java:1560) at com.android.server.StorageManagerService.mount(StorageManagerService.java:1808) at com.android.server.StorageManagerService.access$1600(StorageManagerService.java:188) at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:650) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.os.HandlerThread.run(HandlerThread.java:67)

Java:
"StorageManagerService" prio=5 tid=57 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x130c3b20 self=0xe2cb861fc800 | sysTid=613 nice=0 cgrp=default sched=0/0 handle=0xe2cb8fc37d50 | state=S schedstat=( 0 0 0 ) utm=1 stm=0 core=1 HZ=100 | stack=0xe2cb8fb35000-0xe2cb8fb37000 stackSize=1039KB | held mutexes= kernel: (couldn't read /proc/self/task/613/stack) native: #00 pc 00000000000cd7a4 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4) native: #01 pc 000000000008a7f4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+132) native: #02 pc 000000000005861c /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+260) native: #03 pc 00000000000594ec /system/lib64/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+60) native: #04 pc 0000000000059288 /system/lib64/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+184) native: #05 pc 000000000004dfe0 /system/lib64/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+72) native: #06 pc 0000000000149a08 /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact(_JNIEnv*, _jobject*, int, _jobject*, _jobject*, int)+152) at android.os.BinderProxy.transactNative(Native method) at android.os.BinderProxy.transact(BinderProxy.java:511) at android.os.IVold$Stub$Proxy.mount(IVold.java:1560) at com.android.server.StorageManagerService.mount(StorageManagerService.java:1808) at com.android.server.StorageManagerService.access$1600(StorageManagerService.java:188) at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:650) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.os.HandlerThread.run(HandlerThread.java:67)"StorageManagerService" prio=5 tid=57 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x130c3b20 self=0xe2cb861fc800 | sysTid=613 nice=0 cgrp=default sched=0/0 handle=0xe2cb8fc37d50 | state=S schedstat=( 0 0 0 ) utm=1 stm=0 core=1 HZ=100 | stack=0xe2cb8fb35000-0xe2cb8fb37000 stackSize=1039KB | held mutexes= kernel: (couldn't read /proc/self/task/613/stack) native: #00 pc 00000000000cd7a4 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4) native: #01 pc 000000000008a7f4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+132) native: #02 pc 000000000005861c /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+260) native: #03 pc 00000000000594ec /system/lib64/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+60) native: #04 pc 0000000000059288 /system/lib64/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+184) native: #05 pc 000000000004dfe0 /system/lib64/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+72) native: #06 pc 0000000000149a08 /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact(_JNIEnv*, _jobject*, int, _jobject*, _jobject*, int)+152) at android.os.BinderProxy.transactNative(Native method) at android.os.BinderProxy.transact(BinderProxy.java:511) at android.os.IVold$Stub$Proxy.mount(IVold.java:1560) at com.android.server.StorageManagerService.mount(StorageManagerService.java:1808) at com.android.server.StorageManagerService.access$1600(StorageManagerService.java:188) at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:650) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.os.HandlerThread.run(HandlerThread.java:67)

someone can help me?thank a lot

Related

[Q] Polaris Office apk in stock

Hi,
Has anyone got a copy of the libpolaris.so library that they can post for me?
It may also require these libPDMaster.so libPDMaster_Clipboard.so
I installed CyanogenMod, but forgot to save the library which is a requirement for the PolarisOffice app to run.
Regards.
I got a copy of the library from another i9100 running stock. It almost works. The app will run, but creating or opening a file will return the app back to the starting screen. Seems something is missing (maybe its tied into the Samsung framework).
Here is a logcat in case anyone knows what is missing. My Java is poor.
Code:
I/ActivityManager( 2738): Starting: Intent { cmp=com.infraware.polarisoffice/.OfficeLauncherActivity (has extras) } from pid 7916
I/ActivityManager( 2738): Starting: Intent { flg=0x4010000 cmp=com.infraware.polarisoffice/.word.WordEditorActivity (has extras) } from pid 7916
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.IOpen:(Ljava/lang/String;IIIIIIIIIIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.IOpenEx:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.INewDocument:(Ljava/lang/String;IIIIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.ICaretMove:(III)V
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.IImageInsert:(Ljava/lang/String;Landroid/graphics/Bitmap;III)V
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.ISetParaAttribute:(IIIIIIIIIIII)V
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.ISlideObjMasterLayout:(II)V
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.ISetCompBackColor:(IIIIJJIII)V
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.IGetProtectStatus:()I
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.IGetFontPreview:(Landroid/graphics/Bitmap;Lcom/infraware/office/evengine/EV$FONT_DATA;Ljava/lang/String;)Z
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.IReleaseFontPreview:()V
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.ISaveThumbnailAt:(IIILjava/lang/String;I)V
W/dalvikvm( 7916): ERROR: Unable to find decl for native Lcom/infraware/office/evengine/EvNative;.ISetThumbnailBackground:(Z)V
D/dalvikvm( 7916): GetMethodID: method not found: Lcom/infraware/office/evengine/EvNative;.GetImagePlaceHolderDefaultImage:()Landroid/graphics/Bitmap;
D/dalvikvm( 7916): GetMethodID: method not found: Lcom/infraware/office/evengine/EvNative;.OnGetClipBoardHelper:()Lcom/infraware/office/evengine/EvClipBoardHelper;
E/dalvikvm( 7916): Class lookup Ljava/lang/NoSuchMethodError; attempted while exception Ljava/lang/NoClassDefFoundError; pending
I/dalvikvm( 7916): DALVIK THREADS:
I/dalvikvm( 7916): (mutexes: tll=0 tsl=0 tscl=0 ghl=0 hwl=0 hwll=0)
I/dalvikvm( 7916): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm( 7916): | group="main" sCount=0 dsCount=0 obj=0x4001f188 self=0xce60
I/dalvikvm( 7916): | sysTid=7916 nice=0 sched=0/0 cgrp=default handle=-1345002400
I/dalvikvm( 7916): | schedstat=( 3086527565 1120410068 4484 )
I/dalvikvm( 7916): at com.infraware.office.evengine.EvNative.IBeginNative(Native Method)
I/dalvikvm( 7916): at com.infraware.office.evengine.EvNative.<init>(EvNative.java:66)
I/dalvikvm( 7916): at com.infraware.office.evengine.EvInterface.<init>(EvInterface.java:21)
I/dalvikvm( 7916): at com.infraware.office.evengine.EvCompInterfaceMsg.<init>(EvCompInterfaceMsg.java:57)
I/dalvikvm( 7916): at com.infraware.office.evengine.EvInterface.getInterface(EvInterface.java:30)
I/dalvikvm( 7916): at com.infraware.office.baseframe.EvBaseViewerActivity.<init>(EvBaseViewerActivity.java:303)
I/dalvikvm( 7916): at com.infraware.office.baseframe.EvBaseEditorActivity.<init>(EvBaseEditorActivity.java:87)
I/dalvikvm( 7916): at com.infraware.polarisoffice.word.WordEditorActivity.<init>(WordEditorActivity.java:34)
I/dalvikvm( 7916): at java.lang.Class.newInstanceImpl(Native Method)
I/dalvikvm( 7916): at java.lang.Class.newInstance(Class.java:1409)
I/dalvikvm( 7916): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
I/dalvikvm( 7916): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1672)
I/dalvikvm( 7916): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1784)
I/dalvikvm( 7916): at android.app.ActivityThread.access$1500(ActivityThread.java:123)
I/dalvikvm( 7916): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)
I/dalvikvm( 7916): at android.os.Handler.dispatchMessage(Handler.java:99)
I/dalvikvm( 7916): at android.os.Looper.loop(Looper.java:130)
I/dalvikvm( 7916): at android.app.ActivityThread.main(ActivityThread.java:3835)
I/dalvikvm( 7916): at java.lang.reflect.Method.invokeNative(Native Method)
I/dalvikvm( 7916): at java.lang.reflect.Method.invoke(Method.java:507)
I/dalvikvm( 7916): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
I/dalvikvm( 7916): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
I/dalvikvm( 7916): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 7916):
I/dalvikvm( 7916): "Binder Thread #3" prio=5 tid=11 NATIVE
I/dalvikvm( 7916): | group="main" sCount=0 dsCount=0 obj=0x40593eb0 self=0x16c210
I/dalvikvm( 7916): | sysTid=7926 nice=0 sched=0/0 cgrp=default handle=1583336
I/dalvikvm( 7916): | schedstat=( 6233704 17208837 31 )
I/dalvikvm( 7916): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 7916):
I/dalvikvm( 7916): "Binder Thread #2" prio=5 tid=8 NATIVE
I/dalvikvm( 7916): | group="main" sCount=0 dsCount=0 obj=0x405136d8 self=0xcd8f8
I/dalvikvm( 7916): | sysTid=7923 nice=0 sched=0/0 cgrp=default handle=1239456
I/dalvikvm( 7916): | schedstat=( 5978376 12676128 35 )
I/dalvikvm( 7916): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 7916):
I/dalvikvm( 7916): "Binder Thread #1" prio=5 tid=7 NATIVE
I/dalvikvm( 7916): | group="main" sCount=0 dsCount=0 obj=0x40513610 self=0x846b8
I/dalvikvm( 7916): | sysTid=7922 nice=0 sched=0/0 cgrp=default handle=1217888
I/dalvikvm( 7916): | schedstat=( 7688041 21468709 37 )
I/dalvikvm( 7916): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 7916):
I/dalvikvm( 7916): "Compiler" daemon prio=5 tid=6 VMWAIT
I/dalvikvm( 7916): | group="system" sCount=0 dsCount=0 obj=0x4050f670 self=0x84580
I/dalvikvm( 7916): | sysTid=7921 nice=0 sched=0/0 cgrp=default handle=514136
I/dalvikvm( 7916): | schedstat=( 232599561 75406053 2293 )
I/dalvikvm( 7916): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 7916):
I/dalvikvm( 7916): "JDWP" daemon prio=5 tid=5 VMWAIT
I/dalvikvm( 7916): | group="system" sCount=0 dsCount=0 obj=0x4050f5c0 self=0x10c580
I/dalvikvm( 7916): | sysTid=7920 nice=0 sched=0/0 cgrp=default handle=1068888
I/dalvikvm( 7916): | schedstat=( 472790 1943502 7 )
I/dalvikvm( 7916): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 7916):
I/dalvikvm( 7916): "Signal Catcher" daemon prio=5 tid=4 VMWAIT
I/dalvikvm( 7916): | group="system" sCount=0 dsCount=0 obj=0x4050f500 self=0x10c448
I/dalvikvm( 7916): | sysTid=7919 nice=0 sched=0/0 cgrp=default handle=1041808
I/dalvikvm( 7916): | schedstat=( 296750 1754708 3 )
I/dalvikvm( 7916): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 7916):
I/dalvikvm( 7916): "GC" daemon prio=5 tid=3 VMWAIT
I/dalvikvm( 7916): | group="system" sCount=0 dsCount=0 obj=0x4050f458 self=0xfb030
I/dalvikvm( 7916): | sysTid=7918 nice=0 sched=0/0 cgrp=default handle=1217672
I/dalvikvm( 7916): | schedstat=( 40997423 48060254 41 )
I/dalvikvm( 7916): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 7916):
I/dalvikvm( 7916): "HeapWorker" daemon prio=5 tid=2 VMWAIT
I/dalvikvm( 7916): | group="system" sCount=0 dsCount=0 obj=0x4050f3a0 self=0x100af8
I/dalvikvm( 7916): | sysTid=7917 nice=0 sched=0/0 cgrp=default handle=495360
I/dalvikvm( 7916): | schedstat=( 109865102 19256749 441 )
I/dalvikvm( 7916): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 7916):
E/dalvikvm( 7916): VM aborting
I/DEBUG ( 2635): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 2635): Build fingerprint: 'samsung/GT-I9100/GT-I9100:2.3.4/GINGERBREAD/XXKG2:user/release-keys'
I/DEBUG ( 2635): pid: 7916, tid: 7916 >>> com.infraware.polarisoffice <<<
I/DEBUG ( 2635): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d
I/DEBUG ( 2635): r0 fffffe84 r1 deadd00d r2 00000026 r3 00000000
I/DEBUG ( 2635): r4 aca9f600 r5 0000ce60 r6 aca9f600 r7 aca83b85
I/DEBUG ( 2635): r8 00000000 r9 00000000 10 0000abe0 fp aca9f368
I/DEBUG ( 2635): ip aca9f70c sp beca0008 lr afd19625 pc aca402c0 cpsr 20000030
I/DEBUG ( 2635): d0 74726f6261204d69 d1 342039343736356e
I/DEBUG ( 2635): d2 6874654d24746967 d3 677241646e41640a
I/DEBUG ( 2635): d4 0000000000000000 d5 0000000d00000000
I/DEBUG ( 2635): d6 adebf264405ce6c0 d7 405ce6c000261cc0
I/DEBUG ( 2635): d8 4130000041300000 d9 0000029f430b0000
I/DEBUG ( 2635): d10 43e380004427c000 d11 0000000043e38000
I/DEBUG ( 2635): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 2635): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 2635): d16 bec9fd70405ced08 d17 0000000000000000
I/DEBUG ( 2635): d18 ff00ff00ff00ff00 d19 ff00ff00ff00ff00
I/DEBUG ( 2635): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 2635): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 2635): d24 ffffffffffffffff d25 ffffffffffffffff
I/DEBUG ( 2635): d26 ffffffffffffffff d27 ffffffffffffffff
I/DEBUG ( 2635): d28 0100010001000100 d29 0100010001000100
I/DEBUG ( 2635): d30 4031000000000000 d31 8000000000000000
I/DEBUG ( 2635): scr 88000012
I/DEBUG ( 2635):
I/DEBUG ( 2635): #00 pc 000402c0 /system/lib/libdvm.so (dvmAbort)
I/DEBUG ( 2635): #01 pc 000656b8 /system/lib/libdvm.so
I/DEBUG ( 2635): #02 pc 0006595a /system/lib/libdvm.so (dvmFindSystemClassNoInit)
I/DEBUG ( 2635): #03 pc 00065972 /system/lib/libdvm.so (dvmFindSystemClass)
I/DEBUG ( 2635): #04 pc 0003f9f4 /system/lib/libdvm.so (dvmThrowChainedException)
I/DEBUG ( 2635): #05 pc 000476c0 /system/lib/libdvm.so
I/DEBUG ( 2635):
I/DEBUG ( 2635): code around pc:
I/DEBUG ( 2635): aca402a0 447a4479 f7d14c0b 2000e97c ea80f7d1
I/DEBUG ( 2635): aca402b0 447c4809 6bdb5823 4798b103 22264902
I/DEBUG ( 2635): aca402c0 f7d1700a bf00eae8 deadd00d 00043967
I/DEBUG ( 2635): aca402d0 00045525 0005f34a fffffe84 4b09b40e
I/DEBUG ( 2635): aca402e0 4c09b517 aa05447b f852591b 6b5b1b04
I/DEBUG ( 2635):
I/DEBUG ( 2635): code around lr:
I/DEBUG ( 2635): afd19604 4a0e4b0d e92d447b 589c41f0 26004680
I/DEBUG ( 2635): afd19614 686768a5 f9b5e006 b113300c 47c04628
I/DEBUG ( 2635): afd19624 35544306 37fff117 6824d5f5 d1ef2c00
I/DEBUG ( 2635): afd19634 e8bd4630 bf0081f0 00028f18 ffffff88
I/DEBUG ( 2635): afd19644 b086b570 f602fb01 9004460c a804a901
I/DEBUG ( 2635):
I/DEBUG ( 2635): stack:
I/DEBUG ( 2635): bec9ffc8 afd43684
I/DEBUG ( 2635): bec9ffcc 000ba710
I/DEBUG ( 2635): bec9ffd0 00000015
I/DEBUG ( 2635): bec9ffd4 afd186f1 /system/lib/libc.so
I/DEBUG ( 2635): bec9ffd8 afd4372c
I/DEBUG ( 2635): bec9ffdc afd436d8
I/DEBUG ( 2635): bec9ffe0 00000000
I/DEBUG ( 2635): bec9ffe4 afd19625 /system/lib/libc.so
I/DEBUG ( 2635): bec9ffe8 0005f34a
I/DEBUG ( 2635): bec9ffec 0000ce60
I/DEBUG ( 2635): bec9fff0 aca9f600
I/DEBUG ( 2635): bec9fff4 aca83b85 /system/lib/libdvm.so
I/DEBUG ( 2635): bec9fff8 00000000
I/DEBUG ( 2635): bec9fffc afd18721 /system/lib/libc.so
I/DEBUG ( 2635): beca0000 df002777
I/DEBUG ( 2635): beca0004 e3a070ad
I/DEBUG ( 2635): #00 beca0008 81608ad1 /system/lib/libpolarisoffice.so
I/DEBUG ( 2635): beca000c aca656bd /system/lib/libdvm.so
I/DEBUG ( 2635): #01 beca0010 44a5d020
I/DEBUG ( 2635): beca0014 00000000
I/DEBUG ( 2635): beca0018 00000000
I/DEBUG ( 2635): beca001c acaa4d38
I/DEBUG ( 2635): beca0020 81608ad1 /system/lib/libpolarisoffice.so
I/DEBUG ( 2635): beca0024 aca83b85 /system/lib/libdvm.so
I/DEBUG ( 2635): beca0028 00000000
I/DEBUG ( 2635): beca002c 8192fd70
I/DEBUG ( 2635): beca0030 0000ce60
I/DEBUG ( 2635): beca0034 00000000
I/DEBUG ( 2635): beca0038 0000abe0
I/DEBUG ( 2635): beca003c aca6595f /system/lib/libdvm.so
Ever have any luck with this? I only needed the PO.apk and libpolarisoffice.so files to run it on CM7.
Presently on CM9 and hoping to get the latest PO version (updated in KL3 IIRC?) without having to waste a bandwidth tree and DL an entire bloody ROM.

[Q] Disassembling, assembling and re-odexing breaks it by removing some classes

Hi,
I was trying to modify framework.jar on my phone. For this I used the latest versions of smali and baksmali (2.0.3), and dexopt-wrapper from http home.scarlet.be /~rh323092 /deodex.html (please reconstruct the link yourself, I can't include it in the post because "spam" protection). In detail what I did is the following:
1) Copied all of /system/frameworks to my machine
2) Ran java -jar baksmali-2.0.3.jar -x framework.odex -o framework -a 17 -d /path/to/system/framework (no errors or anything)
3) Did all the changes (but doing no changes at all has the same effect)
4) Ran java -jar smali-2.0.3.jar -a 17 framework -o classes.dex (no errors or anything)
5) Ran zip framework.jar classes.dex
6) Followed the instructions from the above link (which ran without an error)
The final framework.odex now is about 600kb smaller than the original one. Trying to use it leads to the following error during booting:
E/JNIHelp ( 718): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 718): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 718 (zygote)
D/AEE/AED ( 123): $===AEE===AEE===AEE===$
D/AEE/AED ( 123): p 0 poll events 1 revents 0
D/AEE/AED ( 123): not know revents:0
D/AEE/AED ( 123): p 1 poll events 1 revents 0
D/AEE/AED ( 123): not know revents:0
D/AEE/AED ( 123): p 2 poll events 1 revents 1
D/AEE/AED ( 123): aed_main_fork_worker: generator 0xf3d168, worker 0xbed7ca48, recv_fd 15
D/AEE/AED ( 123): p 3 poll events 1 revents 0
D/AEE/AED ( 123): not know revents:0
D/AEE/AED ( 123): p 4 poll events 1 revents 0
D/AEE/AED ( 123): not know revents:0
I/DEBUG ( 724): handle_request(15)
I/DEBUG ( 724): check process 718 name:zygote
I/DEBUG ( 724): BOOM: pid=718 uid=0 gid=0 tid=718
I/DEBUG ( 724): [OnPurpose Redunant in preset_info] pid: 718, tid: 718, name: zygote >>> zygote <<<
I/DEBUG ( 724): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 724): Build fingerprint: 'FP/ahong89_wet_jb2/ahong89_wet_jb2:4.2.2/JDQ39/1406799590:user/test-keys'
I/DEBUG ( 724): pid: 718, tid: 718, name: zygote >>> zygote <<<
I/DEBUG ( 724): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 724): r0 00000000 r1 00000027 r2 deadbfff r3 00000000
I/DEBUG ( 724): r4 00000000 r5 bed39954 r6 402c9780 r7 00000002
I/DEBUG ( 724): r8 402d2bcc r9 400d7fc1 sl 400d7f94 fp 400d7fca
I/DEBUG ( 724): ip 00000001 sp bed39950 lr 40129d60 pc 40123628 cpsr 60000010
I/DEBUG ( 724):
I/DEBUG ( 724): backtrace:
I/DEBUG ( 724): #00 pc 00024628 /system/lib/libc.so
I/DEBUG ( 724): #01 pc 00000961 /system/lib/libnativehelper.so (jniRegisterNativeMethods+72)
I/DEBUG ( 724): #02 pc 0004dd07 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+34)
I/DEBUG ( 724): #03 pc 0004de0f /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+210)
I/DEBUG ( 724): #04 pc 00000db7 /system/bin/app_process
I/DEBUG ( 724): #05 pc 0001bd98 /system/lib/libc.so (__libc_init+64)
I/DEBUG ( 724): #06 pc 00000ae8 /system/bin/app_process
[...]
What am I missing?

compatibility android 5.0

My app work ok in android 4.4 and android 5.1 but not work in android 5.0.
My log when debug in device with android 5.0 is:
9-01 18:18:55.621: E/cpu_temp(2929): MSG_ON_WATCH_CURRENT
09-01 18:18:55.971: A/dex2oat(29462): art/compiler/dex/quick/ralloc_util.cc:406] No free temp registers
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] Runtime aborting...
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] Aborting thread:
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] "Compiler driver thread pool worker thread 2" prio=5 tid=4 Native (still starting up)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] | group="" sCount=0 dsCount=0 obj=0x0 self=0xb2c06400
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] | sysTid=29466 nice=0 cgrp=apps/bg_non_interactive sched=0/0 handle=0xb6466800
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] | state=R schedstat=( 2505976515 283571673 1200 ) utm=241 stm=9 core=1 HZ=100
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] | stack=0xb30fe000-0xb3100000 stackSize=1024KB
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] | held mutexes= "abort lock" "mutator lock"(shared held)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #00 pc 00004640 /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #01 pc 00002e8d /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #02 pc 00248379 /system/lib/libart.so (art:umpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+68)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #03 pc 0022cd03 /system/lib/libart.so (art::Thread:ump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+146)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #04 pc 0021d05f /system/lib/libart.so (art::AbortState:umpThread(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Thread*)+22)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #05 pc 0021d2c5 /system/lib/libart.so (art::AbortState:ump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+364)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #06 pc 0021d491 /system/lib/libart.so (art::Runtime::Abort()+72)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #07 pc 000a834b /system/lib/libart.so (art::LogMessage::~LogMessage()+1322)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #08 pc 001026df /system/lib/libart-compiler.so (art::Mir2Lir::AllocTempBody(art::GrowableArray<art::Mir2Lir::RegisterInfo*>&, int*, bool)+370)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #09 pc 00102751 /system/lib/libart-compiler.so (art::Mir2Lir::AllocTemp(bool)+12)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #10 pc 000a8bd7 /system/lib/libart-compiler.so (art::ArmMir2Lir::LoadStoreUsingInsnWithOffsetImm8Shl2(art::ArmOpcode, art::RegStorage, int, art::RegStorage, art::RegStorage)+54)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #11 pc 000aa907 /system/lib/libart-compiler.so (art::ArmMir2Lir::StoreBaseDispBody(art::RegStorage, int, art::RegStorage, art:pSize)+814)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #12 pc 000ab29d /system/lib/libart-compiler.so (art::ArmMir2Lir::StoreBaseDisp(art::RegStorage, int, art::RegStorage, art:pSize, art::VolatileKind)+44)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #13 pc 000deeb1 /system/lib/libart-compiler.so (art::Mir2Lir::StoreValueWide(art::RegLocation, art::RegLocation)+280)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #14 pc 000ddfd3 /system/lib/libart-compiler.so (art::Mir2Lir::GenInvokeNoInline(art::CallInfo*)+586)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #15 pc 000fc87f /system/lib/libart-compiler.so (art::Mir2Lir::CompileDalvikInstruction(art::MIR*, art::BasicBlock*, art::LIR*)+2638)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #16 pc 000fdda7 /system/lib/libart-compiler.so (art::Mir2Lir::MethodBlockCodeGen(art::BasicBlock*)+330)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #17 pc 000fdf25 /system/lib/libart-compiler.so (art::Mir2Lir::MethodMIR2LIR()+140)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #18 pc 000cebf3 /system/lib/libart-compiler.so (art::Mir2Lir::Materialize()+118)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #19 pc 00145bd7 /system/lib/libart-compiler.so (???)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #20 pc 00146217 /system/lib/libart-compiler.so (ArtQuickCompileMethod+38)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #21 pc 0015cd21 /system/lib/libart-compiler.so (art::CompilerDriver::CompileMethod(art:exFile::CodeItem const*, unsigned int, art::InvokeType, unsigned short, unsigned int, _jobject*, art:exFile const&, art:exToDexCompilationLevel)+932)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #22 pc 0015d3c5 /system/lib/libart-compiler.so (art::CompilerDriver::CompileClass(art:arallelCompilationManager const*, unsigned int)+1204)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #23 pc 00153d4d /system/lib/libart-compiler.so (???)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #24 pc 00236aab /system/lib/libart.so (art::ThreadPoolWorker::Run()+34)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #25 pc 002372f9 /system/lib/libart.so (art::ThreadPoolWorker::Callback(void*)+52)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #26 pc 000137bb /system/lib/libc.so (__pthread_start(void*)+30)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] native: #27 pc 0001189b /system/lib/libc.so (__start_thread+6)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] (no managed stack frames)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] Dumping all threads without appropriate locks held: thread list lock mutator lock
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] All threads:
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] DALVIK THREADS (4):
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] "main" prio=5 tid=1 Native (still starting up)
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] | group="" sCount=0 dsCount=0 obj=0x0 self=0xb6407400
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] | sysTid=29462 nice=0 cgrp=apps/bg_non_interactive sched=0/0 handle=0xb6f80ec8
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] | state=R schedstat=( 2859959324 463907817 1541 ) utm=257 stm=28 core=1 HZ=100
09-01 18:18:56.041: A/dex2oat(29462): art/runtime/runtime.cc:286] | stack=0xbe264000-0xbe266000 stackSize=8MB
Solution please?
Thanks

Can't connect to camera bug

I have compiled Temasek ROM for my device Xiaomi Mi3 and I'm facing the "Can't connect to camera" bug on my ROM. Can someone please tell me what files I need to fix in my ROM?
Here's the log:
Code:
--------- beginning of crash
10-08 20:40:18.906 F/libc (306): Fatal signal 8 (SIGFPE), code -6, fault addr 0x132 in tid 5094 (mm-qcamera-daem)
10-08 20:40:19.024 I/DEBUG (287): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-08 20:40:19.024 I/DEBUG (287): Build fingerprint: 'Xiaomi/cancro/cancro:5.1.1/LMY48W/dee0685f2d:userdebug/test-keys'
10-08 20:40:19.024 I/DEBUG (287): Revision: '0'
10-08 20:40:19.024 I/DEBUG (287): ABI: 'arm'
10-08 20:40:19.025 I/DEBUG (287): pid: 306, tid: 5094, name: mm-qcamera-daem >>> /system/bin/mm-qcamera-daemon <<<
10-08 20:40:19.025 I/DEBUG (287): signal 8 (SIGFPE), code -6 (SI_TKILL), fault addr 0x132
10-08 20:40:19.050 I/DEBUG (287): r0 00000000 r1 000013e6 r2 00000008 r3 b6defec8
10-08 20:40:19.050 I/DEBUG (287): r4 000013e6 r5 b327fdb8 r6 00000016 r7 0000010c
10-08 20:40:19.050 I/DEBUG (287): r8 b4cb7000 r9 00010002 sl b1fe4828 fp b327fdb0
10-08 20:40:19.050 I/DEBUG (287): ip 00000008 sp b327f450 lr b6d7f969 pc b6daed14 cpsr 600b0010
10-08 20:40:19.050 I/DEBUG (287):
10-08 20:40:19.050 I/DEBUG (287): backtrace:
10-08 20:40:19.050 I/DEBUG (287): #00 pc 00045d14 /system/lib/libc.so (tgkill+12)
10-08 20:40:19.051 I/DEBUG (287): #01 pc 00016965 /system/lib/libc.so (pthread_kill+92)
10-08 20:40:19.051 I/DEBUG (287): #02 pc 00017ac3 /system/lib/libc.so (raise+14)
10-08 20:40:19.051 I/DEBUG (287): #03 pc 0006e964 /system/lib/libc.so (__aeabi_idiv0+8)
10-08 20:40:19.051 I/DEBUG (287): #04 pc 00003807 /system/vendor/lib/libmmcamera2_cpp_module.so (cpp_module_set_clock_freq+522)
10-08 20:40:19.051 I/DEBUG (287): #05 pc 00005f25 /system/vendor/lib/libmmcamera2_cpp_module.so (cpp_module_handle_streamoff_event+408)
10-08 20:40:19.051 I/DEBUG (287): #06 pc 00003327 /system/vendor/lib/libmmcamera2_cpp_module.so (cpp_module_process_downstream_event+534)
10-08 20:40:19.051 I/DEBUG (287): #07 pc 00006de9 /system/vendor/lib/libmmcamera2_cpp_module.so
10-08 20:40:19.051 I/DEBUG (287): #08 pc 00005047 /system/vendor/lib/libmmcamera2_pproc_modules.so
10-08 20:40:19.051 I/DEBUG (287): #09 pc 00005fa9 /system/vendor/lib/libmmcamera2_isp_modules.so
10-08 20:40:19.051 I/DEBUG (287): #10 pc 00002607 /system/vendor/lib/liboemcamera.so (mct_list_traverse+26)
10-08 20:40:19.051 I/DEBUG (287): #11 pc 00002623 /system/vendor/lib/liboemcamera.so (mct_list_traverse+54)
10-08 20:40:19.051 I/DEBUG (287): #12 pc 00002623 /system/vendor/lib/liboemcamera.so (mct_list_traverse+54)
10-08 20:40:19.051 I/DEBUG (287): #13 pc 00002623 /system/vendor/lib/liboemcamera.so (mct_list_traverse+54)
10-08 20:40:19.051 I/DEBUG (287): #14 pc 00002623 /system/vendor/lib/liboemcamera.so (mct_list_traverse+54)
10-08 20:40:19.051 I/DEBUG (287): #15 pc 00006483 /system/vendor/lib/libmmcamera2_isp_modules.so
10-08 20:40:19.051 I/DEBUG (287): #16 pc 00002315 /system/vendor/lib/libmmcamera2_iface_modules.so
10-08 20:40:19.051 I/DEBUG (287): #17 pc 00002607 /system/vendor/lib/liboemcamera.so (mct_list_traverse+26)
10-08 20:40:19.051 I/DEBUG (287): #18 pc 00002569 /system/vendor/lib/libmmcamera2_iface_modules.so
10-08 20:40:19.052 I/DEBUG (287): #19 pc 0000652d /system/vendor/lib/liboemcamera.so (mct_port_send_event_to_peer+16)
10-08 20:40:19.052 I/DEBUG (287): #20 pc 00009391 /system/vendor/lib/libmmcamera2_sensor_modules.so
10-08 20:40:19.052 I/DEBUG (287): #21 pc 00007527 /system/vendor/lib/libmmcamera2_sensor_modules.so
10-08 20:40:19.052 I/DEBUG (287): #22 pc 00002607 /system/vendor/lib/liboemcamera.so (mct_list_traverse+26)
10-08 20:40:19.052 I/DEBUG (287): #23 pc 00004b99 /system/vendor/lib/libmmcamera2_sensor_modules.so
10-08 20:40:19.052 I/DEBUG (287): #24 pc 00004a2b /system/vendor/lib/liboemcamera.so
10-08 20:40:19.052 I/DEBUG (287): #25 pc 00004e77 /system/vendor/lib/liboemcamera.so
10-08 20:40:19.052 I/DEBUG (287): #26 pc 000054a1 /system/vendor/lib/liboemcamera.so
10-08 20:40:19.052 I/DEBUG (287): #27 pc 00006833 /system/vendor/lib/liboemcamera.so
10-08 20:40:19.052 I/DEBUG (287): #28 pc 00015ef7 /system/lib/libc.so (__pthread_start(void*)+38)
10-08 20:40:19.052 I/DEBUG (287): #29 pc 000135d3 /system/lib/libc.so (__start_thread+10)
10-09 15:15:24.479 E/AndroidRuntime(1423): FATAL EXCEPTION: main
10-09 15:15:24.479 E/AndroidRuntime(1423): Process: com.android.systemui, PID: 1423
10-09 15:15:24.479 E/AndroidRuntime(1423): java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.systemui.recents.model.TaskGrouping.isTaskAboveTask(com.android.systemui.recents.model.Task, com.android.systemui.recents.model.Task)' on a null object reference
10-09 15:15:24.479 E/AndroidRuntime(1423): at com.android.systemui.recents.views.TaskStackView.startLaunchTaskAnimation(TaskStackView.java:889)
10-09 15:15:24.479 E/AndroidRuntime(1423): at com.android.systemui.recents.views.RecentsView.onTaskViewClicked(RecentsView.java:731)
10-09 15:15:24.479 E/AndroidRuntime(1423): at com.android.systemui.recents.views.TaskStackView.onTaskViewClicked(TaskStackView.java:1241)
10-09 15:15:24.479 E/AndroidRuntime(1423): at com.android.systemui.recents.views.TaskView.onClick(TaskView.java:717)
10-09 15:15:24.479 E/AndroidRuntime(1423): at android.view.View.performClick(View.java:4797)
10-09 15:15:24.479 E/AndroidRuntime(1423): at android.view.View$PerformClick.run(View.java:19899)
10-09 15:15:24.479 E/AndroidRuntime(1423): at android.os.Handler.handleCallback(Handler.java:739)
10-09 15:15:24.479 E/AndroidRuntime(1423): at android.os.Handler.dispatchMessage(Handler.java:95)
10-09 15:15:24.479 E/AndroidRuntime(1423): at android.os.Looper.loop(Looper.java:135)
10-09 15:15:24.479 E/AndroidRuntime(1423): at android.app.ActivityThread.main(ActivityThread.java:5375)
10-09 15:15:24.479 E/AndroidRuntime(1423): at java.lang.reflect.Method.invoke(Native Method)
10-09 15:15:24.479 E/AndroidRuntime(1423): at java.lang.reflect.Method.invoke(Method.java:372)
10-09 15:15:24.479 E/AndroidRuntime(1423): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
10-09 15:15:24.479 E/AndroidRuntime(1423): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
Any help is appreciated!
you can try replace all libcam files in stock rom to port rom

LatinIme Modification -SIGBUS error on Android Oreo (26 & 27 API)

Hello people,
i'm currently modifying the aosp latinime keyboard in order to create a keyboard needed for my university thesis.
So far i have managed to modify it and make it work for Nougat and previous android versions but it crashes all the time when opened in emulator for android Oreo. I have searched everywhere for an answer but it seems i have crashed into a wall so i need your help.
I have builded the app using the guide from here
and builded the libjni_latinime.so libraries using this project which offers native build through android studio (after i have changed all the reference to package into my own package name).
I'm getting the following error when the app tries to load the dictionaries i have imported in res/raw folder:
Code:
05-08 12:35:35.573 6826-6845/? A/libc: Fatal signal 7 (SIGBUS), code 2, fault addr 0x8b33da70 in tid 6845 (ExecutorUtils)
05-08 12:35:35.598 6849-6849/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/sdk_gphone_x86/generic_x86:8.0.0/OSR1.170901.043/4456315:user/release-keys'
Revision: '0'
ABI: 'x86'
pid: 6826, tid: 6845, name: ExecutorUtils >>> typeofmood.ime <<<
signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0x8b33da70
eax 8bdddb90 ebx 8c172040 ecx 8b33da70 edx 00000000
05-08 12:35:35.599 6849-6849/? A/DEBUG: esi 0023ca29 edi 01bc7a70
xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b
eip 8c035714 ebp 8bdddb88 esp 8bdddb30 flags 00010216
05-08 12:35:35.608 6849-6849/? A/DEBUG: backtrace:
#00 pc 0014f714 /data/app/typeofmood.ime-DzXcxTqPXkfULkd3FplRPQ==/lib/x86/libjni_latinime.so (_ZN8latinime11FormatUtils19detectFormatVersionENS_21ReadOnlyByteArrayViewE+100)
#01 pc 0010bd1d /data/app/typeofmood.ime-DzXcxTqPXkfULkd3FplRPQ==/lib/x86/libjni_latinime.so (_ZN8latinime42DictionaryStructureWithBufferPolicyFactory20newPolicyForFileDictEPKcii+525)
#02 pc 0010b51d /data/app/typeofmood.ime-DzXcxTqPXkfULkd3FplRPQ==/lib/x86/libjni_latinime.so (_ZN8latinime42DictionaryStructureWithBufferPolicyFactory28newPolicyForExistingDictFileEPKciib+285)
#03 pc 000c0f8f /data/app/typeofmood.ime-DzXcxTqPXkfULkd3FplRPQ==/lib/x86/libjni_latinime.so
05-08 12:35:35.609 6849-6849/? A/DEBUG: #04 pc 0063ec67 /system/lib/libart.so (art_quick_generic_jni_trampoline+71)
#05 pc 00638ea2 /system/lib/libart.so (art_quick_invoke_static_stub+418)
#06 pc 00112b92 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+306)
#07 pc 003231ff /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+367)
#08 pc 0031cec3 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb1ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+803)
#09 pc 0062182d /system/lib/libart.so (MterpInvokeStaticRange+397)
#10 pc 00629d21 /system/lib/libart.so (artMterpAsmInstructionStart+15265)
#11 pc 002f5f59 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#12 pc 002fdeda /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
#13 pc 0031ce97 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb1ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+759)
#14 pc 0062157e /system/lib/libart.so (MterpInvokeDirectRange+462)
#15 pc 00629ca1 /system/lib/libart.so (artMterpAsmInstructionStart+15137)
#16 pc 002f5f59 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#17 pc 002fdeda /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
#18 pc 0031ce97 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb1ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+759)
#19 pc 0062157e /system/lib/libart.so (MterpInvokeDirectRange+462)
#20 pc 00629ca1 /system/lib/libart.so (artMterpAsmInstructionStart+15137)
#21 pc 002f5f59 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#22 pc 002fdeda /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
#23 pc 0031ce97 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb1ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+759)
#24 pc 0062157e /system/lib/libart.so (MterpInvokeDirectRange+462)
#25 pc 00629ca1 /system/lib/libart.so (artMterpAsmInstructionStart+15137)
#26 pc 002f5f59 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#27 pc 002fdeda /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
#28 pc 0031bdb5 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+773)
#29 pc 0061faf4 /system/lib/libart.so (MterpInvokeStatic+484)
#30 pc 00629a21 /system/lib/libart.so (artMterpAsmInstructionStart+14497)
05-08 12:35:35.612 6849-6849/? A/DEBUG: #31 pc 002f5f59 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#32 pc 002fdeda /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
#33 pc 0031bdb5 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+773)
#34 pc 0061e171 /system/lib/libart.so (MterpInvokeVirtual+881)
#35 pc 006298a1 /system/lib/libart.so (artMterpAsmInstructionStart+14113)
#36 pc 002f5f59 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#37 pc 002fdeda /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
#38 pc 0031bdb5 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+773)
#39 pc 0061f3d3 /system/lib/libart.so (MterpInvokeInterface+1635)
#40 pc 00629aa1 /system/lib/libart.so (artMterpAsmInstructionStart+14625)
#41 pc 002f5f59 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#42 pc 002fdeda /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
#43 pc 0031bdb5 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+773)
#44 pc 0061f3d3 /system/lib/libart.so (MterpInvokeInterface+1635)
#45 pc 00629aa1 /system/lib/libart.so (artMterpAsmInstructionStart+14625)
#46 pc 002f5f59 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#47 pc 002fdeda /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
#48 pc 0031bdb5 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+773)
#49 pc 0061e980 /system/lib/libart.so (MterpInvokeSuper+1776)
#50 pc 00629921 /system/lib/libart.so (artMterpAsmInstructionStart+14241)
#51 pc 002f5f59 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#52 pc 002fdeda /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
05-08 12:35:35.613 6849-6849/? A/DEBUG: #53 pc 0031bdb5 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+773)
#54 pc 0061f3d3 /system/lib/libart.so (MterpInvokeInterface+1635)
#55 pc 00629aa1 /system/lib/libart.so (artMterpAsmInstructionStart+14625)
#56 pc 002f5f59 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#57 pc 002fdeda /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
#58 pc 0031bdb5 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+773)
#59 pc 0061e171 /system/lib/libart.so (MterpInvokeVirtual+881)
#60 pc 006298a1 /system/lib/libart.so (artMterpAsmInstructionStart+14113)
#61 pc 002f5f59 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#62 pc 002fdeda /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
#63 pc 0031bdb5 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+773)
Is there anyone that can help me fixing this?
Thank you for your time!
Bump,
is there anyone that can help?
Update:
I found out this error is only produced when the app is installed via android studio in the emulator.
If i install the app in the emulator using the command: ./gradlew installDebug or the comand: adb install app-debug.apk it works totally fine.
Any idea why this is happening ?
Edit:
Solved, the problem in android studio was Instant run. If dissabled, the app works fine in the emulator.

Categories

Resources