Skip to content

Instantly share code, notes, and snippets.

@skyisle
Created May 7, 2013 15:33
Show Gist options
  • Save skyisle/5533552 to your computer and use it in GitHub Desktop.
Save skyisle/5533552 to your computer and use it in GitHub Desktop.
okhttp crash
180 DEBUG I *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
180 DEBUG I Build fingerprint: 'lge/geehrc_open_eu/geehrc:4.1.2/JZO54K/E97510b.1360741472:user/release-keys'
180 DEBUG I Revision: '11'
180 DEBUG I pid: 14422, tid: 14477, name: GAThread >>> com.alanjeon.twitplus <<<
180 DEBUG I signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
180 DEBUG I r0 74e4bb1c r1 ffffffff r2 00000008 r3 731a8065
180 DEBUG I r4 731a8065 r5 731a8066 r6 00000000 r7 731a8065
180 DEBUG I r8 00000020 r9 731a8065 sl 00000000 fp 74e4bb1c
180 DEBUG I ip 6f218da0 sp 74e4ba98 lr 6f2012f3 pc 40a99430 cpsr 000d0030
180 DEBUG I d0 0000000000000000 d1 0000000000000000
180 DEBUG I d2 0000000000000000 d3 0000000000000000
180 DEBUG I d4 0000000b00000001 d5 0000000000000009
180 DEBUG I d6 000000030000002c d7 0000040000000001
180 DEBUG I d8 0000000000000000 d9 0000000000000000
180 DEBUG I d10 0000000000000000 d11 0000000000000000
180 DEBUG I d12 0000000000000000 d13 0000000000000000
180 DEBUG I d14 0000000000000000 d15 0000000000000000
180 DEBUG I d16 64707306332f7964 d17 7074746808322f79
180 DEBUG I d18 9e1c01118af3f661 d19 6578d8ebc7074dca
180 DEBUG I d20 1c2018f7f8ea25f5 d21 276c108c7334bf12
180 DEBUG I d22 8caff6bb229232a9 d23 13a140dcfe267d7e
180 DEBUG I d24 000000000000753c d25 0000000000000000
180 DEBUG I d26 00000000000009c5 d27 0000000000000000
180 DEBUG I d28 00000000000009c5 d29 0000000000000000
180 DEBUG I d30 0000000100000001 d31 0000000100000001
180 DEBUG I scr 60000010
180 DEBUG I
180 DEBUG I backtrace:
180 DEBUG I #00 pc 00022430 /system/lib/libssl.so (SSL_select_next_proto+25)
180 DEBUG I #01 pc 000222ef /system/lib/libjavacore.so
180 DEBUG I #02 pc 0002905f /system/lib/libssl.so (ssl_parse_serverhello_tlsext+458)
180 DEBUG I #03 pc 00015957 /system/lib/libssl.so (ssl3_get_server_hello+894)
180 DEBUG I #04 pc 00018193 /system/lib/libssl.so (ssl3_connect+618)
180 DEBUG I #05 pc 000235d7 /system/lib/libssl.so (SSL_connect+18)
180 DEBUG I #06 pc 0001126b /system/lib/libssl.so (ssl23_connect+1970)
180 DEBUG I #07 pc 0002350f /system/lib/libssl.so (SSL_do_handshake+66)
180 DEBUG I #08 pc 00024bc5 /system/lib/libjavacore.so
180 DEBUG I #09 pc 0001e490 /system/lib/libdvm.so (dvmPlatformInvoke+112)
180 DEBUG I #10 pc 0004d2b1 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+396)
180 DEBUG I #11 pc 000278a0 /system/lib/libdvm.so
180 DEBUG I #12 pc 0002b77c /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+176)
180 DEBUG I #13 pc 0005fae5 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
180 DEBUG I #14 pc 0005fb0f /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
180 DEBUG I #15 pc 0005466f /system/lib/libdvm.so
180 DEBUG I #16 pc 0000e418 /system/lib/libc.so (__thread_entry+72)
180 DEBUG I #17 pc 0000db0c /system/lib/libc.so (pthread_create+168)
180 DEBUG I #18 pc 00052f34 <unknown>
180 DEBUG I
libcore/crypto/src/main/native/org_conscrypt_NativeCrypto.cpp
NativeCrypto_SSL_CTX_enable_npn
next_proto_select_callback
SSL_select_next_proto
external/openssl$ vi ssl/ssl_lib.c
int SSL_select_next_proto(unsigned char **out, unsigned char *outlen, const unsigned char *server, unsigned int server_len, const unsigned char *client, unsigned int client_len)
{
unsigned int i, j;
const unsigned char *result;
int status = OPENSSL_NPN_UNSUPPORTED;
/* For each protocol in server preference order, see if we support it. */
for (i = 0; i < server_len; )
{
for (j = 0; j < client_len; )
{
if (server[i] == client[j] &&
memcmp(&server[i+1], &client[j+1], server[i]) == 0)
{
/* We found a match */
result = &server[i];
status = OPENSSL_NPN_NEGOTIATED;
goto found;
}
j += client[j];
j++;
}
i += server[i];
i++;
}
@codebutler
Copy link

Found this on Google, I'm seeing the same crash in an app I'm writing. Were you able to figure out what's going on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment