Software Archive
Read-only legacy content
17061 Discussions

Lame codec do not work on some Android devices with Intel processor

Jan_S_4
Beginner
420 Views

Hi, I have some troubles with lame codec on some Android devices with Intel processor. I'm using lame codec based on this article https://software.intel.com/en-us/articles/compiling-open-source-libraries-for-x86-android.

I'm testing the code on emulator and Acer Iconia Tab 8. Everything works great.

Unfortunately, the app crashing on Intel Z2580 (Modecom freetab 9000) - Fatal signal 11 (SIGSEGV).

Is it any workaround? Thanks! Jan

0 Kudos
3 Replies
Arik_A_
Beginner
420 Views

Can you post logcat detail of error?

0 Kudos
Jan_S_4
Beginner
420 Views

For sure. This is log from Modecom Freetab 900, on Acer Iconia Tab 8 everything works great.

9-05 11:50:38.887 9132-9132/com.test A/libc: Fatal signal 11 (SIGSEGV) at 0x00000000 (code=128), thread 9132 (d.lamex)
09-05 11:50:38.987 137-137/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-05 11:50:38.987 137-137/? I/DEBUG: Build fingerprint: 'unknown'
09-05 11:50:38.987 137-137/? I/DEBUG: Revision: '0'
09-05 11:50:38.987 137-137/? I/DEBUG: pid: 9132, tid: 9132, name: d.lamex  >>> com.test.lame <<<
09-05 11:50:38.987 137-137/? I/DEBUG: signal 11 (SIGSEGV), code 128 (?), fault addr 00000000
09-05 11:50:39.187 137-137/? I/DEBUG:     eax 00000140  ebx 6124cf38  ecx 60053801  edx 4203bd70
09-05 11:50:39.187 137-137/? I/DEBUG:     esi 60053800  edi 00000002
09-05 11:50:39.187 137-137/? I/DEBUG:     xcs 00000073  xds 0000007b  xes 0000007b  xfs 00000000  xss 0000007b
09-05 11:50:39.187 137-137/? I/DEBUG:     eip 6122153d  ebp 60053890  esp bfdff2ec  flags 00010202
09-05 11:50:39.187 137-137/? I/DEBUG: backtrace:
09-05 11:50:39.187 137-137/? I/DEBUG:     #00  pc 0001c53d  /data/app-lib/com.test.lame-1/libmp3lame.so
09-05 11:50:39.187 137-137/? I/DEBUG:     #01  pc 0001d79f  /data/app-lib/com.test.lame-1/libmp3lame.so
09-05 11:50:39.187 137-137/? I/DEBUG:     #02  pc 0003a081  /data/app-lib/com.test.lame-1/libmp3lame.so
09-05 11:50:39.187 137-137/? I/DEBUG:     #03  pc 000311c0  /system/lib/libdvm.so (dvmPlatformInvoke+80)
09-05 11:50:39.187 137-137/? I/DEBUG:     #04  pc 0008b148  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+664)
09-05 11:50:39.187 137-137/? I/DEBUG:     #05  pc 00000119  /dev/ashmem/dalvik-jit-code-cache (deleted)
09-05 11:50:39.187 137-137/? I/DEBUG:     #06  pc 000446f6  /system/lib/libdvm.so (dvmMterpStd(Thread*)+70)
09-05 11:50:39.187 137-137/? I/DEBUG:     #07  pc 00042094  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+212)
09-05 11:50:39.187 137-137/? I/DEBUG:     #08  pc 000bd78c  /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+2092)
09-05 11:50:39.187 137-137/? I/DEBUG:     #09  pc 000d1637  /system/lib/libdvm.so (Dalvik_java_lang_reflect_Method_invokeNative(unsigned int const*, JValue*)+295)
09-05 11:50:39.187 137-137/? I/DEBUG:     #10  pc 0019374d  /system/lib/libdvm.so
09-05 11:50:39.187 137-137/? I/DEBUG:     #11  pc 00008f00  <unknown>
09-05 11:50:39.187 137-137/? I/DEBUG:     #12  pc 000446f6  /system/lib/libdvm.so (dvmMterpStd(Thread*)+70)
09-05 11:50:39.187 137-137/? I/DEBUG:     #13  pc 00042094  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+212)
09-05 11:50:39.187 137-137/? I/DEBUG:     #14  pc 000bc4bc  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, char*)+700)
09-05 11:50:39.187 137-137/? I/DEBUG:     #15  pc 0007edce  /system/lib/libdvm.so (CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+78)
09-05 11:50:39.187 137-137/? I/DEBUG:     #16  pc 000585ba  /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+42)
09-05 11:50:39.187 137-137/? I/DEBUG:     #17  pc 00059e71  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+945)
09-05 11:50:39.187 137-137/? I/DEBUG:     #18  pc 00000fd0  /system/bin/app_process (main+528)
09-05 11:50:39.187 137-137/? I/DEBUG:     #19  pc 0001b709  /system/lib/libc.so (__libc_init+89)
09-05 11:50:39.187 137-137/? I/DEBUG:     #20  pc 00000a8d  /system/bin/app_process
09-05 11:50:39.187 137-137/? I/DEBUG: stack:
09-05 11:50:39.187 137-137/? I/DEBUG:          bfdff2ac  00000000  
09-05 11:50:39.187 137-137/? I/DEBUG:          bfdff2b0  00000000  
09-05 11:50:39.187 137-137/? I/DEBUG:          bfdff2b4  00000000  
09-05 11:50:39.187 137-137/? I/DEBUG:          bfdff2b8  00000000  
09-05 11:50:39.187 137-137/? I/DEBUG:          bfdff2bc  00000000  
09-05 11:50:39.187 137-137/? I/DEBUG:          bfdff2c0  00000000  
09-05 11:50:39.187 137-137/? I/DEBUG:          bfdff2c4  00000000  
09-05 11:50:39.187 137-137/? I/DEBUG:          bfdff2c8  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff2cc  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff2d0  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff2d4  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff2d8  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff2dc  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff2e0  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff2e4  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff2e8  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:     #00  bfdff2ec  5794c000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff2f0  85f00025  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff2f4  42059df0  /dev/ashmem/dalvik-heap (deleted)
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff2f8  60053380  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff2fc  40df7900  /system/lib/libdvm.so (ScopedCheck::checkInstance(_jobject*, ClassObject*, char const*)+144)
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff300  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff304  00000007  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff308  40f8bff4  /system/lib/libdvm.so
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff30c  40f362a2  /system/lib/libdvm.so
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff310  bfdff430  [stack]
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff314  bfdff430  [stack]
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff318  40df8180  /system/lib/libdvm.so (ScopedCheck::check(bool, char const*, ...)+1072)
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff31c  40f36271  /system/lib/libdvm.so
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff320  00000070  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff324  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff328  40ddf57d  /system/lib/libdvm.so (IndirectRefTable::get(void*) const+29)
09-05 11:50:39.197 137-137/? I/DEBUG:          ........  ........
09-05 11:50:39.197 137-137/? I/DEBUG:     #01  bfdff3bc  4203bd70  /dev/ashmem/dalvik-heap (deleted)
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3c0  00000140  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3c4  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3c8  00000001  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3cc  40e3d179  /system/lib/libdvm.so (dvmThreadSelf()+9)
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3d0  40f8bff4  /system/lib/libdvm.so
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3d4  bfdff424  [stack]
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3d8  40df7678  /system/lib/libdvm.so (ScopedCheck::checkThread(int)+280)
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3dc  00000040  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3e0  61363010  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3e4  3f800000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3e8  42034db0  /dev/ashmem/dalvik-heap (deleted)
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3ec  00006a40  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3f0  417f1060  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3f4  bfdff400  [stack]
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff3f8  3bfb7768  
09-05 11:50:39.197 137-137/? I/DEBUG:          ........  ........
09-05 11:50:39.197 137-137/? I/DEBUG:     #02  bfdff48c  4203bd70  /dev/ashmem/dalvik-heap (deleted)
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff490  00000140  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff494  42034db0  /dev/ashmem/dalvik-heap (deleted)
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff498  00006a40  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff49c  00000000  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff4a0  00000001  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff4a4  0000867d  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff4a8  40dfce2b  /system/lib/libdvm.so (Check_ReleaseStringUTFChars(_JNIEnv*, _jstring*, char const*)+11)
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff4ac  40331ff4  /system/lib/libandroid_runtime.so
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff4b0  417f1060  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff4b4  00006a40  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff4b8  42034db0  /dev/ashmem/dalvik-heap (deleted)
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff4bc  402be33a  /system/lib/libandroid_runtime.so (android::android_util_Log_println_native(_JNIEnv*, _jobject*, int, int, _jstring*, _jstring*)+202)
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff4c0  417f1060  
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff4c4  6123efd9  /data/app-lib/com.test.lame-1/libmp3lame.so
09-05 11:50:39.197 137-137/? I/DEBUG:          bfdff4c8  40000005  /system/bin/app_process
09-05 11:50:39.197 137-137/? I/DEBUG:          ........  ........
09-05 11:50:39.267 137-137/? E/Corkscrew: get_old_register_value: can't read from 0x4005666f
09-05 11:50:39.287 137-137/? E/Corkscrew: get_old_register_value: can't read from 0x4
09-05 11:50:39.297 137-137/? E/Corkscrew: get_old_register_value: can't read from 0x4
09-05 11:50:39.307 137-137/? E/Corkscrew: get_old_register_value: can't read from 0x4
09-05 11:50:39.437 156-156/? E/CRASHLOG: CRASH   72f202a489f95f730242  2016-09-05/11:50:39  TOMBSTONE /logs/logs/crashlog0/
09-05 11:50:39.437 406-438/system_process I/BootReceiver: Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)
09-05 11:50:39.457 156-156/? E/CRASHLOG: Property gsm.version.baseband not readable
09-05 11:50:39.457 156-156/? E/CRASHLOG: Can't launch dumpstate for /logs/logs/crashlog0.
09-05 11:50:39.487 406-438/system_process D/dalvikvm: GC_FOR_ALLOC freed 1553K, 35% free 15883K/24340K, paused 48ms, total 49ms
09-05 11:50:39.487 406-8975/system_process I/ActivityManager: Process com.test.lame (pid 9132) has died.
09-05 11:50:39.497 9204-9204/? D/dalvikvm: Late-enabling CheckJNI
09-05 11:50:39.497 9204-9204/? D/dalvikvm: Try to disable coredump for pid 9204
09-05 11:50:39.497 406-8975/system_process I/ActivityManager: Start proc com.test.lame for activity com.test.lame/.activity.MainActivity: pid=9204 uid=10105 gids={50105, 1006, 3003, 1015, 1028}
09-05 11:50:39.517 139-139/? D/Zygote: Process 9132 terminated by signal (11)
09-05 11:50:39.517 9204-9210/? E/jdwp: Failed sending reply to debugger: Broken pipe
09-05 11:50:39.517 9204-9210/? D/dalvikvm: Debugger has detached; object registry had 1 entries
09-05 11:50:39.537 9203-9203/? D/AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
09-05 11:50:39.537 9203-9203/? D/AndroidRuntime: CheckJNI is OFF
09-05 11:50:39.537 9203-9203/? I/AndroidRuntime: IFWI Version: F9.DB
09-05 11:50:39.537 9203-9203/? I/AndroidRuntime: SCU Version: 2D.28
09-05 11:50:39.537 9203-9203/? I/AndroidRuntime: PUnit Version: A0.39
09-05 11:50:39.537 9203-9203/? I/AndroidRuntime: IA32FW Version: 00.4B
09-05 11:50:39.537 9203-9203/? I/AndroidRuntime: ValHooks Version: 00.56
09-05 11:50:39.537 9203-9203/? I/AndroidRuntime: Kernel Release Version: 3.4.34-192211-gafeff8d
09-05 11:50:39.537 9204-9204/? I/ActivityThread: Pub com.test.lame.photoprovider: android.support.v4.content.FileProvider
09-05 11:50:39.537 9203-9203/? D/dalvikvm: Trying to load lib libjavacore.so 0x0
09-05 11:50:39.537 9203-9203/? D/dalvikvm: Added shared lib libjavacore.so 0x0
09-05 11:50:39.547 9203-9203/? D/dalvikvm: Trying to load lib libnativehelper.so 0x0
09-05 11:50:39.547 9203-9203/? D/dalvikvm: Added shared lib libnativehelper.so 0x0
09-05 11:50:39.547 9204-9204/? I/dalvikvm: Could not find method android.app.Notification$Builder.setLocalOnly, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
09-05 11:50:39.547 9204-9204/? W/dalvikvm: VFY: unable to resolve virtual method 1298: Landroid/app/Notification$Builder;.setLocalOnly (Z)Landroid/app/Notification$Builder;
09-05 11:50:39.547 9204-9204/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x00c4
09-05 11:50:39.547 9204-9204/? I/dalvikvm: DexOpt: access denied from Lcom/google/android/gms/common/GooglePlayServicesUtil; to field Landroid/app/Notification;.extras
09-05 11:50:39.547 9204-9204/? W/dalvikvm: VFY: unable to resolve instance field 361
09-05 11:50:39.547 9204-9204/? D/dalvikvm: VFY: replacing opcode 0x54 at 0x00e3
09-05 11:50:39.547 9204-9204/? E/dalvikvm: Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
09-05 11:50:39.547 9204-9204/? W/dalvikvm: VFY: unable to resolve check-cast 128 (Landroid/app/AppOpsManager;) in Lcom/google/android/gms/common/GooglePlayServicesUtil;
09-05 11:50:39.547 9204-9204/? D/dalvikvm: VFY: replacing opcode 0x1f at 0x000f
09-05 11:50:39.557 9204-9204/? I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzh
09-05 11:50:39.557 9204-9204/? W/dalvikvm: VFY: unable to resolve virtual method 1610: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
09-05 11:50:39.557 9204-9204/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x000b
09-05 11:50:39.557 9204-9204/? W/GooglePlayServicesUtil: Google Play services out of date.  Requires 7895000 but found 4243070
09-05 11:50:39.557 9204-9204/? W/com.facebook.internal.Validate: FacebookActivity is not declared in the AndroidManifest.xml, please add com.facebook.FacebookActivity to your AndroidManifest.xml file. See https://developers.facebook.com/docs/android/getting-started for more info.
09-05 11:50:39.647 9203-9203/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am
09-05 11:50:39.647 9203-9203/? D/dalvikvm: Note: class Landroid/app/ActivityManagerNative; has 157 unimplemented (abstract) methods
09-05 11:50:39.647 9203-9230/? D/dalvikvm: Rejecting registerization due to mul-int/lit8 v4, v2, (#31)
09-05 11:50:39.657 9203-9230/? I/dalvikvm: Total arena pages for JIT: 11
09-05 11:50:39.657 9203-9203/? D/AndroidRuntime: Shutting down VM
09-05 11:50:39.657 9203-9225/? D/dalvikvm: GC_CONCURRENT freed 97K, 17% free 514K/616K, paused 0ms+1ms, total 2ms
09-05 11:50:39.667 9203-9230/? I/dalvikvm: Total arena pages for JIT: 12
09-05 11:50:39.667 9203-9230/? D/dalvikvm: Compiler shutdown in progress - discarding request

 

0 Kudos
Jan_S_4
Beginner
420 Views

Any hint about this issue? Thanks Jan

0 Kudos
Reply