Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
661 views
in Technique[技术] by (71.8m points)

segmentation fault - SIGNAL 11 SIGSEGV crash Android

Today I faced an error due to which my Android application is getting by SIGNAL 11.

This error usually occurs due to unauthorized memory area access by Android internal storage. Some of the possible scenarios are web access, network communication, server image downloading and such. Mine was the case of browser load url!

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

I need to launch the browser after a QR code scan.

Application was keep on scanning and launching the browser fluently but the issue occurs after 15-20 attempts of same steps..

I researched a lot and found that its the MEMORY ERROR which occurs in Android Native libraries.. usually when an unknown memory area is tried to access by the android internal storage system.

Finally I revealed that when I saw my application memory usage in the Android application setting section, i found that the cache has been reached to 10 MB..

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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

That should solve the problem.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...