Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.7.0
-
None
Description
QMLViewer can crash on exit on Mac OS X. This seems to be related to a recursive call to the logger view via an installed message handler.
Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 QtGui 0x00000001012b5354 QTextEngine::itemize() const + 20 1 QtGui 0x00000001012bc2e4 QTextLayout::beginLayout() + 36 2 QtGui 0x00000001014ea0c7 QPlainTextDocumentLayout::layoutBlock(QTextBlock const&) + 247 3 QtGui 0x00000001014eb57e QPlainTextDocumentLayout::blockBoundingRect(QTextBlock const&) const + 398 4 QtGui 0x00000001014ebd29 QPlainTextEditControl::blockBoundingRect(QTextBlock const&) const + 1033 5 QtGui 0x00000001012a1347 QTextControlPrivate::_q_updateBlock(QTextBlock const&) + 39 6 QtGui 0x00000001012abaa4 QTextControl::qt_metacall(QMetaObject::Call, int, void**) + 1156 7 QtCore 0x0000000101e30126 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 710 8 QtGui 0x00000001012f71f9 QAbstractTextDocumentLayout::updateBlock(QTextBlock const&) + 41 9 QtGui 0x00000001014eb1d0 QPlainTextDocumentLayout::documentChanged(int, int, int) + 704 10 QtGui 0x00000001012e29b8 QTextDocumentPrivate::finishEdit() + 120 11 QtGui 0x00000001012a1914 QTextControlPrivate::append(QString const&, Qt::TextFormat) + 260 12 QtGui 0x00000001014ed1b3 QPlainTextEditPrivate::append(QString const&, Qt::TextFormat) + 643 13 com.nokia.qt.qml 0x00000001000264dd LoggerWidget::append(QString const&) + 29 (loggerwidget.cpp:66) 14 com.nokia.qt.qml 0x000000010002bd89 LoggerWidget::qt_metacall(QMetaObject::Call, int, void**) + 193 (moc_loggerwidget.cpp:84) 15 QtCore 0x0000000101f07a17 QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1607 16 QtCore 0x0000000101f099ac QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) + 1324 17 com.nokia.qt.qml 0x0000000100029ae0 QMetaObject::invokeMethod(QObject*, char const*, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) + 286 (qobjectdefs.h:424) 18 com.nokia.qt.qml 0x000000010002933e myMessageOutput(QtMsgType, char const*) + 528 (main.cpp:96) 19 QtCore 0x0000000101ddbfa1 qt_message_output(QtMsgType, char const*) + 33 20 QtCore 0x0000000101ddc1d7 qt_message(QtMsgType, char const*, __va_list_tag*) + 183 21 QtCore 0x0000000101ddc44a qWarning(char const*, ...) + 170 22 QtGui 0x000000010129912a QFontDatabase::load(QFontPrivate const*, int) + 730 23 QtGui 0x000000010127e0ce QFontPrivate::engineForScript(int) const + 126 24 QtGui 0x00000001012b35d7 QTextEngine::fontEngine(QScriptItem const&, QFixed*, QFixed*, QFixed*) const + 247 25 QtGui 0x00000001012b6cb0 QTextEngine::shapeTextMac(int) const + 176 26 QtGui 0x00000001012b760b QTextEngine::shapeText(int) const + 123 27 QtGui 0x00000001012b799a QTextEngine::shape(int) const + 138 28 QtGui 0x00000001012bf426 QTextLine::layout_helper(int) + 5382 29 QtGui 0x00000001014ea16d QPlainTextDocumentLayout::layoutBlock(QTextBlock const&) + 413 30 QtGui 0x00000001014eb57e QPlainTextDocumentLayout::blockBoundingRect(QTextBlock const&) const + 398 31 QtGui 0x00000001014ebd29 QPlainTextEditControl::blockBoundingRect(QTextBlock const&) const + 1033 32 QtGui 0x00000001012a1347 QTextControlPrivate::_q_updateBlock(QTextBlock const&) + 39 33 QtGui 0x00000001012abaa4 QTextControl::qt_metacall(QMetaObject::Call, int, void**) + 1156 34 QtCore 0x0000000101e30126 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 710 35 QtGui 0x00000001012f71f9 QAbstractTextDocumentLayout::updateBlock(QTextBlock const&) + 41 36 QtGui 0x00000001014eb1d0 QPlainTextDocumentLayout::documentChanged(int, int, int) + 704 37 QtGui 0x00000001012e29b8 QTextDocumentPrivate::finishEdit() + 120 38 QtGui 0x00000001012a1914 QTextControlPrivate::append(QString const&, Qt::TextFormat) + 260 39 QtGui 0x00000001014ed1b3 QPlainTextEditPrivate::append(QString const&, Qt::TextFormat) + 643 40 com.nokia.qt.qml 0x00000001000264dd LoggerWidget::append(QString const&) + 29 (loggerwidget.cpp:66) 41 com.nokia.qt.qml 0x000000010002bd89 LoggerWidget::qt_metacall(QMetaObject::Call, int, void**) + 193 (moc_loggerwidget.cpp:84) 42 QtCore 0x0000000101f07a17 QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1607 43 QtCore 0x0000000101f099ac QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) + 1324 44 com.nokia.qt.qml 0x0000000100029ae0 QMetaObject::invokeMethod(QObject*, char const*, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) + 286 (qobjectdefs.h:424) 45 com.nokia.qt.qml 0x000000010002933e myMessageOutput(QtMsgType, char const*) + 528 (main.cpp:96) 46 QtCore 0x0000000101ddbfa1 qt_message_output(QtMsgType, char const*) + 33 47 QtCore 0x0000000101ddc1d7 qt_message(QtMsgType, char const*, __va_list_tag*) + 183 48 QtCore 0x0000000101ddc44a qWarning(char const*, ...) + 170 49 QtGui 0x000000010129912a QFontDatabase::load(QFontPrivate const*, int) + 730 50 QtGui 0x000000010127e0ce QFontPrivate::engineForScript(int) const + 126 51 QtGui 0x00000001012b35d7 QTextEngine::fontEngine(QScriptItem const&, QFixed*, QFixed*, QFixed*) const + 247 52 QtGui 0x00000001012b6cb0 QTextEngine::shapeTextMac(int) const + 176 53 QtGui 0x00000001012b760b QTextEngine::shapeText(int) const + 123 54 QtGui 0x00000001012b799a QTextEngine::shape(int) const + 138 55 QtGui 0x00000001012bf426 QTextLine::layout_helper(int) + 5382 56 QtGui 0x00000001014ea16d QPlainTextDocumentLayout::layoutBlock(QTextBlock const&) + 413 57 QtGui 0x00000001014eb57e QPlainTextDocumentLayout::blockBoundingRect(QTextBlock const&) const + 398 58 QtGui 0x00000001014ebd29 QPlainTextEditControl::blockBoundingRect(QTextBlock const&) const + 1033 59 QtGui 0x00000001012a1347 QTextControlPrivate::_q_updateBlock(QTextBlock const&) + 39 60 QtGui 0x00000001012abaa4 QTextControl::qt_metacall(QMetaObject::Call, int, void**) + 1156 61 QtCore 0x0000000101e30126 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 710 62 QtGui 0x00000001012f71f9 QAbstractTextDocumentLayout::updateBlock(QTextBlock const&) + 41 63 QtGui 0x00000001014eb1d0 QPlainTextDocumentLayout::documentChanged(int, int, int) + 704 64 QtGui 0x00000001012e29b8 QTextDocumentPrivate::finishEdit() + 120 65 QtGui 0x00000001012a1914 QTextControlPrivate::append(QString const&, Qt::TextFormat) + 260 66 QtGui 0x00000001014ed1b3 QPlainTextEditPrivate::append(QString const&, Qt::TextFormat) + 643 67 com.nokia.qt.qml 0x00000001000264dd LoggerWidget::append(QString const&) + 29 (loggerwidget.cpp:66) 68 com.nokia.qt.qml 0x000000010002bd89 LoggerWidget::qt_metacall(QMetaObject::Call, int, void**) + 193 (moc_loggerwidget.cpp:84) 69 QtCore 0x0000000101f07a17 QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1607 70 QtCore 0x0000000101f099ac QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) + 1324 71 com.nokia.qt.qml 0x0000000100029ae0 QMetaObject::invokeMethod(QObject*, char const*, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) + 286 (qobjectdefs.h:424) 72 com.nokia.qt.qml 0x000000010002933e myMessageOutput(QtMsgType, char const*) + 528 (main.cpp:96) 73 QtCore 0x0000000101ddbfa1 qt_message_output(QtMsgType, char const*) + 33 74 QtCore 0x0000000101ddc1d7 qt_message(QtMsgType, char const*, __va_list_tag*) + 183 75 QtCore 0x0000000101ddc44a qWarning(char const*, ...) + 170 76 QtGui 0x000000010129912a QFontDatabase::load(QFontPrivate const*, int) + 730 77 QtGui 0x000000010127e0ce QFontPrivate::engineForScript(int) const + 126 78 QtGui 0x00000001012b35d7 QTextEngine::fontEngine(QScriptItem const&, QFixed*, QFixed*, QFixed*) const + 247 79 QtGui 0x00000001012b6cb0 QTextEngine::shapeTextMac(int) const + 176 80 QtGui 0x00000001012b760b QTextEngine::shapeText(int) const + 123 81 QtGui 0x00000001012b799a QTextEngine::shape(int) const + 138 82 QtGui 0x00000001012bf426 QTextLine::layout_helper(int) + 5382 83 QtGui 0x00000001014ea16d QPlainTextDocumentLayout::layoutBlock(QTextBlock const&) + 413 84 QtGui 0x00000001014eb57e QPlainTextDocumentLayout::blockBoundingRect(QTextBlock const&) const + 398 85 QtGui 0x00000001014ebd29 QPlainTextEditControl::blockBoundingRect(QTextBlock const&) const + 1033 86 QtGui 0x00000001012a1347 QTextControlPrivate::_q_updateBlock(QTextBlock const&) + 39 87 QtGui 0x00000001012abaa4 QTextControl::qt_metacall(QMetaObject::Call, int, void**) + 1156 88 QtCore 0x0000000101e30126 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 710 89 QtGui 0x00000001012f71f9 QAbstractTextDocumentLayout::updateBlock(QTextBlock const&) + 41 90 QtGui 0x00000001014eb1d0 QPlainTextDocumentLayout::documentChanged(int, int, int) + 704 91 QtGui 0x00000001012e29b8 QTextDocumentPrivate::finishEdit() + 120 92 QtGui 0x00000001012a1914 QTextControlPrivate::append(QString const&, Qt::TextFormat) + 260 93 QtGui 0x00000001014ed1b3 QPlainTextEditPrivate::append(QString const&, Qt::TextFormat) + 643 94 com.nokia.qt.qml 0x00000001000264dd LoggerWidget::append(QString const&) + 29 (loggerwidget.cpp:66) 95 com.nokia.qt.qml 0x000000010002bd89 LoggerWidget::qt_metacall(QMetaObject::Call, int, void**) + 193 (moc_loggerwidget.cpp:84) 96 QtCore 0x0000000101f07a17 QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1607 97 QtCore 0x0000000101f099ac QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) + 1324 98 com.nokia.qt.qml 0x0000000100029ae0 QMetaObject::invokeMethod(QObject*, char const*, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) + 286 (qobjectdefs.h:424) 99 com.nokia.qt.qml 0x000000010002933e myMessageOutput(QtMsgType, char const*) + 528 (main.cpp:96) 100 QtCore 0x0000000101ddbfa1 qt_message_output(QtMsgType, char const*) + 33 101 QtCore 0x0000000101ddc1d7 qt_message(QtMsgType, char const*, __va_list_tag*) + 183 102 QtCore 0x0000000101ddc44a qWarning(char const*, ...) + 170 103 QtGui 0x000000010129912a QFontDatabase::load(QFontPrivate const*, int) + 730 104 QtGui 0x000000010127e0ce QFontPrivate::engineForScript(int) const + 126 105 QtGui 0x00000001012b35d7 QTextEngine::fontEngine(QScriptItem const&, QFixed*, QFixed*, QFixed*) const + 247 106 QtGui 0x00000001012b6cb0 QTextEngine::shapeTextMac(int) const + 176 107 QtGui 0x00000001012b760b QTextEngine::shapeText(int) const + 123 108 QtGui 0x00000001012b799a QTextEngine::shape(int) const + 138 109 QtGui 0x00000001012bf426 QTextLine::layout_helper(int) + 5382 110 QtGui 0x00000001014ea16d QPlainTextDocumentLayout::layoutBlock(QTextBlock const&) + 413 111 QtGui 0x00000001014eb57e QPlainTextDocumentLayout::blockBoundingRect(QTextBlock const&) const + 398 112 QtGui 0x00000001014ebd29 QPlainTextEditControl::blockBoundingRect(QTextBlock const&) const + 1033 113 QtGui 0x00000001012a1347 QTextControlPrivate::_q_updateBlock(QTextBlock const&) + 39 114 QtGui 0x00000001012abaa4 QTextControl::qt_metacall(QMetaObject::Call, int, void**) + 1156 115 QtCore 0x0000000101e30126 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 710 116 QtGui 0x00000001012f71f9 QAbstractTextDocumentLayout::updateBlock(QTextBlock const&) + 41 117 QtGui 0x00000001014eb1d0 QPlainTextDocumentLayout::documentChanged(int, int, int) + 704 118 QtGui 0x00000001012e29b8 QTextDocumentPrivate::finishEdit() + 120 119 QtGui 0x00000001012a1914 QTextControlPrivate::append(QString const&, Qt::TextFormat) + 260 120 QtGui 0x00000001014ed1b3 QPlainTextEditPrivate::append(QString const&, Qt::TextFormat) + 643 121 com.nokia.qt.qml 0x00000001000264dd LoggerWidget::append(QString const&) + 29 (loggerwidget.cpp:66) 122 com.nokia.qt.qml 0x000000010002bd89 LoggerWidget::qt_metacall(QMetaObject::Call, int, void**) + 193 (moc_loggerwidget.cpp:84) 123 QtCore 0x0000000101f07a17 QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1607 124 QtCore 0x0000000101f099ac QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) + 1324 125 com.nokia.qt.qml 0x0000000100029ae0 QMetaObject::invokeMethod(QObject*, char const*, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) + 286 (qobjectdefs.h:424) 126 com.nokia.qt.qml 0x000000010002933e myMessageOutput(QtMsgType, char const*) + 528 (main.cpp:96) 127 QtCore 0x0000000101ddbfa1 qt_message_output(QtMsgType, char const*) + 33 128 QtCore 0x0000000101ddc1d7 qt_message(QtMsgType, char const*, __va_list_tag*) + 183 129 QtCore 0x0000000101ddc44a qWarning(char const*, ...) + 170 130 QtGui 0x000000010129912a QFontDatabase::load(QFontPrivate const*, int) + 730 .... <snip>