Crash on QML internals



  • Hello I met a weird problem showing QML part crashed.
    First I suspect if QList<int> is registered by default? then take a look at the callstack:

    {\rtf1\ansi\ansicpg936\cocoartf1561\cocoasubrtf600
    {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
    {\colortbl;\red255\green255\blue255;}
    {\*\expandedcolortbl;;}
    \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
    \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
    
    \f0\fs24 \cf0 Process:               ZhanClient [3002]\
    Path:                  /Applications/ZhanClient.app/Contents/Resources/ZhanClient\
    Identifier:            com.buka.ZhanClient\
    Version:               0\
    Code Type:             X86-64 (Native)\
    Parent Process:        ??? [1]\
    Responsible:           ZhanClient [3002]\
    User ID:               501\
    \
    Date/Time:             2018-10-25 00:00:50.590 +0800\
    OS Version:            Mac OS X 10.13.6 (17G65)\
    Report Version:        12\
    Anonymous UUID:        EC4F1F0A-7FBB-C504-209A-67B02B2F1F59\
    \
    Sleep/Wake UUID:       A4154AD8-1013-429F-BFDC-20E19D2752D9\
    \
    Time Awake Since Boot: 36000 seconds\
    Time Since Wake:       4200 seconds\
    \
    System Integrity Protection: disabled\
    \
    Crashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-thread\
    \
    Exception Type:        EXC_CRASH (SIGABRT)\
    Exception Codes:       0x0000000000000000, 0x0000000000000000\
    Exception Note:        EXC_CORPSE_NOTIFY\
    \
    Application Specific Information:\
    abort() called\
    *** error for object 0x7fb248504c00: pointer being freed was not allocated\
     \
    \
    Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread\
    0   libsystem_kernel.dylib        	0x00007fff5e32fb66 __pthread_kill + 10\
    1   libsystem_pthread.dylib       	0x00007fff5e4fa080 pthread_kill + 333\
    2   libsystem_c.dylib             	0x00007fff5e28b24d __abort + 144\
    3   libsystem_c.dylib             	0x00007fff5e28b1bd abort + 142\
    4   libsystem_malloc.dylib        	0x00007fff5e389822 free + 521\
    5   org.qt-project.QtQml          	0x000000010e74b1d7 QV4::QQmlSequence<QList<int> >::destroy(QV4::Heap::Base*) + 55\
    6   org.qt-project.QtQml          	0x000000010e62133d QV4::Chunk::sweep(QV4::ExecutionEngine*) + 157\
    7   org.qt-project.QtQml          	0x000000010e621d00 QV4::BlockAllocator::sweep() + 144\
    8   org.qt-project.QtQml          	0x000000010e62775a QV4::MemoryManager::sweep(bool, void (*)(char const*)) + 1530\
    9   org.qt-project.QtQml          	0x000000010e623aa0 QV4::MemoryManager::runGC() + 1696\
    10  org.qt-project.QtQml          	0x000000010e626885 QV4::MemoryManager::allocData(unsigned long) + 181\
    11  org.qt-project.QtQml          	0x000000010e707bf3 QV4::BuiltinFunction::Data* QV4::MemoryManager::allocObject<QV4::BuiltinFunction, QV4::ExecutionContext*, QV4::String*, void (*)(QV4::BuiltinFunction const*, QV4::Scope&, QV4::CallData*)>(QV4::ExecutionContext*, QV4::String*, void (*)(QV4::BuiltinFunction const*, QV4::Scope&, QV4::CallData*)) + 147\
    12  org.qt-project.QtQml          	0x000000010e7359c2 QV4::Object::defineAccessorProperty(QV4::String*, void (*)(QV4::BuiltinFunction const*, QV4::Scope&, QV4::CallData*), void (*)(QV4::BuiltinFunction const*, QV4::Scope&, QV4::CallData*)) + 114\
    13  org.qt-project.QtQml          	0x000000010e735930 QV4::Object::defineAccessorProperty(QString const&, void (*)(QV4::BuiltinFunction const*, QV4::Scope&, QV4::CallData*), void (*)(QV4::BuiltinFunction const*, QV4::Scope&, QV4::CallData*)) + 112\
    14  org.qt-project.QtQml          	0x000000010e7a891b QV4::Heap::QQmlSequence<QList<int> >::init(QList<int> const&) + 267\
    15  org.qt-project.QtQml          	0x000000010e752d8c QV4::QQmlSequence<QList<int> >::Data* QV4::MemoryManager::allocObject<QV4::QQmlSequence<QList<int> >, QList<int> >(QList<int>) + 172\
    16  org.qt-project.QtQml          	0x000000010e751e72 QV4::SequencePrototype::fromVariant(QV4::ExecutionEngine*, QVariant const&, bool*) + 770\
    17  org.qt-project.QtQml          	0x000000010e70505f QV4::ExecutionEngine::fromVariant(QVariant const&) + 2575\
    18  org.qt-project.QtQml          	0x000000010e7fad38 QQmlBoundSignalExpression::evaluate(void**) + 600\
    19  org.qt-project.QtQml          	0x000000010e7fb72d QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) + 445\
    20  org.qt-project.QtQml          	0x000000010e844cf5 QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) + 757\
    21  org.qt-project.QtCore         	0x000000010d64b6cd QMetaObject::activate(QObject*, int, int, void**) + 125\
    22  org.qt-project.XZCore         	0x000000010ec7d7c4 XZCalculateWave::calculateResult(QList<int>) + 52\
    23  org.qt-project.XZBuka         	0x000000010ec12860 bukaCalculateWaveAdapter::calculateWave(QByteArray const&) + 1024\
    24  org.qt-project.QtCore         	0x000000010d644454 QObject::event(QEvent*) + 788\
    25  org.qt-project.QtWidgets      	0x000000010dc3d752 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306\
    26  org.qt-project.QtWidgets      	0x000000010dc3ea6f QApplication::notify(QObject*, QEvent*) + 383\
    27  org.qt-project.QtCore         	0x000000010d61af7f QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159\
    28  org.qt-project.QtCore         	0x000000010d61c152 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 850\
    29  libqcocoa.dylib               	0x0000000112029cfe QCocoaEventDispatcherPrivate::processPostedEvents() + 190\
    30  libqcocoa.dylib               	0x000000011202a5b1 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33\
    31  com.apple.CoreFoundation      	0x00007fff363bca11 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\
    32  com.apple.CoreFoundation      	0x00007fff3647642c __CFRunLoopDoSource0 + 108\
    33  com.apple.CoreFoundation      	0x00007fff3639f470 __CFRunLoopDoSources0 + 208\
    34  com.apple.CoreFoundation      	0x00007fff3639e8ed __CFRunLoopRun + 1293\
    35  com.apple.CoreFoundation      	0x00007fff3639e153 CFRunLoopRunSpecific + 483\
    36  com.apple.HIToolbox           	0x00007fff35688d96 RunCurrentEventLoopInMode + 286\
    37  com.apple.HIToolbox           	0x00007fff35688b06 ReceiveNextEventCommon + 613\
    38  com.apple.HIToolbox           	0x00007fff35688884 _BlockUntilNextEventMatchingListInModeWithFilter + 64\
    39  com.apple.AppKit              	0x00007fff33939a73 _DPSNextEvent + 2085\
    40  com.apple.AppKit              	0x00007fff340cfe34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044\
    41  libqcocoa.dylib               	0x0000000112029307 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2231\
    42  org.qt-project.QtCore         	0x000000010d616a72 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418\
    43  org.qt-project.XZQml          	0x000000010ec8f1e8 XZQmlSupport::executeModalWindow(QQuickWindow*) + 88\
    44  ZhanClient                    	0x000000010c8f1fc3 XZRoomController::onSettingsButtonClicked(QPoint const&, bool) + 467\
    45  ZhanClient                    	0x000000010c8e0f88 BkMainControl::onSettingsButtonClicked(QPoint) + 56\
    46  org.qt-project.QtCore         	0x000000010d64c1da QMetaObject::activate(QObject*, int, int, void**) + 2954\
    47  ZhanClient                    	0x000000010c93f5a3 0x10c8b3000 + 574883\
    48  org.qt-project.QtCore         	0x000000010d64c1da QMetaObject::activate(QObject*, int, int, void**) + 2954\
    49  org.qt-project.XZWidgets      	0x00000001101a7f77 CXZTitleWidget::settingsButtonClicked(QPoint const&) + 55\
    50  org.qt-project.XZWidgets      	0x00000001101a5858 CXZTitleWidget::onSettingsButtonClicked() + 56\
    51  org.qt-project.QtCore         	0x000000010d64c1da QMetaObject::activate(QObject*, int, int, void**) + 2954\
    52  org.qt-project.QtWidgets      	0x000000010dd365bf QAbstractButtonPrivate::emitClicked() + 111\
    53  org.qt-project.QtWidgets      	0x000000010dd36452 QAbstractButtonPrivate::click() + 226\
    54  org.qt-project.QtWidgets      	0x000000010dd376bf QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 271\
    55  org.qt-project.QtWidgets      	0x000000010dc77680 QWidget::event(QEvent*) + 496\
    56  org.qt-project.QtWidgets      	0x000000010dd37221 QAbstractButton::event(QEvent*) + 145\
    57  org.qt-project.QtWidgets      	0x000000010dc3d752 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306\
    58  org.qt-project.QtWidgets      	0x000000010dc404ed QApplication::notify(QObject*, QEvent*) + 7165\
    59  org.qt-project.QtCore         	0x000000010d61af7f QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159\
    60  org.qt-project.QtWidgets      	0x000000010dc3e080 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 896\
    61  org.qt-project.QtWidgets      	0x000000010dc97761 QWidgetWindow::handleMouseEvent(QMouseEvent*) + 1777\
    62  org.qt-project.QtWidgets      	0x000000010dc96430 QWidgetWindow::event(QEvent*) + 224\
    63  org.qt-project.QtWidgets      	0x000000010dc3d752 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306\
    64  org.qt-project.QtWidgets      	0x000000010dc3ea6f QApplication::notify(QObject*, QEvent*) + 383\
    65  org.qt-project.QtCore         	0x000000010d61af7f QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159\
    66  org.qt-project.QtGui          	0x000000010cf1fe1c QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2956\
    67  org.qt-project.QtGui          	0x000000010cf06efb QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 155\
    68  libqcocoa.dylib               	0x000000011202a5b1 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33\
    69  com.apple.CoreFoundation      	0x00007fff363bca11 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\
    70  com.apple.CoreFoundation      	0x00007fff3647642c __CFRunLoopDoSource0 + 108\
    71  com.apple.CoreFoundation      	0x00007fff3639f470 __CFRunLoopDoSources0 + 208\
    72  com.apple.CoreFoundation      	0x00007fff3639e8ed __CFRunLoopRun + 1293\
    73  com.apple.CoreFoundation      	0x00007fff3639e153 CFRunLoopRunSpecific + 483\
    74  com.apple.HIToolbox           	0x00007fff35688d96 RunCurrentEventLoopInMode + 286\
    75  com.apple.HIToolbox           	0x00007fff35688a0f ReceiveNextEventCommon + 366\
    76  com.apple.HIToolbox           	0x00007fff35688884 _BlockUntilNextEventMatchingListInModeWithFilter + 64\
    77  com.apple.AppKit              	0x00007fff33939a73 _DPSNextEvent + 2085\
    78  com.apple.AppKit              	0x00007fff340cfe34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044\
    79  com.apple.AppKit              	0x00007fff3392e885 -[NSApplication run] + 764\
    80  libqcocoa.dylib               	0x00000001120293ad QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2397\
    81  org.qt-project.QtCore         	0x000000010d616a72 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418\
    82  org.qt-project.QtCore         	0x000000010d61b692 QCoreApplication::exec() + 402\
    83  ZhanClient                    	0x000000010c93e86d main + 1293\
    84  libdyld.dylib                 	0x00007fff5e1df015 start + 1\
    

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.