Trying to record audio but getting message “mediarecorder went away with unhandled events” and “Fatal signal 11 (SIGSEGV)…”
I am trying to record audio in android but I am facing a problem. I have start and stop buttons, "start" for starting recording and "stop" for stopping recording. The problem is, when I press the stop button then my application logs a message "W/MediaRecorder(635): mediarecorder went away with unhandled events". (Start function is saving the audio file properly.) Then, if I again press start or stop button then I get error message " A/libc(743): Fatal signal 11 (SIGSEGV) at 0x00000010 (code=1), thread 743 (xample.recorder)" Code of recording class is below: /** * Creates a new audio recording