Facebook and Google Analytics trigger Fatal Signal 11 (SIGSEGV)

I get this exception every time I connect to Facebook using their Android SDK. Also, EasyTracker's GAThread also poses this exact problem.

6960-6985/? A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 6985 (Timer-0)
608-669/? E/InputDispatcher﹕ channel '42867090 com.packagename/com.packagename.activities.feed.FeedActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

How can i fix this?

+4
source share
2 answers

Hi, I had a similar problem . My problem was caused by OkHTTP SSL management . Take a look at this error on the OkHTTP github page

My workaround (they say it will be fixed with v2.0):

URL.setURLStreamHandlerFactory(new OkHttpClient());

: Square OkHTTP v1.5.0, hould have fixed SSL.

, SSL OkHttp OkHttpClient :

okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());

SSL factory. , SSL, OkHttpClient.

+6

ShareDialog Android Android . okhttp. gradle :

compile 'com.squareup.okhttp:okhttp:2.0.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.0.0'
compile 'com.squareup.retrofit:retrofit:1.6.1'
0

All Articles