Consumer closed input channel or an error occur
THelper is right, and the stacktrace you pasted in your question could be turn into a more friendly format containing file name and line number by a python script:
http://code.google.com/p/android-ndk-stacktrace-analyzer/
I use this when I'm doing NDK work and it saves me a lot of time. Hope it helps.