App crash in native code in libicuuc.so on LG phones with Android 6.0

My application crashes in the libicuuc.so file. This only happens on LG phones with Android 6.0 . I searched, but I didn't have similar problems. This is the stack trace from Google Play:

Build fingerprint: 'lge/p1bssn_global_com/p1bssn:6.0/MRA58K/1635010184e9f:user/release-keys'
Revision: '6'
ABI: 'arm'
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xba45f000
    r0 00000000  r1 00000000  r2 0000133b  r3 becaf54c
    r4 0000133a  r5 0000133a  r6 becaf54c  r7 becaf50c
    r8 becaf80c  r9 0000a972  sl ba45c98c  fp 9b7444bc
    ip b65d3bc0  sp becaf4d0  lr b650c821  pc b650c7d2  cpsr 00000030

backtrace:
    #00 pc 000577d2  /system/lib/libicuuc.so
    #01 pc 0005804d  /system/lib/libicuuc.so
    #02 pc 0005739f  /system/lib/libicuuc.so
    #03 pc 000a33d7  /system/lib/libicuuc.so (u_strToLower_55+130)
    #04 pc 00046997  /system/lib/libsqlite.so

      

What could be causing this error?

+3


source to share


1 answer


What could be causing this error?

Juicy bits from the stack trace / backtrace:

/system/lib/libicuuc.so
ABI: 'arm'
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xba45f000
#03 pc 000a33d7  /system/lib/libicuuc.so (u_strToLower_55+130)

      



International Components for Unicode (ICU) is an open source project of mature C / C ++ and Java libraries to support Unicode, software internationalization, and software globalization. OIT is widely portable for many operating systems and environments. This gives applications the same results across all platforms and between C, C ++ and Java software. The ICU project is funded, supported and used by IBM and many other companies. International components for Unicode .

Failed function u_strToLower

(SIGSEGV, segmentation fault, trying to read or write illegal memory), so search for the code for the method "ToLower"

(in java), maybe you can highlight the code and the problem. We can replace the challenge with something that we can control, i.e. The string

to lower case

. You must also bullet-proof

pass string

this function (this null

?).

Why is this a crash in the native library I am using Java?

All this code, which starts out as Java code, is converted into a piece of native compiled code. Technically, class.dex will be converted to a generic ELF object. Android calls this OAT library format and the tool that converts the classes.dex file is called dex2oat. See This How Apps Are Built and Run on the Android Runtime (ART) .

0


source







All Articles