Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to solve JNI DETECTED ERROR IN APPLICATION: JNI CallStaticLongMethodV called with pending exception java.lang.StackOverflowError: stack size 991KB in Qt
Forum Update on Monday, May 27th 2025

How to solve JNI DETECTED ERROR IN APPLICATION: JNI CallStaticLongMethodV called with pending exception java.lang.StackOverflowError: stack size 991KB in Qt

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HemantZ
    wrote on last edited by HemantZ
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved