How to solve JNI DETECTED ERROR IN APPLICATION: JNI CallStaticLongMethodV called with pending exception java.lang.StackOverflowError: stack size 991KB in Qt
Unsolved
Mobile and Embedded
-
I have developed android application in Qt. When I launch home page of my application suddenly app got crash.
Log says, JNI DETECTED ERROR IN APPLICATION: JNI CallStaticLongMethodV called with pending exception java.lang.StackOverflowError: stack size 991KB.
I have used many JNI methods in my application. I does not understand which JNI method fails and app got crash.
My error log is given below,W libuiMan.so: Trying to construct an instance of an invalid type, type id: 256 W libuiMan.so: Trying to construct an instance of an invalid type, type id: 256 F project.feathe: java_vm_ext.cc:570] JNI DETECTED ERROR IN APPLICATION: JNI CallStaticLongMethodV called with pending exception java.lang.StackOverflowError: stack size 991KB F project.feathe: java_vm_ext.cc:570] at long android.net.TrafficStats.getMobileRxBytes() (TrafficStats.java:593) F project.feathe: java_vm_ext.cc:570] F project.feathe: java_vm_ext.cc:570] in call to CallStaticLongMethodV W libEGL : EGLNativeWindowType 0x7c428ceb10 disconnect failed W project.feathe: 0xebadde09 skipped times: 0 F libc : Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7bab673fb0 in tid 31399 (QtThread), pid 31322 (project.feather) D libuiMan.so: qml: qmlObj destroyQml:: splashScreen.qml D libuiMan.so: qml: onTimerTrigged "org.qtproject.feather" died.
I does not understand why this error occur suddenly in my app. Please help me to find the solution.