Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.2.1, 5.3.0 Beta1, 5.3.1
-
Android x86
Description
I've tried Qt 5.2.1 for Android binary downloaded from qt-project.org and after setting up Qt Creator for Android builds (installing SDK, NDK and HAXM), I got to the point where I can deploy Qt apps from Qt Creator in the Android Emulator.
However the most simple "Hello world" QML app crashes in the Emulator. Here is the stack trace from adb logcat:
I/DEBUG ( 921): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 921): Build fingerprint: 'generic_x86/sdk_x86/generic_x86:4.4.2/KK/999428:eng/test-keys' I/DEBUG ( 921): Revision: '0' I/DEBUG ( 921): pid: 2100, tid: 2115, name: le.Lunchtime_qt >>> org.qtproject.example.Lunchtime_qt <<< I/DEBUG ( 921): signal 8 (SIGFPE), code -6 (SI_TKILL), fault addr 00000834 I/DEBUG ( 921): eax 06bc5ca3 ebx b7765fe4 ecx 0000005f edx 00000000 I/DEBUG ( 921): esi 00000000 edi b7742004 I/DEBUG ( 921): xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b I/DEBUG ( 921): eip b774cac8 ebp b6469d54 esp 7f7b2670 flags 00210246 E/Corkscrew( 921): unrecognized dwarf lower part encoding: 0x16 I/DEBUG ( 921): I/DEBUG ( 921): backtrace: I/DEBUG ( 921): #00 pc 00006ac8 /system/bin/linker (__dl__Z19dlsym_linear_lookupPKcPP6soinfoS2_+216) I/DEBUG ( 921): #01 pc 00001265 /system/bin/linker (__dl_dlsym+325) I/DEBUG ( 921): #02 pc 0029a763 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so (qt_linux_find_symbol_sys(char const*)+35) I/DEBUG ( 921): #03 pc 0032a435 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Qml.so I/DEBUG ( 921): #04 pc 0032a66c /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Qml.so (QQmlMemoryScope::QQmlMemoryScope(char const*)+28) I/DEBUG ( 921): #05 pc 003419f6 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Qml.so (QV8Engine::QV8Engine(QJSEngine*)+118) I/DEBUG ( 921): #06 pc 001be8a2 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Qml.so (QJSEngine::QJSEngine(QJSEnginePrivate&, QObject*)+82) I/DEBUG ( 921): #07 pc 00272373 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Qml.so (QQmlEngine::QQmlEngine(QObject*)+67) I/DEBUG ( 921): #08 pc 002ae3db /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Quick.so (QQuickViewPrivate::init(QQmlEngine*)+235) I/DEBUG ( 921): #09 pc 002ae657 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Quick.so (QQuickView::QQuickView(QWindow*)+103) I/DEBUG ( 921): #10 pc 00002176 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libLunchtime-qt.so (QtQuick2ApplicationViewer::QtQuick2ApplicationViewer(QWindow*)+38) I/DEBUG ( 921): I/DEBUG ( 921): stack: I/DEBUG ( 921): 7f7b2630 7f7b28d8 [stack:2115] I/DEBUG ( 921): 7f7b2634 7f7b272c [stack:2115] I/DEBUG ( 921): 7f7b2638 7f7b272c [stack:2115] I/DEBUG ( 921): 7f7b263c 80a2a72a /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so (QCoreApplication::notifyInternal(QObject*, QEvent*)+122) I/DEBUG ( 921): 7f7b2640 7f7b28d0 [stack:2115] I/DEBUG ( 921): 7f7b2644 b7685196 /system/lib/libc.so (malloc+6) I/DEBUG ( 921): 7f7b2648 80a2a979 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so (QCoreApplicationPrivate::notify_helper(QObject*, QEvent*)+9) I/DEBUG ( 921): 7f7b264c 80d0bcb8 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so I/DEBUG ( 921): 7f7b2650 b8194600 [heap] I/DEBUG ( 921): 7f7b2654 7f7b28d8 [stack:2115] I/DEBUG ( 921): 7f7b2658 7f7b272c [stack:2115] I/DEBUG ( 921): 7f7b265c 80a2aa4c /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so (QCoreApplication::notify(QObject*, QEvent*)+92) I/DEBUG ( 921): 7f7b2660 b8194600 [heap] I/DEBUG ( 921): 7f7b2664 7f7b28d8 [stack:2115] I/DEBUG ( 921): 7f7b2668 7f7b272c [stack:2115] I/DEBUG ( 921): 7f7b266c b774cb11 /system/bin/linker (__dl__Z19dlsym_linear_lookupPKcPP6soinfoS2_+289) I/DEBUG ( 921): #00 7f7b2670 b536c38e /system/lib/libLLVM.so I/DEBUG ( 921): 7f7b2674 80530cca /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Qml.so I/DEBUG ( 921): 7f7b2678 8088c749 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so (QListData::detach_grow(int*, int)+9) I/DEBUG ( 921): 7f7b267c b775cb06 /system/bin/linker (__dl_pthread_mutex_lock+198) I/DEBUG ( 921): 7f7b2680 7f7b28d8 [stack:2115] I/DEBUG ( 921): 7f7b2684 b8194690 [heap] I/DEBUG ( 921): 7f7b2688 b819b680 [heap] I/DEBUG ( 921): 7f7b268c 80a18d0c /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so (QList<QObject*>::detach_helper_grow(int, int)+60) I/DEBUG ( 921): 7f7b2690 00000000 I/DEBUG ( 921): 7f7b2694 00000000 I/DEBUG ( 921): 7f7b2698 06bc5ca3 I/DEBUG ( 921): 7f7b269c b7760590 /system/bin/linker I/DEBUG ( 921): 7f7b26a0 7f7b28d0 [stack:2115] I/DEBUG ( 921): 7f7b26a4 7f7b28d8 [stack:2115] I/DEBUG ( 921): 7f7b26a8 b774c9f9 /system/bin/linker (__dl__Z19dlsym_linear_lookupPKcPP6soinfoS2_+9) I/DEBUG ( 921): 7f7b26ac b7765fe4 /system/bin/linker I/DEBUG ( 921): ........ ........ I/DEBUG ( 921): #01 7f7b26c0 80530cca /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Qml.so I/DEBUG ( 921): 7f7b26c4 7f7b26dc [stack:2115] I/DEBUG ( 921): 7f7b26c8 00000000 I/DEBUG ( 921): 7f7b26cc 80a18e18 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so (QList<QObject*>::append(QObject* const&)+56) I/DEBUG ( 921): 7f7b26d0 0019a1cc I/DEBUG ( 921): 7f7b26d4 80a30b66 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so (QEvent::~QEvent()+6) I/DEBUG ( 921): 7f7b26d8 80d0bcb8 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so I/DEBUG ( 921): 7f7b26dc 00000000 I/DEBUG ( 921): 7f7b26e0 7f7b272c [stack:2115] I/DEBUG ( 921): 7f7b26e4 00000044 I/DEBUG ( 921): 7f7b26e8 80a2a6b9 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so (QCoreApplication::notifyInternal(QObject*, QEvent*)+9) I/DEBUG ( 921): 7f7b26ec 80d0bcb8 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so I/DEBUG ( 921): 7f7b26f0 7f7b279b [stack:2115] I/DEBUG ( 921): 7f7b26f4 b819cbd0 [heap] I/DEBUG ( 921): 7f7b26f8 7f7b279b [stack:2115] I/DEBUG ( 921): 7f7b26fc 80a26764 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so (qt_linux_find_symbol_sys(char const*)+36) I/DEBUG ( 921): #02 7f7b2700 ffffffff I/DEBUG ( 921): 7f7b2704 80530cca /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Qml.so I/DEBUG ( 921): 7f7b2708 7f7b272c [stack:2115] I/DEBUG ( 921): 7f7b270c b819b680 [heap] I/DEBUG ( 921): 7f7b2710 b819bbb0 [heap] I/DEBUG ( 921): 7f7b2714 80a26746 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Core.so (qt_linux_find_symbol_sys(char const*)+6) I/DEBUG ( 921): 7f7b2718 8060b25c /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Qml.so I/DEBUG ( 921): 7f7b271c 80496436 /data/app-lib/org.qtproject.example.Lunchtime_qt-1/libQt5Qml.so I/BootReceiver( 1259): Copying /data/tombstones/tombstone_04 to DropBox (SYSTEM_TOMBSTONE) D/ ( 2100): HostConnection::get() New Host Connection established 0xb8099170, tid 2100 I/ActivityManager( 1259): Process org.qtproject.example.Lunchtime_qt (pid 2100) has died. W/ActivityManager( 1259): Force removing ActivityRecord{95200988 u0 org.qtproject.example.Lunchtime_qt/org.qtproject.qt5.android.bindings.QtActivity t4}: app died, no saved state D/Zygote ( 924): Process 2100 terminated by signal (8) I/WindowState( 1259): WIN DEATH: Window{9515f748 u0 org.qtproject.example.Lunchtime_qt/org.qtproject.qt5.android.bindings.QtActivity} W/EGL_emulation( 1406): eglSurfaceAttrib not implemented
It looks like I am not the only one hitting this issue:
http://qt-project.org/forums/viewthread/35954
Attachments
Issue Links
- duplicates
-
QTBUG-69631 problematic qt_linux_find_symbol_sys on android
- Closed
-
QTBUG-39294 SIGFPE in QQmlApplicationEngine constructor on Android x86 emulator
- Closed
-
QTBUG-66726 QQmlApplicationEngine : SIGFPE Arithmetic exception then run on Android 4.4.2
- Closed
- relates to
-
QTBUG-34086 Division by 0 in qml causes a crash on Android
- Closed
-
QTBUG-66726 QQmlApplicationEngine : SIGFPE Arithmetic exception then run on Android 4.4.2
- Closed