Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7
-
None
-
8fdea76d3 (dev), 00e7e3c89 (6.7), 949b17999 (6.6), 0aad93eda (tqtc/lts-6.5)
Description
This is about a 2 months old Qt6-dev snapshot (20231130) cross-compiled for aarch64.
The "satelliteinfo" example is failing to run, and exits with SIGBUS.
First I get the error message
qt.positioning.geoclue2: Unable to obtain the client patch: "org.freedesktop.DBus.Error.ServiceUnknownThe name org.freedesktop.GeoClue2 was not provided by any .service files"
Then I get "bus error". Running under GDB gives me:
Thread 1 "satelliteinfo" received signal SIGBUS, Bus error. 0x0000007ff6103848 in QCoreApplicationPrivate::lockThreadPostEventList(QObject*) () from /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6Core.so.6 (gdb) bt #0 0x0000007ff6103848 in QCoreApplicationPrivate::lockThreadPostEventList(QObject*) () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6Core.so.6 #1 0x0000007ff6103a24 in QCoreApplication::postEvent(QObject*, QEvent*, int) () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6Core.so.6 #2 0x0000007ff614c158 in QObject::deleteLater() () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6Core.so.6 #3 0x0000007fe8d4c4c4 in QtPrivate::QCallableObject<QGeoPositionInfoSourceGeoclue2::createClient()::$_0, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/plugins/position/libqtposition_geoclue2.so #4 0x0000007ff61569c4 in void doActivate<false>(QObject*, int, void**) () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6Core.so.6 #5 0x0000007ff56db164 in QtPrivate::QCallableObject<QDBusPendingCallWatcherHelper::add(QDBusPendingCallWatcher*)::$_0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6DBus.so.6 #6 0x0000007ff614a9dc in QObject::event(QEvent*) () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6Core.so.6 #7 0x0000007ff6102c70 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6Core.so.6 #8 0x0000007ff610422c in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6Core.so.6 #9 0x0000007ff6372ea4 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6Core.so.6 #10 0x0000007ff5767bc8 in g_main_context_dispatch () at /lib/aarch64-linux-gnu/libglib-2.0.so.0 #11 0x0000007ff5767e5c in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0 #12 0x0000007ff5767f24 in g_main_context_iteration () at /lib/aarch64-linux-gnu/libglib-2.0.so.0 #13 0x0000007ff6372570 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6Core.so.6 #14 0x0000007ff610e6dc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6Core.so.6 #15 0x0000007ff6103490 in QCoreApplication::exec() () at /home/builder/dest/qt6-dev-debug-20231130-c0f9a303-RPiOS_11_arm64/lib/libQt6Core.so.6 #16 0x0000005555576d08 in main ()
Attachments
Issue Links
- relates to
-
QTBUG-115933 [QtPositioning] geoclue2 backend crashes randomly
- Closed
For Gerrit Dashboard: QTBUG-121997 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
549808,4 | GeoClue2 plugin: fix a crash when geoclue-2.0 is not available | dev | qt/qtpositioning | Status: MERGED | +2 | 0 |
552912,2 | GeoClue2 plugin: fix a crash when geoclue-2.0 is not available | 6.7 | qt/qtpositioning | Status: MERGED | +2 | 0 |
553101,2 | GeoClue2 plugin: fix a crash when geoclue-2.0 is not available | 6.6 | qt/qtpositioning | Status: MERGED | +2 | 0 |
553146,2 | GeoClue2 plugin: fix a crash when geoclue-2.0 is not available | tqtc/lts-6.5 | qt/tqtc-qtpositioning | Status: MERGED | +2 | 0 |