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

2015-02-27 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14340136#comment-14340136
 ] 

Hirbod commented on CB-8477:


Hi [~bowserj],

any news on this? I get like hundered mails per day that my App is crashing. Am 
I really the only one how takes care about security and use https instead of 
http? Seems like there aren't really much reports about this serious problem..



 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
Assignee: Joe Bowser
 Fix For: 4.0.0


 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 how to force other versions and if this 
 really fixes the bugs. My app is live in the stores and I don't know how to 
 handle with this bug.
 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 
 r0  r1  r2 7a172bed r3 0025
 r4 0005 r5 7a172bee r6  r7 
 r8 0001 r9 0020 sl 0025 fp 7a172bed
 ip 73ebbb34 sp 7e6fb998 lr 73eb00b5 pc 40a76fae cpsr 600f0030
 d0  d1 
 d2  d3 
 d4  d5 
 d6  d7 54dbd39d
 d8  d9 3fe043aa8000
 d10 40668000 d11 404b88cb95b4b605
 d12 4080e000 d13 bf808000
 d14 41f26ffbf66fa33d d15 41ba87d1c08388fa
 d16  d17 
 d18 f00d406a3736c6ee d19 7f92a1b255156fd0
 d20 97207f92a1b25515 d21 ca6d3a7e77157fbd
 d22 5b7a5a1306c223b0 d23 743142198445fc06
 d24 bfb3b0f2af749a6d d25 3fb10d66a0d03d51
 d26 bfadde2d52defd9a d27 3fa97b4b24760deb
 d28 3f90ad3ae322da11 d29 
 d30 3fd5550d d31 bfc8ebc4
 scr 8813
 backtrace:
 #00 pc 00026fae /system/lib/libssl.so (SSL_select_next_proto+49)
 #01 pc 70b1 /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 aedd /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 d258 /system/lib/libc.so (__thread_entry+72)
 #16 pc d3f0 /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 b63d
 40a7706c 4605b570 f8d54614 460e019c bf182800
 40a7707c eda2f7e5 f240480a 490a62aa 44014478
 code around lr:
 73eb0094 46072121 f7fe4640 6a7aef8c b1646abb
 73eb00a4 000ce88d 46294630 9b084622 ef68f7fe
 

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

2015-02-27 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14340190#comment-14340190
 ] 

Hirbod commented on CB-8477:


Fixed it myself after reading [~agrieve] post and code-changes

See my posts in https://issues.apache.org/jira/browse/CB-6630


 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
Assignee: Joe Bowser
 Fix For: 4.0.0


 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 how to force other versions and if this 
 really fixes the bugs. My app is live in the stores and I don't know how to 
 handle with this bug.
 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 
 r0  r1  r2 7a172bed r3 0025
 r4 0005 r5 7a172bee r6  r7 
 r8 0001 r9 0020 sl 0025 fp 7a172bed
 ip 73ebbb34 sp 7e6fb998 lr 73eb00b5 pc 40a76fae cpsr 600f0030
 d0  d1 
 d2  d3 
 d4  d5 
 d6  d7 54dbd39d
 d8  d9 3fe043aa8000
 d10 40668000 d11 404b88cb95b4b605
 d12 4080e000 d13 bf808000
 d14 41f26ffbf66fa33d d15 41ba87d1c08388fa
 d16  d17 
 d18 f00d406a3736c6ee d19 7f92a1b255156fd0
 d20 97207f92a1b25515 d21 ca6d3a7e77157fbd
 d22 5b7a5a1306c223b0 d23 743142198445fc06
 d24 bfb3b0f2af749a6d d25 3fb10d66a0d03d51
 d26 bfadde2d52defd9a d27 3fa97b4b24760deb
 d28 3f90ad3ae322da11 d29 
 d30 3fd5550d d31 bfc8ebc4
 scr 8813
 backtrace:
 #00 pc 00026fae /system/lib/libssl.so (SSL_select_next_proto+49)
 #01 pc 70b1 /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 aedd /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 d258 /system/lib/libc.so (__thread_entry+72)
 #16 pc d3f0 /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 b63d
 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 

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

2015-02-21 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14330469#comment-14330469
 ] 

Hirbod commented on CB-8477:


Hi,

thanks for your answer. Is there any way / chance I could fix this on 3.6.3?
Actually I don't have a stable app as it crashes every 20-30 calls. I'm not 
very familiar with Java nor Android and I would like to understand how or where 
I have to make those recommended changes (force HTTP 1.1) to workaround that 
error till 4.0.0 is out.

Thanks!

 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
