[Android Software Development] ApokrifX:
Guys,

Need a little help here.

Seems like nobody having troubles with 4.4.2 + Genymotion-ARM-Translation_v1.1.zip, except me. :o

Or everyone sorted it out quickly, at least.

And it’s not even about gapps!

Basically, even simplest application with native ARM library is failing miserably somewhere in /system/lib/libhoudini.so.

And everything worked just fine on 4.3 and below.

Am I missing something obvious?

I’m on Genymotion 2.1.1, tried few different 4.4.2 images got same error exactly.

logcat

Fatal signal 11 (SIGSEGV) at 0x000000b4 (code=1), thread 1445 (simple.app)

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

Build fingerprint: 'generic/vbox86p/vbox86p:4.4.2/KOT49H/eng.buildbot.20140326.042618:userdebug/test-keys'

Revision: '0'

pid: 1445, tid: 1445, name: simple.app >>> simple.app <<<

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 000000b4

eax 0f861226 ebx 000019f0 ecx 954c3d01 edx 00000000

esi 00000000 edi b4e5471c

xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b

eip 9537f751 ebp bf8c3bf8 esp bf8c3bd0 flags 00210246

backtrace:

#00 pc 000e8751 /system/lib/libhoudini.so

#01 pc 000e66ea /system/lib/libhoudini.so

#02 pc 000e8aaa /system/lib/libhoudini.so

#03 pc 000bfcfc /system/lib/libhoudini.so

#04 pc 000e6cc2 /system/lib/libhoudini.so (dvm2hdInit+18)

#05 pc 001769b7 /system/lib/libdvm.so (houdini::hookDlopen(char const*, int, bool*)+343)

#06 pc 0008bd6f /system/lib/libdvm.so (dvmLoadNativeCode(char const*, Object*, char**)+719)

#07 pc 000ceb1b /system/lib/libdvm.so (Dalvik_java_lang_Runtime_nativeLoad(unsigned int const*, JValue*)+139)

#08 pc 00177618 /system/lib/libdvm.so

#09 pc 00005c9b <unknown>

#10 pc 0003b962 /system/lib/libdvm.so (dvmMterpStd(Thread*)+66)

#11 pc 00037029 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+217)

#12 pc 000bc236 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+1750)

#13 pc 000d1b90 /system/lib/libdvm.so (Dalvik_java_lang_reflect_Method_invokeNative(unsigned int const*, JValue*)+288)

#14 pc 00177618 /system/lib/libdvm.so

#15 pc 00005eff <unknown>

#16 pc 0003b962 /system/lib/libdvm.so (dvmMterpStd(Thread*)+66)

#17 pc 00037029 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+217)

#18 pc 000bd097 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, char*)+759)

#19 pc 0007879d /system/lib/libdvm.so (CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+109)

#20 pc 0005f13a /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+42)

#21 pc 000608d4 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+884)

#22 pc 00001017 /system/bin/app_process (main+567)

#23 pc 0000d59c /system/lib/libc.so (__libc_init+108)

#24 pc 00000a91 /system/bin/app_process (_start+97)

stack:

bf8c3c80 b770e000 /system/bin/linker

bf8c3c84 b4e5b1d9 /system/lib/libdvm.so

bf8c3c88 b7681689 /system/lib/libc.so (__system_property_get+9)

bf8c3c8c b76e9e58 /system/lib/libcutils.so

bf8c3c90 9d843d54

bf8c3c94 956109c0

bf8c3c98 bf8c3cb8 [stack]

bf8c3c9c 9537dcc3 /system/lib/libhoudini.so (dvm2hdInit+19)

bf8c3ca0 b4e5b1ad /system/lib/libdvm.so

bf8c3ca4 bf8c3cf0 [stack]

bf8c3ca8 9dd9f8c0 /dev/ashmem/dalvik-LinearAlloc (deleted)

