Open geekosaur opened 4 months ago
I'm seeing a similar issue, right-clicking on a room in the roomlist segfaults nheko
Thread 1 "nheko" received signal SIGSEGV, Segmentation fault.
0x00007fffeba0ada9 in gtk_menu_shell_insert (menu_shell=0x555556ecd5a0 [GtkMenu], child=0x555556c200b0, position=0) at ../gtk/gtkmenushell.c:550
550 g_return_if_fail (GTK_IS_MENU_ITEM (child));
(gdb) bt
#0 0x00007fffeba0ada9 in gtk_menu_shell_insert (menu_shell=0x555556ecd5a0 [GtkMenu], child=0x555556c200b0, position=0) at ../gtk/gtkmenushell.c:550
#1 0x00007fffad9a03c7 in QQuickLabsPlatformMenu::create() (this=this@entry=0x555558330750) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/labs/platform/qquicklabsplatformmenu.cpp:208
#2 0x00007fffad9a0c60 in QQuickLabsPlatformMenu::sync() (this=0x555558330750) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/labs/platform/qquicklabsplatformmenu.cpp:234
#3 QQuickLabsPlatformMenuItem::sync() (this=this@entry=0x555556cacf50) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/labs/platform/qquicklabsplatformmenuitem.cpp:146
#4 0x00007fffad9a0f26 in QQuickLabsPlatformMenuItem::sync() (this=0x555556cacf50) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/labs/platform/qquicklabsplatformmenuitem.cpp:127
#5 QQuickLabsPlatformMenu::sync() (this=this@entry=0x5555579117a0) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/labs/platform/qquicklabsplatformmenu.cpp:252
#6 0x00007fffad9a11f5 in QQuickLabsPlatformMenu::sync() (this=0x5555579117a0) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/labs/platform/qquicklabsplatformmenu.cpp:234
#7 QQuickLabsPlatformMenu::insertItem(int, QQuickLabsPlatformMenuItem*) (this=0x5555579117a0, index=<optimized out>, item=0x555556cacf50)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/labs/platform/qquicklabsplatformmenu.cpp:559
#8 0x00007fffad9a5964 in QQuickLabsPlatformMenu::qt_metacall(QMetaObject::Call, int, void**) (this=0x5555579117a0, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0x7fffffff3148)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/build/src/labs/platform/qtlabsplatformplugin_autogen/include/moc_qquicklabsplatformmenu_p.cpp:543
#9 0x00007ffff651e773 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=0x7fffffff3400, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlobjectorgadget.cpp:14
#10 0x00007ffff640999b in QV4::CallMethod
(callType=QMetaObject::InvokeMetaMethod, callArgs=<optimized out>, engine=<optimized out>, argTypes=<optimized out>, argCount=<optimized out>, returnType=..., index=<optimized out>, object=...)
at /usr/include/qt6/QtCore/qvarlengtharray.h:84
#11 QV4::CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=<optimized out>, engine=<optimized out>,
engine@entry=0x5555564d7e90, callArgs=<optimized out>, callArgs@entry=0x7fffd05bf728, callType=callType@entry=QMetaObject::InvokeMetaMethod)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4qobjectwrapper.cpp:1950
#12 0x00007ffff640c711 in operator() (__closure=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4qobjectwrapper.cpp:2924
#13 operator()<QV4::QObjectMethod::callInternal(const QV4::Value*, const QV4::Value*, int) const::<lambda()> > (call=<optimized out>, __closure=<synthetic pointer>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4qobjectwrapper.cpp:2901
#14 QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const (this=0x7fffffff3510, thisObject=<optimized out>, argv=0x7fffd05bf6d8, argc=2)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4qobjectwrapper.cpp:2924
#15 0x00007ffff645345f in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7fffffff38c0, engine=0x5555564d7e90, code=0x555557910950 "\260\366=\366\377\177")
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4vme_moth.cpp:798
#16 0x00007ffff645686a in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) (frame=<optimized out>, engine=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4vme_moth.cpp:487
#17 0x00007ffff63c3e8e in QV4::doCall(QV4::Function*, QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*)
(self=<optimized out>, thisObject=thisObject@entry=0x555557911280, argv=<optimized out>, argc=<optimized out>, context=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4function.cpp:54
#18 0x00007ffff63c959c in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*)
(this=this@entry=0x555557911280, thisObject=0x555557911280, argv=argv@entry=0x7fffd05bf660, argc=argc@entry=2, context=context@entry=0x7fffde115a28)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4function.cpp:79
#19 0x00007ffff63c985d in operator() (argc=2, argv=0x7fffd05bf660, thisObject=<optimized out>, __closure=<synthetic pointer>) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4function.cpp:30
#20 QV4::convertAndCall<QV4::Function::call(QObject*, void**, const QMetaType*, int, QV4::ExecutionContext*)::<lambda(const QV4::Value*, const QV4::Value*, int)> >
(call=..., argc=2, types=0x7fffffff3b68, a=0x7fffffff5660, thisObject=<optimized out>, engine=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4jscall_p.h:202
#21 QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) (this=0x555557911280, thisObject=<optimized out>, a=0x7fffffff5660, types=0x7fffffff3b68, argc=2, context=0x7fffde115a28)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4function.cpp:27
#22 0x00007ffff64ebfc5 in QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) (this=<optimized out>, a=<optimized out>, types=<optimized out>, argc=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmljavascriptexpression_p.h:248
#23 0x00007ffff649bb07 in QQmlBoundSignalExpression::evaluate(void**) (this=this@entry=0x555557914be0, a=a@entry=0x7fffffff5660) at /usr/include/qt6/QtCore/qvarlengtharray.h:85
#24 0x00007ffff649fc8b in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (a=0x7fffffff5660, e=0x555557913500) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/ftw/qqmlrefcount_p.h:73
#25 QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x555557913500, a=0x7fffffff5660) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlboundsignal.cpp:293
#26 0x00007ffff650a808 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=0x7fffffff5660) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlnotifier.cpp:70
#27 0x00007ffff51e7b78 in doActivate<false>(QObject*, int, void**) (sender=0x555557911bb0, signal_index=9, argv=0x7fffffff5660) at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/corelib/kernel/qobject.cpp:3976
#28 0x00007ffff416e206 in QQmlInstantiator::objectAdded(int, QObject*) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/build/src/qmlmodels/QmlModels_autogen/include/moc_qqmlinstantiator_p.cpp:382
#29 0x00007ffff51e8301 in doActivate<false>(QObject*, int, void**) (sender=0x555557f7cf70, signal_index=5, argv=0x7fffffff5780) at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/corelib/kernel/qobject.cpp:4098
#30 0x00007ffff416e356 in QQmlInstanceModel::createdItem(int, QObject*) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/build/src/qmlmodels/QmlModels_autogen/include/moc_qqmlobjectmodel_p.cpp:286
#31 0x00007ffff41a5029 in QQmlDelegateModelPrivate::emitCreatedItem(QQDMIncubationTask*, QObject*) (item=<optimized out>, incubationTask=0x555556caed50, this=0x555557e6b1c0)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qmlmodels/qqmldelegatemodel_p_p.h:250
#32 QQmlDelegateModelPrivate::incubatorStatusChanged(QQDMIncubationTask*, QQmlIncubator::Status) (status=<optimized out>, incubationTask=0x555556caed50, this=0x555557e6b1c0)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qmlmodels/qqmldelegatemodel.cpp:1129
#33 QQmlDelegateModelPrivate::incubatorStatusChanged(QQDMIncubationTask*, QQmlIncubator::Status) (status=<optimized out>, incubationTask=0x555556caed50, this=0x555557e6b1c0)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qmlmodels/qqmldelegatemodel.cpp:1112
#34 QQDMIncubationTask::statusChanged(QQmlIncubator::Status) (this=0x555556caed50, status=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qmlmodels/qqmldelegatemodel.cpp:1006
#35 0x00007ffff64ea9aa in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) (this=this@entry=0x5555585c42f0, i=...) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlincubator.cpp:371
#36 0x00007ffff64eaeb4 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlRefPointer<QQmlContextData> const&) (this=0x555556211920, i=<optimized out>, forContext=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlincubator.cpp:53
#37 0x00007ffff41a653c in QQmlDelegateModelPrivate::object(QQmlListCompositor::Group, int, QQmlIncubator::IncubationMode) (this=0x555557e6b1c0, group=QQmlListCompositor::Default, index=0, incubationMode=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qmlmodels/qqmldelegatemodel.cpp:1284
#38 0x00007ffff4171c2a in QQmlInstantiatorPrivate::modelObject(int, bool) (this=this@entry=0x5555579149c0, index=index@entry=0, async=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qmlmodels/qqmlinstantiator.cpp:56
#39 0x00007ffff4172364 in QQmlInstantiatorPrivate::regenerate() (this=0x5555579149c0) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qmlmodels/qqmlinstantiator.cpp:79
#40 0x00007ffff4174baa in QQmlInstantiator::setModel(QVariant const&) (this=0x555557911bb0, v=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qmlmodels/qqmlinstantiator.cpp:412
#41 0x00007ffff64844e4 in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const (this=<optimized out>, target=<optimized out>, value=<optimized out>, flags=...)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlpropertydata_p.h:336
#42 0x00007ffff6529a8c in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlRefPointer<QQmlContextData> const&, QFlags<QQmlPropertyData::WriteFlag>)
(object=0x555557911bb0, property=..., value=..., context=..., flags=...) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlproperty.cpp:1536
#43 0x00007ffff6495f16 in QQmlBinding::slowWrite(QQmlPropertyData const&, QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>)
(this=0x555557914ab0, core=..., valueTypeData=..., result=..., isUndefined=<optimized out>, flags=...) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlbinding.cpp:540
#44 0x00007ffff649768d in GenericBinding<0>::write(QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) (this=0x555557914ab0, result=..., isUndefined=false, flags=...)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlbinding.cpp:268
#45 0x00007ffff6496ecd in QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) (this=0x555557914ab0, watcher=..., flags=..., scope=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlbinding.cpp:701
#46 0x00007ffff6494e14 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) (this=0x555557914ab0, flags=...) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlbinding.cpp:164
#47 0x00007ffff650a808 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=0x0) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlnotifier.cpp:70
#48 0x00007ffff51e7b78 in doActivate<false>(QObject*, int, void**) (sender=0x5555579117a0, signal_index=16, argv=0x0) at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/corelib/kernel/qobject.cpp:3976
#49 0x00007ffff659632c in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) (this=0x555557911a00, o=<optimized out>, c=<optimized out>, _id=<optimized out>, a=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlvmemetaobject.cpp:1021
#50 0x00007ffff648452a in QQmlPropertyData::doMetacall<(QMetaObject::Call)2>(QObject*, int, void**) const (this=<optimized out>, argv=0x7fffffff7d50, idx=<optimized out>, object=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlpropertydata_p.h:358
#51 QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const (this=<optimized out>, target=<optimized out>, value=<optimized out>, flags=...)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlpropertydata_p.h:378
#52 0x00007ffff64989db in GenericBinding<10>::doStore<QString>(QString, QQmlPropertyData const*, QFlags<QQmlPropertyData::WriteFlag>) const (flags=..., pd=0x7fffb03d8e60, value=..., this=0x555557914d70)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlbinding.cpp:275
#53 GenericBinding<10>::write(QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) (this=0x555557914d70, result=..., isUndefined=<optimized out>, flags=...)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlbinding.cpp:256
#54 0x00007ffff6496ecd in QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) (this=0x555557914d70, watcher=..., flags=..., scope=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlbinding.cpp:701
#55 0x00007ffff6494e14 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) (this=0x555557914d70, flags=...) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlbinding.cpp:164
#56 0x00007ffff650a808 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=0x0) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlnotifier.cpp:70
#57 0x00007ffff51e7b78 in doActivate<false>(QObject*, int, void**) (sender=0x5555578f3c40, signal_index=16, argv=0x0) at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/corelib/kernel/qobject.cpp:3976
#58 0x00007ffff659632c in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) (this=0x5555578f3e60, o=<optimized out>, c=<optimized out>, _id=<optimized out>, a=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlvmemetaobject.cpp:1021
#59 0x00007ffff63ff5ee in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData const*, QV4::Value const&)
(engine=engine@entry=0x5555564d7e90, object=object@entry=0x5555578f3c40, property=0x7fffb03c4da0, value=...) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlpropertydata_p.h:256
#60 0x00007ffff640023e in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlRefPointer<QQmlContextData> const&, QObject*, QV4::String*, QFlags<QV4::QObjectWrapper::Flag>, QV4::Value const&)
(engine=0x5555564d7e90, qmlContext=<optimized out>, object=0x5555578f3c40, name=<optimized out>, flags=..., value=...) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4qobjectwrapper.cpp:567
#61 0x00007ffff63f941a in QV4::QQmlContextWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) (m=<optimized out>, id=..., value=..., receiver=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4qmlcontext.cpp:478
#62 0x00007ffff63840e3 in QV4::Object::put(QV4::StringOrSymbol*, QV4::Value const&, QV4::Value*) (receiver=0x7fffd05bf628, v=..., name=0x7fffd05bf620, this=0x7fffd05bf628)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4string_p.h:140
#63 QV4::ExecutionContext::setProperty(QV4::String*, QV4::Value const&) (this=<optimized out>, name=0x7fffd05bf620, value=...) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4context.cpp:278
#64 0x00007ffff6424781 in QV4::Runtime::StoreNameSloppy::call(QV4::ExecutionEngine*, int, QV4::Value const&) (engine=0x5555564d7e90, nameIndex=<optimized out>, value=...)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4runtime.cpp:986
#65 0x00007ffff645312b in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7fffffffa330, engine=0x5555564d7e90, code=0x7fffb087cbf7 "\026\a", <incomplete sequence \321>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4vme_moth.cpp:623
#66 0x00007ffff645686a in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) (frame=<optimized out>, engine=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4vme_moth.cpp:487
#67 0x00007ffff63c4098 in qfoDoCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) (fo=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4functionobject.cpp:526
#68 0x00007ffff645345f in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7fffffffa7c0, engine=0x5555564d7e90, code=0x55555787cbb0 "p\364=\366\377\177")
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4vme_moth.cpp:798
#69 0x00007ffff645686a in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) (frame=<optimized out>, engine=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4vme_moth.cpp:487
#70 0x00007ffff63c3e8e in QV4::doCall(QV4::Function*, QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*)
(self=<optimized out>, thisObject=thisObject@entry=0x555557883d80, argv=<optimized out>, argc=<optimized out>, context=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4function.cpp:54
#71 0x00007ffff63c959c in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*)
(this=this@entry=0x555557883d80, thisObject=0x555557883d80, argv=argv@entry=0x7fffd05bf4f0, argc=argc@entry=2, context=context@entry=0x7fffd3e06c68)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4function.cpp:79
#72 0x00007ffff63c985d in operator() (argc=2, argv=0x7fffd05bf4f0, thisObject=<optimized out>, __closure=<synthetic pointer>) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4function.cpp:30
#73 QV4::convertAndCall<QV4::Function::call(QObject*, void**, const QMetaType*, int, QV4::ExecutionContext*)::<lambda(const QV4::Value*, const QV4::Value*, int)> >
(call=..., argc=2, types=0x7fffffffaa68, a=0x7fffffffc560, thisObject=<optimized out>, engine=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4jscall_p.h:202
#74 QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) (this=0x555557883d80, thisObject=<optimized out>, a=0x7fffffffc560, types=0x7fffffffaa68, argc=2, context=0x7fffd3e06c68)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/jsruntime/qv4function.cpp:27
#75 0x00007ffff64ebfc5 in QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) (this=<optimized out>, a=<optimized out>, types=<optimized out>, argc=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmljavascriptexpression_p.h:248
#76 0x00007ffff649bb07 in QQmlBoundSignalExpression::evaluate(void**) (this=this@entry=0x555558347a30, a=a@entry=0x7fffffffc560) at /usr/include/qt6/QtCore/qvarlengtharray.h:85
#77 0x00007ffff649fc8b in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (a=0x7fffffffc560, e=0x555558339400) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/ftw/qqmlrefcount_p.h:73
#78 QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x555558339400, a=0x7fffffffc560) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlboundsignal.cpp:293
#79 0x00007ffff650a808 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=0x7fffffffc560) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/qml/qml/qqmlnotifier.cpp:70
#80 0x00007ffff51e7b78 in doActivate<false>(QObject*, int, void**) (sender=0x5555588f29f0, signal_index=25, argv=0x7fffffffc560) at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/corelib/kernel/qobject.cpp:3976
#81 0x00007ffff69e5336 in QQuickTapHandler::singleTapped(QEventPoint, Qt::MouseButton) (this=this@entry=0x5555588f29f0, _t1=..., _t2=<optimized out>, _t2@entry=Qt::RightButton)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/build/src/quick/Quick_autogen/include/moc_qquicktaphandler_p.cpp:418
#82 0x00007ffff69ec09e in QQuickTapHandler::setPressed(bool, bool, QPointerEvent*, QEventPoint&) (this=0x5555588f29f0, press=<optimized out>, cancel=<optimized out>, event=0x7fffffffd060, point=...)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/quick/handlers/qquicktaphandler.cpp:418
#83 0x00007ffff69ec1bc in QQuickTapHandler::setPressed(bool, bool, QPointerEvent*, QEventPoint&) (this=<optimized out>, press=<optimized out>, cancel=<optimized out>, event=<optimized out>, point=<optimized out>)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/quick/handlers/qquicktaphandler.cpp:451
#84 0x00007ffff69ec25a in QQuickTapHandler::handleEventPoint(QPointerEvent*, QEventPoint&) (this=0x5555588f29f0, event=0x7fffffffd060, point=...)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/quick/handlers/qquicktaphandler.cpp:133
#85 0x00007ffff69eb54f in QQuickSinglePointHandler::handlePointerEventImpl(QPointerEvent*) (this=0x5555588f29f0, event=0x7fffffffd060)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/quick/handlers/qquicksinglepointhandler.cpp:114
#86 0x00007ffff69ea6fa in QQuickPointerHandler::handlePointerEvent(QPointerEvent*) (this=0x5555588f29f0, event=0x7fffffffd060) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/quick/handlers/qquickpointerhandler.cpp:718
#87 0x00007ffff6bad592 in QQuickDeliveryAgentPrivate::deliverUpdatedPoints(QPointerEvent*) (this=this@entry=0x5555561b67d0, event=event@entry=0x7fffffffd060)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/quick/util/qquickdeliveryagent.cpp:2099
#88 0x00007ffff6baeed3 in QQuickDeliveryAgentPrivate::deliverPointerEvent(QPointerEvent*) (this=this@entry=0x5555561b67d0, event=event@entry=0x7fffffffd060)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/quick/util/qquickdeliveryagent.cpp:1947
#89 0x00007ffff6bafffc in QQuickDeliveryAgentPrivate::handleMouseEvent(QMouseEvent*) (this=this@entry=0x5555561b67d0, event=event@entry=0x7fffffffd060)
at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/quick/util/qquickdeliveryagent.cpp:1701
#90 0x00007ffff6bb0738 in QQuickDeliveryAgent::event(QEvent*) (this=<optimized out>, ev=0x7fffffffd060) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/quick/util/qquickdeliveryagent.cpp:746
#91 0x00007ffff6ac6812 in QQuickWindow::event(QEvent*) (this=<optimized out>, event=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-6.7.1/src/quick/items/qquickwindow.cpp:1548
#92 0x00007ffff73c2f7e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7fffffffd830, e=0x7fffffffd060)
at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/widgets/kernel/qapplication.cpp:3287
#93 0x00007ffff518ee20 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7fffffffd830, event=0x7fffffffd060) at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/corelib/kernel/qcoreapplication.cpp:1134
#94 0x00007ffff518f469 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/corelib/kernel/qcoreapplication.cpp:1589
#95 0x00007ffff59ed6db in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x555556caebf0) at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/gui/kernel/qguiapplication.cpp:2327
#96 0x00007ffff5a4974c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...)
at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/gui/kernel/qwindowsysteminterface.cpp:1114
#97 0x00007ffff1b90f7a in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:57
#98 0x00007ffff5712740 in g_main_dispatch (context=0x7fffec000f00) at ../glib/gmain.c:3344
#99 g_main_context_dispatch_unlocked (context=context@entry=0x7fffec000f00) at ../glib/gmain.c:4152
#100 0x00007ffff5714388 in g_main_context_iterate_unlocked (context=context@entry=0x7fffec000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#101 0x00007ffff5714a3c in g_main_context_iteration (context=0x7fffec000f00, may_block=1) at ../glib/gmain.c:4282
#102 0x00007ffff53c147c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5555562392d0, flags=...)
at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#103 0x00007ffff519959b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffffffd4a0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/corelib/global/qflags.h:34
#104 0x00007ffff5192da6 in QCoreApplication::exec() () at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/corelib/global/qflags.h:74
#105 0x00007ffff59e7e8c in QGuiApplication::exec() () at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/gui/kernel/qguiapplication.cpp:1926
#106 0x00007ffff73c0005 in QApplication::exec() () at /usr/src/debug/qtbase-everywhere-src-6.7.1/src/widgets/kernel/qapplication.cpp:2555
#107 0x0000555555755a37 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/nheko-0.12.0+git.4.b39ffc2/src/main.cpp:477
This bug also happen on v11.3 but when you right click on more than one room. And on v12 it just crash on first right click.
https://github.com/Nheko-Reborn/nheko/assets/95903022/7decafe8-aec4-4251-9e64-c97ad5de7934
(nheko:4606): Gtk-CRITICAL **: 16:11:18.646: gtk_menu_shell_insert: assertion 'GTK_IS_MENU_ITEM (child)' failed
(nheko:4606): Gtk-CRITICAL **: 16:11:18.646: gtk_menu_shell_insert: assertion 'GTK_IS_MENU_ITEM (child)' failed
(nheko:4606): Gtk-CRITICAL **: 16:11:18.647: gtk_menu_shell_insert: assertion 'GTK_IS_MENU_ITEM (child)' failed
(nheko:4606): Gtk-CRITICAL **: 16:11:18.647: gtk_menu_shell_insert: assertion 'GTK_IS_MENU_ITEM (child)' failed
(nheko:4606): Gtk-CRITICAL **: 16:11:18.647: gtk_menu_shell_insert: assertion 'GTK_IS_MENU_ITEM (child)' failed
(nheko:4606): Gtk-CRITICAL **: 16:11:24.045: gtk_menu_shell_insert: assertion 'GTK_IS_MENU_ITEM (child)' failed
(nheko:4606): Gtk-CRITICAL **: 16:11:24.045: gtk_menu_shell_insert: assertion 'GTK_IS_MENU_ITEM (child)' failed
(nheko:4606): Gtk-CRITICAL **: 16:11:24.045: gtk_menu_shell_insert: assertion 'GTK_IS_MENU_ITEM (child)' failed
(nheko:4606): Gtk-CRITICAL **: 16:11:24.045: gtk_menu_shell_insert: assertion 'GTK_IS_MENU_ITEM (child)' failed
(nheko:4606): Gtk-CRITICAL **: 16:11:24.045: gtk_menu_shell_insert: assertion 'GTK_IS_MENU_ITEM (child)' failed
(nheko:4606): Gtk-WARNING **: 16:11:24.045: Can't set a parent on widget which has a parent
Error: signal 11:
nheko(_Z17stacktraceHandleri+0x40)[0x579f75c80d30]
/lib/x86_64-linux-gnu/libc.so.6(+0x45320)[0x71f1ac245320]
/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk3.so(+0x18a0a)[0x71f1a799ea0a]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x25aba)[0x71f183ed9aba]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x20eec)[0x71f183ed4eec]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x25b0b)[0x71f183ed9b0b]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x20eec)[0x71f183ed4eec]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x2328d)[0x71f183ed728d]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x2331d)[0x71f183ed731d]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x1890f)[0x71f183ecc90f]
/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0x5b)[0x71f1acd0610b]
/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x85)[0x71f1adb6bd45]
/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128)[0x71f1accd8118]
/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x19b)[0x71f1accdb94b]
/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x335c0f)[0x71f1acd35c0f]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5d5b5)[0x71f1ac9145b5]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xbc717)[0x71f1ac973717]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33)[0x71f1ac913a53]
/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x69)[0x71f1acd35279]
/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x13b)[0x71f1accd6a7b]
/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication4execEv+0x98)[0x71f1accdf3e8]
nheko(main+0xfe5)[0x579f75928985]
/lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca)[0x71f1ac22a1ca]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x71f1ac22a28b]
nheko(_start+0x25)[0x579f7592bff5]
Error: signal 6:
nheko(_Z17stacktraceHandleri+0x40)[0x579f75c80d30]
/lib/x86_64-linux-gnu/libc.so.6(+0x45320)[0x71f1ac245320]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11c)[0x71f1ac29eb1c]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x1e)[0x71f1ac24526e]
nheko(_Z17stacktraceHandleri+0xe4)[0x579f75c80dd4]
/lib/x86_64-linux-gnu/libc.so.6(+0x45320)[0x71f1ac245320]
/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk3.so(+0x18a0a)[0x71f1a799ea0a]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x25aba)[0x71f183ed9aba]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x20eec)[0x71f183ed4eec]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x25b0b)[0x71f183ed9b0b]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x20eec)[0x71f183ed4eec]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x2328d)[0x71f183ed728d]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x2331d)[0x71f183ed731d]
/usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/platform/libqtlabsplatformplugin.so(+0x1890f)[0x71f183ecc90f]
/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0x5b)[0x71f1acd0610b]
/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x85)[0x71f1adb6bd45]
/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128)[0x71f1accd8118]
/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x19b)[0x71f1accdb94b]
/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x335c0f)[0x71f1acd35c0f]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5d5b5)[0x71f1ac9145b5]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xbc717)[0x71f1ac973717]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33)[0x71f1ac913a53]
/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x69)[0x71f1acd35279]
/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x13b)[0x71f1accd6a7b]
/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication4execEv+0x98)[0x71f1accdf3e8]
nheko(main+0xfe5)[0x579f75928985]
/lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca)[0x71f1ac22a1ca]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x71f1ac22a28b]
nheko(_start+0x25)[0x579f7592bff5]
Aborted (core dumped)```
this is probably not a generic fix but for me unsetting XDG_CURRENT_DESKTOP
(was gnome
) solved the right-click-crash. basically changed in my nheko.desktop
the exec line to: Exec=env XDG_CURRENT_DESKTOP= nheko %u
. ymmv
This also works with a Flatpak install (flatpak run --env=XDG_CURRENT_DESKTOP= im.nheko.Nheko
). It also works around the crash when right-clicking spaces.
Describe the bug
On right-clicking a room in the sidebar, nheko nightly (just updated) crashes with signal 11.
To Reproduce
What happened?
The window closed, and a crash log was written to my X11 session log.
Expected behavior
A context menu should be shown.
Screenshots
No response
Version
0.11.3-d871b07f
Operating system
Linux
Installation method
No response
Qt version
No response
C++ compiler
No response
Desktop Environment
MATE with xmonad as window manager
Did you use profiles?
Relevant log output
Backtrace