Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48927

Regression: Qt Quick Controls applications containing a MenuBar with at least one Menu item crash when run with QT_QUICK_CONTROLS_STYLE=Flat

    XMLWordPrintable

    Details

      Description

      This works with Qt 5.5.

      The crash is reproducible with other programs too. For example, auto tests, as mentioned in QTBUG-48865. Here's a minimal reproducible example that should be run with QT_QUICK_CONTROLS_STYLE=Flat:

      import QtQuick 2.3
      import QtQuick.Window 2.2
      import QtQuick.Controls 1.4
      
      ApplicationWindow {
          width: 800
          height: 400
          visible: true
      
          menuBar: MenuBar {
              Menu {
              }
          }
      }
      

      Short backtrace:

      0	__GI_raise	/usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so	56	0x7ffff60cecc9	
      1	__GI_abort	/usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so	89	0x7ffff60d20d8	
      2	__gnu_cxx::__verbose_terminate_handler()			0x7ffff66d36b5	
      3	??			0x7ffff66d1836	
      4	std::terminate()			0x7ffff66d1863	
      5	__cxa_pure_virtual			0x7ffff66d233f	
      6	QObjectData::dynamicMetaObject	qobject.cpp	195	0x7ffff6c96cd4	
      7	QObject::metaObject	moc_qobject.cpp	163	0x7ffff6ca1fa9	
      8	QQmlMetaObject::QQmlMetaObject	qqmlpropertycache_p.h	550	0x7ffff7332516	
      9	QQmlPropertyPrivate::write	qqmlproperty.cpp	1305	0x7ffff7385b7b	
      10	QQmlPropertyPrivate::writeValueProperty	qqmlproperty.cpp	1176	0x7ffff73850c0	
      11	QQmlBinding::write	qqmlbinding.cpp	327	0x7ffff7408336	
      12	QQmlBinding::update	qqmlbinding.cpp	191	0x7ffff74073b8	
      13	QQmlBinding::setEnabled	qqmlbinding.cpp	412	0x7ffff740898d	
      14	QQmlObjectCreator::finalize	qqmlobjectcreator.cpp	1178	0x7ffff741899b	
      15	QQmlIncubatorPrivate::incubate	qqmlincubator.cpp	348	0x7ffff738e7e4	
      16	QQmlEnginePrivate::incubate	qqmlincubator.cpp	87	0x7ffff738dbf7	
      17	QQmlComponent::create	qqmlcomponent.cpp	1052	0x7ffff738a4a8	
      18	QQuickLoaderPrivate::_q_sourceLoaded	qquickloader.cpp	713	0x7fffe7d79102	
      19	QQuickLoaderPrivate::load	qquickloader.cpp	596	0x7fffe7d7888b	
      ...	<More>				
      

      Full backtrace:

      
      Thread 5 (Thread 0x7fffe666e700 (LWP 28017)):
      #0  0x00007ffff618512d in poll () at ../sysdeps/unix/syscall-template.S:81
      No locals.
      #1  0x00007ffff4f54fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      No symbol table info available.
      #2  0x00007ffff4f550ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      No symbol table info available.
      #3  0x00007ffff6cd7241 in QEventDispatcherGlib::processEvents (this=0x7fffd40008c0, flags=...) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:417
              d = 0x7fffd40008e0
              canWait = true
              savedFlags = {i = 0}
              result = false
      #4  0x00007ffff6c5ba44 in QEventLoop::processEvents (this=0x7fffe666dda0, flags=...) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/kernel/qeventloop.cpp:128
              d = 0x7fffd4002be0
      #5  0x00007ffff6c5bd0d in QEventLoop::exec (this=0x7fffe666dda0, flags=...) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/kernel/qeventloop.cpp:204
              locker = {val = 8617184}
              __PRETTY_FUNCTION__ = "int QEventLoop::exec(QEventLoop::ProcessEventsFlags)"
              ref = {d = 0x7fffd4002be0, locker = @0x7fffe666dd10, exceptionCaught = true}
              app = 0x7fffffffe0b0
              d = 0x7fffd4002be0
      #6  0x00007ffff6a310aa in QThread::exec (this=0x7fffeee66d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/thread/qthread.cpp:503
              d = 0x837c70
              locker = {val = 8617184}
              eventLoop = {<QObject> = {_vptr.QObject = 0x7ffff704b110 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff6e5f6e0 <qt_meta_stringdata_QObject>, data = 0x7ffff6e5f800 <qt_meta_data_QObject>, static_metacall = 0x7ffff6ca1c90 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7fffd4002be0}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff6f1b560 <qt_meta_stringdata_Qt>, data = 0x7ffff6f26200 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff7046f40 <QObject::staticMetaObject>, stringdata = 0x7ffff6f33be0 <qt_meta_stringdata_QEventLoop>, data = 0x7ffff6f33c40 <qt_meta_data_QEventLoop>, static_metacall = 0x7ffff6d43566 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
              returnCode = 0
      #7  0x00007fffeedd1734 in QDBusConnectionManager::run (this=0x7fffeee66d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/micurtis/dev/qt5.6/qtbase/src/dbus/qdbusconnection.cpp:152
              locker = {val = 140737337660192}
      #8  0x00007ffff6a38ab9 in QThreadPrivate::start (arg=0x7fffeee66d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/thread/qthread_unix.cpp:329
              __clframe = {__cancel_routine = 0x7ffff6a38b34 <QThreadPrivate::finish(void*)>, __cancel_arg = 0x7fffeee66d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>, __do_it = 1, __cancel_type = 0}
              thr = 0x7fffeee66d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>
              data = 0x837d20
      #9  0x00007ffff5e82182 in start_thread (arg=0x7fffe666e700) at pthread_create.c:312
              __res = <optimized out>
              pd = 0x7fffe666e700
              now = <optimized out>
              unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737058891520, -1335422219880688898, 1, 0, 140737058892224, 140737058891520, 1335436437337215742, 1335400030923854590}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
              not_first_call = <optimized out>
              pagesize_m1 = <optimized out>
              sp = <optimized out>
              freesize = <optimized out>
              __PRETTY_FUNCTION__ = "start_thread"
      #10 0x00007ffff619247d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      No locals.
      
      Thread 4 (Thread 0x7fffe7a6c700 (LWP 28012)):
      #0  0x00007ffff618512d in poll () at ../sysdeps/unix/syscall-template.S:81
      No locals.
      #1  0x00007ffff4f54fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      No symbol table info available.
      #2  0x00007ffff4f550ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      No symbol table info available.
      #3  0x00007ffff6cd7261 in QEventDispatcherGlib::processEvents (this=0x7fffdc0008c0, flags=...) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:419
              d = 0x7fffdc0008e0
              canWait = true
              savedFlags = {i = 0}
              result = false
      #4  0x00007ffff6c5ba44 in QEventLoop::processEvents (this=0x7fffe7a6bd90, flags=...) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/kernel/qeventloop.cpp:128
              d = 0x7fffdc005e00
      #5  0x00007ffff6c5bd0d in QEventLoop::exec (this=0x7fffe7a6bd90, flags=...) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/kernel/qeventloop.cpp:204
              locker = {val = 7582768}
              __PRETTY_FUNCTION__ = "int QEventLoop::exec(QEventLoop::ProcessEventsFlags)"
              ref = {d = 0x7fffdc005e00, locker = @0x7fffe7a6bd00, exceptionCaught = true}
              app = 0x7fffffffe0b0
              d = 0x7fffdc005e00
      #6  0x00007ffff6a310aa in QThread::exec (this=0x73ade8) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/thread/qthread.cpp:503
              d = 0x73b3c0
              locker = {val = 7582768}
              eventLoop = {<QObject> = {_vptr.QObject = 0x7ffff704b110 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff6e5f6e0 <qt_meta_stringdata_QObject>, data = 0x7ffff6e5f800 <qt_meta_data_QObject>, static_metacall = 0x7ffff6ca1c90 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7fffdc005e00}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff6f1b560 <qt_meta_stringdata_Qt>, data = 0x7ffff6f26200 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff7046f40 <QObject::staticMetaObject>, stringdata = 0x7ffff6f33be0 <qt_meta_stringdata_QEventLoop>, data = 0x7ffff6f33c40 <qt_meta_data_QEventLoop>, static_metacall = 0x7ffff6d43566 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
              returnCode = 0
      #7  0x00007fffec40f8e8 in QQmlDebugServerThread::run (this=0x73ade8) at /home/micurtis/dev/qt5.6/qtdeclarative/src/plugins/qmltooling/qmldbg_server/qqmldebugserver.cpp:242
              __PRETTY_FUNCTION__ = "virtual void QQmlDebugServerThread::run()"
              connection = 0x7fffdc0037a0
              eventLoop = {<QObject> = {_vptr.QObject = 0x73add8, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff6e5f6e0 <qt_meta_stringdata_QObject>, data = 0x7ffff6e5f800 <qt_meta_data_QObject>, static_metacall = 0x7ffff6ca1c90 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x73ade8}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff6f1b560 <qt_meta_stringdata_Qt>, data = 0x7ffff6f26200 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff7046f40 <QObject::staticMetaObject>, stringdata = 0x7ffff6f33be0 <qt_meta_stringdata_QEventLoop>, data = 0x7ffff6f33c40 <qt_meta_data_QEventLoop>, static_metacall = 0x7ffff6d43566 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
      #8  0x00007ffff6a38ab9 in QThreadPrivate::start (arg=0x73ade8) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/thread/qthread_unix.cpp:329
              __clframe = {__cancel_routine = 0x7ffff6a38b34 <QThreadPrivate::finish(void*)>, __cancel_arg = 0x73ade8, __do_it = 1, __cancel_type = 0}
              thr = 0x73ade8
              data = 0x73aef0
      #9  0x00007ffff5e82182 in start_thread (arg=0x7fffe7a6c700) at pthread_create.c:312
              __res = <optimized out>
              pd = 0x7fffe7a6c700
              now = <optimized out>
              unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737079854848, -1335422219880688898, 1, 0, 140737079855552, 140737079854848, 1335440286701654782, 1335400030923854590}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
              not_first_call = <optimized out>
              pagesize_m1 = <optimized out>
              sp = <optimized out>
              freesize = <optimized out>
              __PRETTY_FUNCTION__ = "start_thread"
      #10 0x00007ffff619247d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      No locals.
      
      Thread 3 (Thread 0x7fffed4b6700 (LWP 28008)):
      #0  0x00007ffff618512d in poll () at ../sysdeps/unix/syscall-template.S:81
      No locals.
      #1  0x00007ffff4f54fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      No symbol table info available.
      #2  0x00007ffff4f550ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      No symbol table info available.
      #3  0x00007ffff6cd7241 in QEventDispatcherGlib::processEvents (this=0x7fffe00008c0, flags=...) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:417
              d = 0x7fffe00008e0
              canWait = true
              savedFlags = {i = 0}
              result = false
      #4  0x00007ffff6c5ba44 in QEventLoop::processEvents (this=0x7fffed4b5dd0, flags=...) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/kernel/qeventloop.cpp:128
              d = 0x7fffe0003030
      #5  0x00007ffff6c5bd0d in QEventLoop::exec (this=0x7fffed4b5dd0, flags=...) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/kernel/qeventloop.cpp:204
              locker = {val = 6642352}
              __PRETTY_FUNCTION__ = "int QEventLoop::exec(QEventLoop::ProcessEventsFlags)"
              ref = {d = 0x7fffe0003030, locker = @0x7fffed4b5d40, exceptionCaught = true}
              app = 0x7fffffffe0b0
              d = 0x7fffe0003030
      #6  0x00007ffff6a310aa in QThread::exec (this=0x6559b0) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/thread/qthread.cpp:503
              d = 0x655a40
              locker = {val = 6642352}
              eventLoop = {<QObject> = {_vptr.QObject = 0x7ffff704b110 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff6e5f6e0 <qt_meta_stringdata_QObject>, data = 0x7ffff6e5f800 <qt_meta_data_QObject>, static_metacall = 0x7ffff6ca1c90 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7fffe0003030}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff6f1b560 <qt_meta_stringdata_Qt>, data = 0x7ffff6f26200 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff7046f40 <QObject::staticMetaObject>, stringdata = 0x7ffff6f33be0 <qt_meta_stringdata_QEventLoop>, data = 0x7ffff6f33c40 <qt_meta_data_QEventLoop>, static_metacall = 0x7ffff6d43566 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
              returnCode = 0
      #7  0x00007ffff741f543 in QQmlThreadPrivate::run (this=0x6559b0) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/ftw/qqmlthread.cpp:141
      No locals.
      #8  0x00007ffff6a38ab9 in QThreadPrivate::start (arg=0x6559b0) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/thread/qthread_unix.cpp:329
              __clframe = {__cancel_routine = 0x7ffff6a38b34 <QThreadPrivate::finish(void*)>, __cancel_arg = 0x6559b0, __do_it = 1, __cancel_type = 0}
              thr = 0x6559b0
              data = 0x655af0
      #9  0x00007ffff5e82182 in start_thread (arg=0x7fffed4b6700) at pthread_create.c:312
              __res = <optimized out>
              pd = 0x7fffed4b6700
              now = <optimized out>
              unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737174529792, -1335422219880688898, 1, 0, 140737174530496, 140737174529792, 1335451456837849854, 1335400030923854590}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
              not_first_call = <optimized out>
              pagesize_m1 = <optimized out>
              sp = <optimized out>
              freesize = <optimized out>
              __PRETTY_FUNCTION__ = "start_thread"
      #10 0x00007ffff619247d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      No locals.
      
      Thread 2 (Thread 0x7fffee53e700 (LWP 28007)):
      #0  0x00007ffff618512d in poll () at ../sysdeps/unix/syscall-template.S:81
      No locals.
      #1  0x00007ffff1d7cb72 in poll (__timeout=-1, __nfds=1, __fds=0x7fffee53dcd0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
      No locals.
      #2  _xcb_conn_wait (c=c@entry=0x61cc60, cond=cond@entry=0x61cca0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:447
              ret = <optimized out>
              fd = {fd = 3, events = 1, revents = 0}
      #3  0x00007ffff1d7e64f in xcb_wait_for_event (c=0x61cc60) at ../../src/xcb_in.c:622
              ret = 0x0
      #4  0x00007ffff123a96e in QXcbEventReader::run (this=0x62a680) at /home/micurtis/dev/qt5.6/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:1241
              event = 0x7ffff7ff7040
      #5  0x00007ffff6a38ab9 in QThreadPrivate::start (arg=0x62a680) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/thread/qthread_unix.cpp:329
              __clframe = {__cancel_routine = 0x7ffff6a38b34 <QThreadPrivate::finish(void*)>, __cancel_arg = 0x62a680, __do_it = 1, __cancel_type = 32767}
              thr = 0x62a680
              data = 0x62a9e0
      #6  0x00007ffff5e82182 in start_thread (arg=0x7fffee53e700) at pthread_create.c:312
              __res = <optimized out>
              pd = 0x7fffee53e700
              now = <optimized out>
              unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737191864064, -1335422219880688898, 1, 0, 140737191864768, 140737191864064, 1335453866314502910, 1335400030923854590}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
              not_first_call = <optimized out>
              pagesize_m1 = <optimized out>
              sp = <optimized out>
              freesize = <optimized out>
              __PRETTY_FUNCTION__ = "start_thread"
      #7  0x00007ffff619247d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      No locals.
      
      Thread 1 (Thread 0x7ffff7dff7c0 (LWP 27992)):
      #0  0x00007ffff60cecc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
              resultvar = 0
              pid = 27992
              selftid = 27992
      #1  0x00007ffff60d20d8 in __GI_abort () at abort.c:89
              save_stage = 2
              act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 140737488344320, 140737351947607, 140733193388037, 0, 45, 140737321233704, 0, 140737488344320, 7896128, 140737351976213, 45, 140737322170509, 45, 140737328128000, 0}}, sa_flags = -163214896, sa_restorer = 0x7ffff6732010}
              sigs = {__val = {32, 0 <repeats 15 times>}}
      #2  0x00007ffff66d36b5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      No symbol table info available.
      #3  0x00007ffff66d1836 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      No symbol table info available.
      #4  0x00007ffff66d1863 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      No symbol table info available.
      #5  0x00007ffff66d233f in __cxa_pure_virtual () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      No symbol table info available.
      #6  0x00007ffff6c96cd4 in QObjectData::dynamicMetaObject (this=0x81c4e0) at /home/micurtis/dev/qt5.6/qtbase/src/corelib/kernel/qobject.cpp:195
      No locals.
      #7  0x00007ffff6ca1fa9 in QObject::metaObject (this=0x81c410) at .moc/moc_qobject.cpp:163
      No locals.
      #8  0x00007ffff7332516 in QQmlMetaObject::QQmlMetaObject (this=0x7fffffffd5c0, o=0x81c410) at /home/micurtis/dev/qt5.6-debug/qtbase/include/QtQml/5.6.0/QtQml/private/../../../../../../../qt5.6/qtdeclarative/src/qml/qml/qqmlpropertycache_p.h:550
              ddata = 0x0
      #9  0x00007ffff7385b7b in QQmlPropertyPrivate::write (object=0x7862f0, property=..., value=..., context=0x783110, flags=...) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlproperty.cpp:1305
              o = 0x81c410
              ii = 0
              qdlr = {d = 0x788f10}
              listType = {_m = {ptr_value = 140737337651010, static FlagBit = <optimized out>, static Flag2Bit = <optimized out>, static FlagsMask = <optimized out>}}
              prop = {object = 0x7862f0, data = 0x0, append = 0x7fffec27cdd4 <QQuickMenu::append_menuItems(QQmlListProperty<QObject>*, QObject*)>, count = 0x7fffec27cfd4 <QQuickMenu::count_menuItems(QQmlListProperty<QObject>*)>, at = 0x7fffec27d00a <QQuickMenu::at_menuItems(QQmlListProperty<QObject>*, int)>, clear = 0x7fffec27d04e <QQuickMenu::clear_menuItems(QQmlListProperty<QObject>*)>, dummy1 = 0x0, dummy2 = 0x0}
              args = {0x7fffffffd670, 0x0}
              status = -1
              variantType = 1432
              coreIdx = 11
              propertyType = 1037
              enginePriv = 0x655730
      #10 0x00007ffff73850c0 in QQmlPropertyPrivate::writeValueProperty (object=0x7862f0, core=..., value=..., context=0x783110, flags=...) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlproperty.cpp:1176
              rv = false
      #11 0x00007ffff7408336 in QQmlBinding::write (this=0x787c00, core=..., result=..., isUndefined=false, flags=...) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlbinding.cpp:327
              f = 0x0
              value = {d = {data = {c = 80 'P', uc = 80 'P', s = -31920, sc = 80 'P', us = 33616, i = 7897936, u = 7897936, l = 7897936, ul = 7897936, b = 80, d = 3.9020988506528314e-317, f = 1.10673656e-38, real = 3.9020988506528314e-317, ll = 7897936, ull = 7897936, o = 0x788350, ptr = 0x788350, shared = 0x788350}, type = 1432, is_shared = 1, is_null = 0}}
              isVarProperty = false
              engine = 0x7fffffffe0c0
              v8engine = 0x655e20
              type = 1037
              watcher = {_c = 0x0, _w = 0x7fffffffd950, _s = 0x787c00}
      #12 0x00007ffff74073b8 in QQmlBinding::update (this=0x787c00, flags=...) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlbinding.cpp:191
              isUndefined = false
              result = {ptr = 0x7fffec4b7320}
              error = false
              pd = {<QQmlPropertyRawData> = {{propType = 1037, propTypeName = 0x7fff0000040d <error: Cannot access memory at address 0x7fff0000040d>}, {notifyIndex = 9, arguments = 0x73007300000009}, {{revision = 0, metaObjectOffset = 3, {{valueTypeFlags = 65534, valueTypePropType = 65535, valueTypeCoreIndex = 52}, {overrideIndexIsProperty = 0, overrideIndex = -1}}}, {accessors = 0xfffffffe00030000, accessorData = 52}}, coreIndex = 11, flags = 2112}, <No data fields>}
              ep = 0x655730
              scope = {engine = 0x656690, mark = 0x7fffec4b7318}
              f = {ptr = 0x7fffec4b7318}
              prof = {<QQmlProfilerHelper> = {<QQmlProfilerDefinitions> = {<No data fields>}, profiler = 0x743e90}, <No data fields>}
              watcher = {_c = 0x7862f0, _w = 0x7fffffffd950, _s = 0x787c00}
      #13 0x00007ffff740898d in QQmlBinding::setEnabled (this=0x787c00, e=true, flags=...) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlbinding.cpp:412
      No locals.
      #14 0x00007ffff741899b in QQmlObjectCreator::finalize (this=0x7832b0, interrupt=...) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1178
              b = {d = 0x787c40}
              data = 0x786a30
              watcher = {sharedState = {d = 0x7833d0}, watcher = {_t = 0x7833d0, _r = false}}
              ocRestorer = {ep = 0x655730, oldCreator = 0x749420}
      #15 0x00007ffff738e7e4 in QQmlIncubatorPrivate::incubate (this=0x7831e0, i=...) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlincubator.cpp:348
              ctxt = 0x0
              protectThis = {d = 0x7831e0}
              engine = 0x7fffffffe0c0
              _qml_memory_scope = {pushed = false}
              watcher = {_t = 0x7831e0, _r = false}
              enginePriv = 0x655730
      #16 0x00007ffff738dbf7 in QQmlEnginePrivate::incubate (this=0x655730, i=..., forContext=0x783030) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlincubator.cpp:87
              i = {mode = QQmlInstantiationInterrupt::None, timer = {t1 = -9223372036854775808, t2 = -9223372036854775808}, nsecs = 0, runWhile = 0x0}
              watcher = {_t = 0x7831e0, _r = true}
              p = {d = 0x7831e0}
              mode = QQmlIncubator::Synchronous
      #17 0x00007ffff738a4a8 in QQmlComponent::create (this=0x782c10, incubator=..., context=0x8300c0, forContext=0x0) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1052
              contextData = 0x783030
              forContextData = 0x783030
              __PRETTY_FUNCTION__ = "void QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*)"
              d = 0x782c30
              p = {d = 0x7831e0}
              enginePriv = 0x655730
      #18 0x00007fffe7d79102 in QQuickLoaderPrivate::_q_sourceLoaded (this=0x80ba10) at /home/micurtis/dev/qt5.6/qtdeclarative/src/quick/items/qquickloader.cpp:713
              q = 0x80b9e0
              creationContext = 0x7838f0
      #19 0x00007fffe7d7888b in QQuickLoaderPrivate::load (this=0x80ba10) at /home/micurtis/dev/qt5.6/qtdeclarative/src/quick/items/qquickloader.cpp:596
              q = 0x80b9e0
      #20 0x00007fffe7d7931f in QQuickLoader::componentComplete (this=0x80b9e0) at /home/micurtis/dev/qt5.6/qtdeclarative/src/quick/items/qquickloader.cpp:805
              d = 0x80ba10
      #21 0x00007ffff7418acb in QQmlObjectCreator::finalize (this=0x749420, interrupt=...) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1191
              profiler = {profiler = 0x0}
              status = 0x80b9f0
              watcher = {sharedState = {d = 0x73c650}, watcher = {_t = 0x73c650, _r = false}}
              ocRestorer = {ep = 0x655730, oldCreator = 0x0}
      #22 0x00007ffff7389eb9 in QQmlComponentPrivate::complete (enginePriv=0x655730, state=0x745ac0) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:912
              interrupt = {mode = QQmlInstantiationInterrupt::None, timer = {t1 = -9223372036854775808, t2 = -9223372036854775808}, nsecs = 0, runWhile = 0x0}
      #23 0x00007ffff7389f9e in QQmlComponentPrivate::completeCreate (this=0x745a20) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:948
              ep = 0x655730
      #24 0x00007ffff7389f50 in QQmlComponent::completeCreate (this=0x73ae40) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:941
              d = 0x745a20
      #25 0x00007ffff73897e9 in QQmlComponent::create (this=0x73ae40, context=0x70f5a0) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:774
              d = 0x745a20
              _qml_memory_scope = {pushed = false}
              rv = 0x752bb0
      #26 0x00007ffff7409fb6 in QQmlApplicationEnginePrivate::_q_finishLoad (this=0x655730, o=0x73ae40) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlapplicationengine.cpp:130
              q = 0x7fffffffe0c0
              c = 0x73ae40
              __PRETTY_FUNCTION__ = "void QQmlApplicationEnginePrivate::_q_finishLoad(QObject*)"
      #27 0x00007ffff7409d85 in QQmlApplicationEnginePrivate::startLoad (this=0x655730, url=..., data=..., dataFlag=false) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlapplicationengine.cpp:109
              q = 0x7fffffffe0c0
              c = 0x73ae40
      #28 0x00007ffff740a2b1 in QQmlApplicationEngine::load (this=0x7fffffffe0c0, url=...) at /home/micurtis/dev/qt5.6/qtdeclarative/src/qml/qml/qqmlapplicationengine.cpp:250
              d = 0x655730
      #29 0x000000000040338a in main (argc=1, argv=0x7fffffffe1d8) at ../quick/main.cpp:33
              app = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x7ffff7dc1250 <vtable for QGuiApplication+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff6e5f6e0 <qt_meta_stringdata_QObject>, data = 0x7ffff6e5f800 <qt_meta_data_QObject>, static_metacall = 0x7ffff6ca1c90 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x60f310}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff6f1b560 <qt_meta_stringdata_Qt>, data = 0x7ffff6f26200 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff7046f40 <QObject::staticMetaObject>, stringdata = 0x7ffff6f33d60 <qt_meta_stringdata_QCoreApplication>, data = 0x7ffff6f33f80 <qt_meta_data_QCoreApplication>, static_metacall = 0x7ffff6d436be <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x7fffffffe0b0}, static staticMetaObject = {d = {superdata = 0x7ffff704b1a0 <QCoreApplication::staticMetaObject>, stringdata = 0x7ffff7c0fcc0 <qt_meta_stringdata_QGuiApplication>, data = 0x7ffff7c10200 <qt_meta_data_QGuiApplication>, static_metacall = 0x7ffff77a7282 <QGuiApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
              model = 0x654a00
              engine = {<QQmlEngine> = {<QJSEngine> = {<QObject> = {_vptr.QObject = 0x7ffff7675f30 <vtable for QQmlApplicationEngine+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff6e5f6e0 <qt_meta_stringdata_QObject>, data = 0x7ffff6e5f800 <qt_meta_data_QObject>, static_metacall = 0x7ffff6ca1c90 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x655730}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff6f1b560 <qt_meta_stringdata_Qt>, data = 0x7ffff6f26200 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff7046f40 <QObject::staticMetaObject>, stringdata = 0x7ffff7494280 <qt_meta_stringdata_QJSEngine>, data = 0x7ffff74942c0 <qt_meta_data_QJSEngine>, static_metacall = 0x7ffff7209530 <QJSEngine::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x655e20}, static staticMetaObject = {d = {superdata = 0x7ffff7671380 <QJSEngine::staticMetaObject>, stringdata = 0x7ffff754d420 <qt_meta_stringdata_QQmlEngine>, data = 0x7ffff754d500 <qt_meta_data_QQmlEngine>, static_metacall = 0x7ffff7472fdc <QQmlEngine::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff7677da0 <QQmlEngine::staticMetaObject>, stringdata = 0x7ffff753b5e0 <qt_meta_stringdata_QQmlApplicationEngine>, data = 0x7ffff753b740 <qt_meta_data_QQmlApplicationEngine>, static_metacall = 0x7ffff740a3b2 <QQmlApplicationEngine::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
      

      Remove the Menu altogether, and there's no crash:

      import QtQuick 2.3
      import QtQuick.Window 2.2
      import QtQuick.Controls 1.4
      
      ApplicationWindow {
          width: 800
          height: 400
          visible: true
      
          menuBar: MenuBar {}
      }
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes