Trying to record audio but getting message "mediarecorder went away with unhandled events" and "Fatal signal 11 (SIGSEGV)...."
I solved this problem by reseting recorder before releasing it.
recorder.stop(); // stop recordingrecorder.reset(); // set state to idlerecorder.release(); // release resources back to the systemrecorder = null;
This could arise due to running modded firmware. A SIGSEGV should not be possible from Java.Read this post. There is an explanation of the error in the end.Good luck.
The documentation states:
In order to receive the respective callback associated with these listeners, applications are required to create MediaRecorder objects on threads with a Looper running (the main UI thread by default already has a Looper running).
Make sure you create the recorder on the UI thread. Perhaps also call its methods on the UI thread.