Skip to content Skip to sidebar Skip to footer

Getting Signal 11 Error

Good day, I have a question about developing applications for Android using SDK. Our app faced an issue under Android 2.1 API Level 7 (at least under Android 2.1-update1 emulator a

Solution 1:

I was getting the signal 11 (SIGSEGV) and the following WIN DEATH after exiting a sound recording module with a TimerTask:

            micTimer.schedule(newTimerTask(){
            @Overridepublicvoidrun(){
                intx= mediaRecorder.getMaxAmplitude();
                Messagemsg=newMessage();
                msg.obj = x;
                mHandler.sendMessage(msg);
            }
        }, 0, 100);

terminated with micTimer.cancel() in my stopRecording() method. It took some time to solve it. I had a hint from this solution and thought the equivalent of clearCache() in my case is micTimer.purge() after micTimer.cancel(). This solved the problem.

So I guess dependong on your context you need to clear a cache, purge a queue, recycle a bitmap, GC...

Post a Comment for "Getting Signal 11 Error"