SourceForge has been redesigned. Learn more.
Close

#216 UnsatisfiedLinkError when running application

alpha 4
closed
nobody
None
2012-09-04
2012-09-03
hanzzz
No

Using the alpha 4 release of the Necessitas suite, following error occurs when running the attached sample application on an Android device:

I/Qt (30549): qt start
D/dalvikvm(30549): Trying to load lib /data/data/org.kde.necessitas.example.link_problem/lib/liblink-problem.so 0x40d75910
D/AndroidRuntime(30549): Shutting down VM
W/dalvikvm(30549): threadid=1: thread exiting with uncaught exception (group=0x40a4f1f8)
E/AndroidRuntime(30549): FATAL EXCEPTION: main
E/AndroidRuntime(30549): java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1314]: 1872 cannot locate '__gnu_thumb1_case_uqi'...

The attached archive includes a README on how to reproduce the error and a description under which circumstances the error does not appear.

1 Attachments

Discussion

  • hanzzz

    hanzzz - 2012-09-03

    just found out that it's even easier to reproduce. just create following class and instantiate it with any value:

    testclass.h:

    class TestClass
    {
    public:
        explicit TestClass(int iTest);
        virtual ~TestClass();
    
    private:
        int m_member;
    };
    

    testclass.cpp:

    #include "testclass.h"
    
    TestClass::TestClass(int iTest)
    {
        switch (iTest) {
        case 0: m_member = 0; break;
        case 1: m_member = 1; break;
        case 2: m_member = 2; break;
        case 3: m_member = 3; break;
        default: ;
        }
    }
    
    TestClass::~TestClass()
    {
    }
    
     
    Last edit: hanzzz 2012-09-03

Log in to post a comment.