bf8c3cac b4ea1cb4 /system/lib/libdvm.so

bf8c3cb0 b4e5471c /system/lib/libdvm.so

bf8c3cb4 b4e5471c /system/lib/libdvm.so

bf8c3cb8 00000000

bf8c3cbc b4e519b8 /system/lib/libdvm.so (houdini::hookDlopen(char const*, int, bool*)+344)

#05 bf8c3cc0 bf8c3ce8 [stack]

bf8c3cc4 b4e5b1d9 /system/lib/libdvm.so

bf8c3cc8 b4e52bd5 /system/lib/libdvm.so

bf8c3ccc 00000813

bf8c3cd0 b4ea1cb4 /system/lib/libdvm.so

bf8c3cd4 9e70001d /dev/ashmem/dalvik-LinearAlloc (deleted)

bf8c3cd8 b8ad2b80 [heap]

bf8c3cdc bf8c3dbb [stack]

bf8c3ce0 b8984f18 [heap]

bf8c3ce4 9e70001d /dev/ashmem/dalvik-LinearAlloc (deleted)

bf8c3ce8 b76e21d0 /system/lib/libcutils.so (__android_log_print)

bf8c3cec b4e51850 /system/lib/libdvm.so (houdini::dvmGetMethodShorty(houdini::fake_Method const*))

bf8c3cf0 00006e6f

bf8c3cf4 00000000

bf8c3cf8 0002056c

bf8c3cfc b4ea1cb4 /system/lib/libdvm.so

........ ........

#06 bf8c3d70 b8ad2b80 [heap]

bf8c3d74 00000001

bf8c3d78 bf8c3dbb [stack]

bf8c3d7c b4d660f0 /system/lib/libdvm.so (hashcmpNameStr(void const*, void const*))

bf8c3d80 00000000

bf8c3d84 b4e6a794 /system/lib/libdvm.so

bf8c3d88 00000018

bf8c3d8c b7704f9a /system/bin/linker (__dl_pthread_mutex_unlock+154)

bf8c3d90 00000002

bf8c3d94 bf8c3dcc [stack]

bf8c3d98 a4fa3200 /dev/ashmem/dalvik-heap (deleted)

bf8c3d9c b76bcf01 /system/lib/libc.so

bf8c3da0 bf8c3e2c [stack]

bf8c3da4 b8984e70 [heap]

bf8c3da8 00000be9

bf8c3dac b7634455 /system/lib/libc.so (dlfree+885)

........ ........

#07 bf8c3e10 b8ad2b80 [heap]

bf8c3e14 a4fa3200 /dev/ashmem/dalvik-heap (deleted)

bf8c3e18 bf8c3e2c [stack]

bf8c3e1c b4ea1cb4 /system/lib/libdvm.so

bf8c3e20 9daebbec /data/dalvik-cache/system@framework@core.jar@classes.dex

bf8c3e24 a4cdc0e0 /dev/ashmem/dalvik-zygote (deleted)

bf8c3e28 b4d79735 /system/lib/libdvm.so (dvmMarkCard(void const*)+5)

bf8c3e2c 00000000

bf8c3e30 a4faec78 /dev/ashmem/dalvik-heap (deleted)

bf8c3e34 00000001

bf8c3e38 b4d6e9b9 /system/lib/libdvm.so (dvmLockObject+9)

bf8c3e3c 9ed83c9c

bf8c3e40 9daf8aaa /data/dalvik-cache/system@framework@core.jar@classes.dex

bf8c3e44 9ed83cbc

bf8c3e48 bf8c3ec8 [stack]

bf8c3e4c b4e52619 /system/lib/libdvm.so

Process simple.app (pid 1445) has died.

And if I install gapps, every time I got a message "GooglePlay is failed" on emulator, very similar logcat error popped up with corresponding google app:

Fatal signal 11 (SIGSEGV) at 0x000000XX (code=1), thread XXXX (some google app)