Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
None
-
5.9.3, 5.10.0, 5.11.0
-
None
-
MacOS 10.13, Qt 5.10 or 5.11
Description
Qt will crash with an error in a destructor when an application has a QtChart in a ToolTip or PopUp. Details can be found in a Qt Forum discussion at
https://forum.qt.io/topic/90858/crash-when-using-a-valueaxis-in-a-chartview-why/7
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 org.qt-project.QtQml 0x0000000104be9ccb QQmlContextData::ContextGuard::objectDestroyed(QObject*) + 43 1 org.qt-project.QtQml 0x0000000104bcc1c9 QQmlData::destroyed(QObject*) + 489 2 org.qt-project.QtCore 0x000000010512324f QObject::~QObject() + 319 3 libqtchartsqml2.dylib 0x000000010bae06f0 QQmlPrivate::QQmlElement<QtCharts::QValueAxis>::~QQmlElement() + 32 4 org.qt-project.QtQml 0x0000000104a5ebf8 QV4::MemoryManager::sweep(bool, void (*)(char const*)) + 296 5 org.qt-project.QtQml 0x0000000104a5fb62 QV4::MemoryManager::~MemoryManager() + 66 6 org.qt-project.QtQml 0x0000000104ae4b57 QV4::ExecutionEngine::~ExecutionEngine() + 87 7 org.qt-project.QtQml 0x0000000104adb057 QJSEngine::~QJSEngine() + 103 8 org.qt-project.QtQml 0x0000000104bcd572 QQmlEngine::~QQmlEngine() + 370 9 com.onsemi.ToolTipCrashTest 0x000000010466aca3 main + 339 (main.cpp:17) 10 libdyld.dylib 0x00007fff6383b015 start + 1
A sample project is attached which demonstrates both bugs (although you'll need to comment out the code showing the tool tip or the popup).