SIGNAL 11 SIGSEGV crash Android

Today I came across an error due to which my Android application works with SIGNAL 11.

This error usually occurs due to unauthorized access to the memory area on the Android internal memory. Some of the possible scenarios are web access, network communication, uploading images to a server, etc. Mine was in the event of a browser download URL!

http://bootloader.wikidot.com/linux:android:crashlog

I need to start the browser after scanning the QR code.

The application continued to scan and launch the browser, but the problem occurs after 15-20 attempts of similar steps.

I researched a lot and found that its MEMORY ERROR, which is found in Android Native. Usually when an unknown memory area tries to access the android internal storage system.

Finally, I found that when I saw the application’s memory usage in the Android app settings section, I found that the cache reached up to 10 MB.

+19
android sigsegv
Feb 11 '11 at 19:45
source share
2 answers

Call webview.clearCache(); and webView2.destroyDrawingCache();

This should solve the problem.

+20
Feb 11 2018-11-11T00:
source share

I ran into the same problem and I had jni. this fatal exception is thrown randomly, and when I used it to play the sound, it crashed for about 2 minutes or 6 minutes. After a lot of research, I found that the problem is that I made my own function call from two different threads, and when this happens at the same time, it failed.

Another, if you have a jni call from android, make sure you don't pass any arguments as arguments.

0
Aug 26 '13 at 5:41
source share



All Articles