Assignee: Joe Bowser
 Fix For: 4.0.0


 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 how to force other versions and if this 
 really fixes the bugs. My app is live in the stores and I don't know how to 
 handle with this bug.
 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 
 r0  r1  r2 7a172bed r3 0025
 r4 0005 r5 7a172bee r6  r7 
 r8 0001 r9 0020 sl 0025 fp 7a172bed
 ip 73ebbb34 sp 7e6fb998 lr 73eb00b5 pc 40a76fae cpsr 600f0030
 d0  d1 
 d2  d3 
 d4  d5 
 d6  d7 54dbd39d
 d8  d9 3fe043aa8000
 d10 40668000 d11 404b88cb95b4b605
 d12 4080e000 d13 bf808000
 d14 41f26ffbf66fa33d d15 41ba87d1c08388fa
 d16  d17 
 d18 f00d406a3736c6ee d19 7f92a1b255156fd0
 d20 97207f92a1b25515 d21 ca6d3a7e77157fbd
 d22 5b7a5a1306c223b0 d23 743142198445fc06
 d24 bfb3b0f2af749a6d d25 3fb10d66a0d03d51
 d26 bfadde2d52defd9a d27 3fa97b4b24760deb
 d28 3f90ad3ae322da11 d29 
 d30 3fd5550d d31 bfc8ebc4
 scr 8813
 backtrace:
 #00 pc 00026fae /system/lib/libssl.so (SSL_select_next_proto+49)
 #01 pc 70b1 /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 aedd /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 d258 /system/lib/libc.so (__thread_entry+72)
 #16 pc d3f0 /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 b63d
 40a7706c 4605b570 f8d54614 460e019c bf182800
 40a7707c eda2f7e5 f240480a 490a62aa 44014478
 code around lr:
 

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

2015-02-16 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14323371#comment-14323371
 ] 

Joe Bowser commented on CB-8477:


Assigning this to myself until 4.0.0 is released, than closing as implemented 
since removing OkHttp puts the ball in their court. :/

 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
Assignee: Joe Bowser
 Fix For: 4.0.0


 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 how to force other versions and if this 
 really fixes the bugs. My app is live in the stores and I don't know how to 
 handle with this bug.
 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 
 r0  r1  r2 7a172bed r3 0025
 r4 0005 r5 7a172bee r6  r7 
 r8 0001 r9 0020 sl 0025 fp 7a172bed
 ip 73ebbb34 sp 7e6fb998 lr 73eb00b5 pc 40a76fae cpsr 600f0030
 d0  d1 
 d2  d3 
 d4  d5 
 d6  d7 54dbd39d
 d8  d9 3fe043aa8000
 d10 40668000 d11 404b88cb95b4b605
 d12 4080e000 d13 bf808000
 d14 41f26ffbf66fa33d d15 41ba87d1c08388fa
 d16  d17 
 d18 f00d406a3736c6ee d19 7f92a1b255156fd0
 d20 97207f92a1b25515 d21 ca6d3a7e77157fbd
 d22 5b7a5a1306c223b0 d23 743142198445fc06
 d24 bfb3b0f2af749a6d d25 3fb10d66a0d03d51
 d26 bfadde2d52defd9a d27 3fa97b4b24760deb
 d28 3f90ad3ae322da11 d29 
 d30 3fd5550d d31 bfc8ebc4
 scr 8813
 backtrace:
 #00 pc 00026fae /system/lib/libssl.so (SSL_select_next_proto+49)
 #01 pc 70b1 /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 aedd /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 d258 /system/lib/libc.so (__thread_entry+72)
 #16 pc d3f0 /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 b63d
 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 

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

2015-02-16 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14323367#comment-14323367
 ] 

Joe Bowser commented on CB-8477:


This is related to the OkHttp dependency that is currently used with Cordova.  
We are removing that dependency for Cordova 4.0.x due to numerous problems with 
the OkHTTP that is bundled with Cordova.

 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
Assignee: Joe Bowser

 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 how to force other versions and if this 
 really fixes the bugs. My app is live in the stores and I don't know how to 
 handle with this bug.
 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 
 r0  r1  r2 7a172bed r3 0025
 r4 0005 r5 7a172bee r6  r7 
 r8 0001 r9 0020 sl 0025 fp 7a172bed
 ip 73ebbb34 sp 7e6fb998 lr 73eb00b5 pc 40a76fae cpsr 600f0030
 d0  d1 
 d2  d3 
 d4  d5 
 d6  d7 54dbd39d
 d8  d9 3fe043aa8000
 d10 40668000 d11 404b88cb95b4b605
 d12 4080e000 d13 bf808000
 d14 41f26ffbf66fa33d d15 41ba87d1c08388fa
 d16  d17 
 d18 f00d406a3736c6ee d19 7f92a1b255156fd0
 d20 97207f92a1b25515 d21 ca6d3a7e77157fbd
 d22 5b7a5a1306c223b0 d23 743142198445fc06
 d24 bfb3b0f2af749a6d d25 3fb10d66a0d03d51
 d26 bfadde2d52defd9a d27 3fa97b4b24760deb
 d28 3f90ad3ae322da11 d29 
 d30 3fd5550d d31 bfc8ebc4
 scr 8813
 backtrace:
 #00 pc 00026fae /system/lib/libssl.so (SSL_select_next_proto+49)
 #01 pc 70b1 /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 aedd /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 d258 /system/lib/libc.so (__thread_entry+72)
 #16 pc d3f0 /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 b63d
 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