[Interest] Crashing in qMetaTypeCustomType_unlocked

Michael Jackson mike.jackson at bluequartz.net
Mon Jun 22 18:50:20 CEST 2020


We are currently experiencing some intermittent crashing in our program. The stacktrace is below. The code was compiled in "Release" mode. This is on an Ubuntu 18.04 (with all updates) and using GCC 8.4.0 (https://my.cdash.org/buildSummary.php?buildid=1843613). We use the prebuilt Qt 5.12.8 from the downloads.qt.io website. We are trying to reproduce the bug in a Debug build but no luck so far.

I've never really had an issue like this and so I'm just looking for ideas on what it might be? Also note that we build nightly on macOS and Windows and those builds do not have any issues. Most use the same version of Qt 5.12.

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./PipelineRunner --pipeline /opt/Dashboards/DREAM3D/Support/PrebuiltPipelines/W'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f5c82cf1aa8 in qMetaTypeCustomType_unlocked(char const*, int, int*) [clone .constprop.878] ()
   from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/lib/libQt5Core.so.5
[Current thread is 1 (Thread 0x7f5c7dd1f700 (LWP 14150))]
(gdb) bt
#0  0x00007f5c82cf1aa8 in qMetaTypeCustomType_unlocked(char const*, int, int*) [clone .constprop.878] ()
   from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/lib/libQt5Core.so.5
#1  0x00007f5c82cf2136 in int qMetaTypeTypeImpl<true>(char const*, int) () from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/lib/libQt5Core.so.5
#2  0x00007f5c7d0b3271 in qDBusParametersForMethod(QList<QByteArray> const&, QVector<int>&, QString&) ()
   from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/plugins/bearer/../../lib/libQt5DBus.so.5
#3  0x00007f5c7d0b3859 in qDBusParametersForMethod(QMetaMethod const&, QVector<int>&, QString&) ()
   from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/plugins/bearer/../../lib/libQt5DBus.so.5
#4  0x00007f5c7d07a021 in QDBusConnectionPrivate::findSlot(QObject*, QByteArray const&, QVector<int>&) ()
   from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/plugins/bearer/../../lib/libQt5DBus.so.5
#5  0x00007f5c7d07a7a0 in QDBusConnectionPrivate::prepareHook(QDBusConnectionPrivate::SignalHook&, QString&, QString const&, QString const&, QString const&, QString const&, QStringList const&, QObject*, char const*, int, bool) () from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/plugins/bearer/../../lib/libQt5DBus.so.5
#6  0x00007f5c7d07b0f1 in QDBusConnectionPrivate::disconnectRelay(QString const&, QString const&, QString const&, QDBusAbstractInterface*, QMetaMethod const&) () from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/plugins/bearer/../../lib/libQt5DBus.so.5
#7  0x00007f5c7d08c85f in QDBusAbstractInterfacePrivate::finishDisconnectNotify(QDBusAbstractInterface*, int) ()
   from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/plugins/bearer/../../lib/libQt5DBus.so.5
#8  0x00007f5c82d0bd61 in QObject::event(QEvent*) () from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/lib/libQt5Core.so.5
#9  0x00007f5c82cdf333 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/lib/libQt5Core.so.5
#10 0x00007f5c82ce1de7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/lib/libQt5Core.so.5
#11 0x00007f5c82d37123 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/lib/libQt5Core.so.5
#12 0x00007f5c7e1e6417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f5c7e1e6650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f5c7e1e66dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f5c82d3675f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/lib/libQt5Core.so.5
#16 0x00007f5c82cddc0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/lib/libQt5Core.so.5
#17 0x00007f5c82b0eb6c in QThread::exec() () from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/lib/libQt5Core.so.5
#18 0x00007f5c82b100a3 in QThreadPrivate::start(void*) () from /opt/DREAM3D_SDK/Qt5.12.8/5.12.8/gcc_64/lib/libQt5Core.so.5
#19 0x00007f5c80d0f6db in start_thread (arg=0x7f5c7dd1f700) at pthread_create.c:463
#20 0x00007f5c821f988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

--
Michael Jackson | Owner, President
      BlueQuartz Software
[e] mike.jackson at bluequartz.net
[w] www.bluequartz.net
 




More information about the Interest mailing list