[QGIS-Developer] segfault with 4.0.0 and 4.0.2+18, qt6

Greg Troxel gdt at lexort.com
Sun May 10 11:29:50 PDT 2026


I'm trying to keep an experimental qgis4 pkgsrc pkg with qt6 up to date.
This is disjoint from the operational 3.44.9 (qt5) package.

This is all on NetBSD 10 amd64, mostly with gcc10 unless packages are
coded to need more bleeding-edge c++ languagea variants.

Earlier, I had 4.0.0 built from git
f2317a9ab1b8b0ab95c88d0cb0a2e53530812076 against qt6 6.10.0(?).  That
worked mostly fine, except that access to secret storage failed.

Then, I had updated qt6 to 6.11.0 (because pkgsrc did, which should be
ok), and I updated qgis to 4.0.2+18 (meaning 18 commits beyond the tag).
That starts up, but segfaults on opening a project.

Next I'm going to roll back qt6 and retest.

Is anyone else using qt 6.11.0?
Does anyone have any clues from this backtrace?



(gdb) bt
#0  0x00000000ffffffff in ?? ()
#1  0x000074c6abd66186 in QObjectPrivate::ConnectionData::cleanOrphanedConnectionsImpl(QObject*, QObjectPrivate::ConnectionData::LockPolicy) () from /usr/pkg/qt6/lib/libQt6Core.so.6
#2  0x000074c6ac014cac in ?? () from /usr/pkg/qt6/lib/libQt6Core.so.6
#3  0x000074c6abd6799a in QObject::disconnect(QMetaObject::Connection const&) () from /usr/pkg/qt6/lib/libQt6Core.so.6
#4  0x000074c6acd33844 in ?? () from /usr/pkg/qt6/lib/libQt6Qml.so.6
#5  0x000074c6acc3ed4e in ?? () from /usr/pkg/qt6/lib/libQt6Qml.so.6
#6  0x000074c6acc3f93e in ?? () from /usr/pkg/qt6/lib/libQt6Qml.so.6
#7  0x000074c6acc3fd28 in ?? () from /usr/pkg/qt6/lib/libQt6Qml.so.6
#8  0x000074c6acc3b49d in QV4::GCStateMachine::transition() () from /usr/pkg/qt6/lib/libQt6Qml.so.6
#9  0x000074c6abd69a9b in QObject::event(QEvent*) () from /usr/pkg/qt6/lib/libQt6Core.so.6
#10 0x000074c6b6784c3b in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/pkg/qt6/lib/libQt6Widgets.so.6
#11 0x000074c6ceb18c56 in QgsApplication::notify(QObject*, QEvent*) () from /usr/pkg/lib/libqgis_core.so.4.0.0
#12 0x000074c6abd32d25 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/pkg/qt6/lib/libQt6Core.so.6
#13 0x000074c6abd36fca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/pkg/qt6/lib/libQt6Core.so.6
#14 0x000074c6abf842e8 in ?? () from /usr/pkg/qt6/lib/libQt6Core.so.6
#15 0x000074c6a4256203 in g_main_dispatch () from /usr/pkg/lib/libglib-2.0.so.0
#16 0x000074c6a42593f9 in g_main_context_iterate_unlocked.constprop () from /usr/pkg/lib/libglib-2.0.so.0
#17 0x000074c6a4259b51 in g_main_context_iteration () from /usr/pkg/lib/libglib-2.0.so.0
#18 0x000074c6abf837ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/pkg/qt6/lib/libQt6Core.so.6
#19 0x000074c6abd3d183 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/pkg/qt6/lib/libQt6Core.so.6
#20 0x000074c6abd3b460 in QCoreApplication::exec() () from /usr/pkg/qt6/lib/libQt6Core.so.6
#21 0x00000001b88149d9 in ?? ()
#22 0x00000001b880b0fd in ?? ()
#23 0x00007f7f8a40baf8 in ?? () from /usr/libexec/ld.elf_so
#24 0x0000000000000002 in ?? ()
#25 0x00007f7fff918908 in ?? ()
#26 0x00007f7fff91891a in ?? ()
#27 0x0000000000000000 in ?? ()



More information about the QGIS-Developer mailing list