You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Hirbod (JIRA)" <ji...@apache.org> on 2015/02/13 15:13:12 UTC

[jira] [Created] (CB-8477) native crash at /system/lib/libssl.so

Hirbod created CB-8477:
--------------------------

             Summary: native crash at /system/lib/libssl.so
                 Key: CB-8477
                 URL: https://issues.apache.org/jira/browse/CB-8477
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.6.3, 3.7.1
         Environment: Sony Xperia Z1, Sony D2005, Samsung Galaxy Note 1
            Reporter: Hirbod


My app randomly crash when angular.js makes an http call. This crashes just showed up when I changed from http to https. My Server certs are valid.

It happens when I make a normal call or use the FilePlugin to transfer Images to my Server (but really, it's randomly). Seems to be related to OkHttp or something, but I'm not sure. Some guys wrote down http 1.1 instead of 2.0 should fix this, but I'm not sure.

The requesting server is "https://nachbarschaft.net" (no content yet, but an API)

http://stackoverflow.com/questions/23861110/native-crash-at-system-lib-libssl-so-using-retrofit

https://github.com/square/okhttp/issues/184

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
UUID: .....
Build fingerprint: 'Sony/C6903/......../14.4.A.0.157/Yv__jQ:user/release-keys'
Revision: '0'
pid: 2545, tid: 8461, name: DataRequestDisp >>> .... <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
r0 00000000 r1 00000000 r2 7a172bed r3 00000025
r4 00000005 r5 7a172bee r6 00000000 r7 ffffffff
r8 00000001 r9 00000020 sl 00000025 fp 7a172bed
ip 73ebbb34 sp 7e6fb998 lr 73eb00b5 pc 40a76fae cpsr 600f0030
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 0000000000000000 d5 0000000000000000
d6 0000000000000000 d7 54dbd39d00000000
d8 0000000000000000 d9 3fe0000043aa8000
d10 4066800000000000 d11 404b88cb95b4b605
d12 4080e00000000000 d13 bf80000080000000
d14 41f26ffbf66fa33d d15 41ba87d1c08388fa
d16 0000000000000000 d17 0000000000000000
d18 f00d406a3736c6ee d19 7f92a1b255156fd0
d20 97207f92a1b25515 d21 ca6d3a7e77157fbd
d22 5b7a5a1306c223b0 d23 743142198445fc06
d24 bfb3b0f2af749a6d d25 3fb10d66a0d03d51
d26 bfadde2d52defd9a d27 3fa97b4b24760deb
d28 3f90ad3ae322da11 d29 0000000000000000
d30 3fd555555555550d d31 bfc999999998ebc4
scr 88000013

backtrace:
#00 pc 00026fae /system/lib/libssl.so (SSL_select_next_proto+49)
#01 pc 000070b1 /system/lib/libjavacrypto.so
#02 pc 0002f373 /system/lib/libssl.so (ssl_parse_serverhello_tlsext+434)
#03 pc 00018129 /system/lib/libssl.so (ssl3_get_server_hello+1008)
#04 pc 00017527 /system/lib/libssl.so (ssl3_connect+566)
#05 pc 00027d4b /system/lib/libssl.so (SSL_do_handshake+50)
#06 pc 0000aedd /system/lib/libjavacrypto.so
#07 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#08 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#09 pc 000297e0 /system/lib/libdvm.so
#10 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#11 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#12 pc 00063431 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#13 pc 00063455 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
#14 pc 00058133 /system/lib/libdvm.so
#15 pc 0000d258 /system/lib/libc.so (__thread_entry+72)
#16 pc 0000d3f0 /system/lib/libc.so (pthread_create+240)

code around pc:
40a76f8c d02c2b00 9f0f9701 21009102 4001f81b
40a76f9c 0801f101 eb0bb1cf eb0b0001 90030508
40a76fac f8162000 f1009000 454c0a01 eb06d109
40a76fbc 4628010a f7e54622 4601ef50 29002001
40a76fcc eb0ad00a 42b80009 eb08d3eb 9a040104
40a76fdc 42912002 e000d3da 99029e03 1c729f01
40a76fec 7832603a b005700a 8ff0e8bd 3178f8d0
40a76ffc 2100600b bf182b00 117cf890 47706011
40a7700c 11a4f8c0 21a8f8c0 bf004770 11acf8c0
40a7701c 21b0f8c0 bf004770 4605b570 f8d54614
40a7702c 460e01bc bf182800 edc6f7e5 f240480a
40a7703c 490a6296 44014478 f7e54620 2101edb2
40a7704c 01bcf8c5 4631b130 f7e54622 2100edf2
40a7705c 41c0f8c5 bd704608 00013a04 ffffb63d
40a7706c 4605b570 f8d54614 460e019c bf182800
40a7707c eda2f7e5 f240480a 490a62aa 44014478

code around lr:
73eb0094 46072121 f7fe4640 6a7aef8c b1646abb
73eb00a4 000ce88d 46294630 9b084622 ef68f7fe
73eb00b4 bf142801 20002003 b116e004 6034b10d
73eb00c4 2003702c 81fce8bd 4604b538 6a05b188
73eb00d4 f7ffb155 6829ffc3 6d9a6803 46284790
73eb00e4 ef6cf7fe 62202000 20012100 616160e1
73eb00f4 bd38bd38 6803b508 47906d5a b508bd08
73eb0104 6dda6803 bd084790 6803b508 47906fda
73eb0114 b510bd08 f8d46804 47a04084 b40cbd10
73eb0124 ab04b513 f8536804 f8d42b04 930140c8
73eb0134 e8bd47a0 b002401c b40c4770 ab04b513
73eb0144 f8536804 f8d42b04 930140f8 e8bd47a0
73eb0154 b002401c b40c4770 ab04b513 f8536804
73eb0164 f8d42b04 930141cc e8bd47a0 b002401c
73eb0174 b5084770 f8d36803 4790229c b508bd08
73eb0184 f8d36803 479022ac b510bd08 f8d46804 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org