[kmail2] [Bug 485226] New: kmail crashed when opening install theme menu

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Apr 8 12:33:58 BST 2024


https://bugs.kde.org/show_bug.cgi?id=485226

            Bug ID: 485226
           Summary: kmail crashed when opening install theme menu
    Classification: Applications
           Product: kmail2
           Version: 6.0.1
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: mail+kde at branleb.de
  Target Milestone: ---

Created attachment 168285
  --> https://bugs.kde.org/attachment.cgi?id=168285&action=edit
Full backtrace

SUMMARY
Open View > Headers > Download new Templates an watch kmail crash


STEPS TO REPRODUCE
1. Start Kmail
2. Go View > Headers > Download new Templates
3.  *crash*

OBSERVED RESULT
Segmentation fault

gdb snippet:
===============
[New Thread 0x7ffdfbc006c0 (LWP 16123)]
[New Thread 0x7ffdcbe006c0 (LWP 16124)]
[New Thread 0x7ffdbbc006c0 (LWP 16125)]
[New Thread 0x7ffd93e006c0 (LWP 16126)]
[New Thread 0x7ffcbbe006c0 (LWP 16131)]
[New Thread 0x7fff4b0006c0 (LWP 16132)]
qt.qml.typeresolution.cycle: Cyclic dependency detected between
"qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and
"qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
file:///usr/lib64/qt6/qml/org/kde/kirigami/templates/private/DrawerHandle.qml:117:5:
TypeError: Cannot read property 'width' of null
[Thread 0x7ffde3a006c0 (LWP 15841) exited]

Thread 1 "kmail" received signal SIGSEGV, Segmentation fault.
QQuickAccessibleAttached::setRole (this=0x0, role=QAccessible::EditableText) at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/quick/items/qquickaccessibleattached.cpp:364
364         if (role != m_role) {
===============

EXPECTED RESULT
No SEGFAULT

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSuse Tumbleweed 20240403 - Kernel 6.8.2-1-vanilla
(64-bit) -  X11
KDE Plasma Version: 6.0.3
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.3

ADDITIONAL INFORMATION

Backtrace Thread #1: (Full Backtrace attached)
Thread 1 (Thread 0x7fffd535d280 (LWP 15751)):
+backtrace
#0  QQuickAccessibleAttached::setRole(QAccessible::Role) (this=0x0,
role=QAccessible::EditableText) at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/quick/items/qquickaccessibleattached.cpp:364
#1  0x00007fffdd28a3c0 in
QQuickTextEditPrivate::accessibilityActiveChanged(bool) (this=0x5555564f6330,
active=<optimized out>) at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/quick/items/qquicktextedit.cpp:874
#2  0x00007fffc4b84fb2 in
QQuickTextAreaPrivate::accessibilityActiveChanged(bool) (this=0x5555564f6330,
active=<optimized out>) at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/quicktemplates/qquicktextarea.cpp:420
#3  0x00007fffdd27a77a in QQuickTextEdit::componentComplete()
(this=this at entry=0x55555d5a9190) at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/quick/items/qquicktextedit.cpp:1601
#4  0x00007fffc4b86b72 in QQuickTextArea::componentComplete()
(this=0x55555d5a9190) at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/quicktemplates/qquicktextarea.cpp:895
#5  0x00007fffdcd16df7 in
QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (this=0x555556535ba0,
interrupt=...) at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/qml/qml/qqmlobjectcreator.cpp:1567
#6  0x00007fffdcca2d89 in QQmlComponentPrivate::complete(QQmlEnginePrivate*,
QQmlComponentPrivate::ConstructionState*) (enginePriv=0x555556bfa3d0,
state=state at entry=0x55555814fda8) at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/qml/qml/ftw/qbipointer_p.h:133
#7  0x00007fffdcca3ccc in QQmlComponentPrivate::completeCreate()
(this=0x55555814fcf0) at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/qml/qml/qqmlcomponent.cpp:1261
#8  0x00007fffdcc9cfd5 in QQmlComponent::completeCreate() (this=0x55555d336f70)
at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/qml/qml/qqmlcomponent.cpp:1239
#9  QQmlComponentPrivate::createWithProperties(QObject*, QMap<QString,
QVariant> const&, QQmlContext*, QQmlComponentPrivate::CreateBehavior)
(this=0x55555814fcf0, parent=parent at entry=0x0, properties=...,
context=<optimized out>,
behavior=behavior at entry=QQmlComponentPrivate::CreateDefault) at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/qml/qml/qqmlcomponent.cpp:957
#10 0x00007fffdcc9d228 in QQmlComponent::create(QQmlContext*) (this=<optimized
out>, context=<optimized out>) at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/qml/qml/qqmlcomponent.cpp:908
#11 0x00007fffdbef19db in QQuickWidget::continueExecute() (this=0x55555d336050)
at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/quickwidgets/qquickwidget.cpp:1244
#12 0x00007fffdbef1dca in QQuickWidgetPrivate::execute() (this=<optimized out>)
at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/quickwidgets/qquickwidget.cpp:309
#13 0x00007fffdbef1e3a in QQuickWidget::setSource(QUrl const&) (this=<optimized
out>, url=<optimized out>) at
/usr/src/debug/qtdeclarative-everywhere-src-6.6.3/src/quickwidgets/qquickwidget.cpp:710
#14 0x00007fffdba216fe in KNSWidgets::Dialog::Dialog(QString const&, QWidget*)
(this=0x55555d2c1590, configFile=<optimized out>, parent=<optimized out>,
this=<optimized out>, configFile=<optimized out>, parent=<optimized out>) at
/usr/src/debug/knewstuff-6.0.0/src/widgets/dialog.cpp:76
#15 0x00007fffdba219e7 in operator() (__closure=0x555556989c60) at
/usr/src/debug/knewstuff-6.0.0/src/widgets/action.cpp:47
#16 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void,
KNSWidgets::Action::Action(const QString&, const QString&,
QObject*)::<lambda()> >::call (arg=<optimized out>, f=...) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#17 QtPrivate::Functor<KNSWidgets::Action::Action(const QString&, const
QString&, QObject*)::<lambda()>, 0>::call<QtPrivate::List<>, void>
(arg=<optimized out>, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:339
#18 QtPrivate::QCallableObject<KNSWidgets::Action::Action(const QString&, const
QString&, QObject*)::<lambda()>, QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized
out>, this_=0x555556989c50, r=<optimized out>, a=<optimized out>,
ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:522
#19 0x00007fffe3ddaa83 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7fffffffaf40, r=0x555556b33340, this=0x555556989c50) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qobjectdefs_impl.h:433
#20 doActivate<false>(QObject*, int, void**) (sender=0x555556b33340,
signal_index=7, argv=0x7fffffffaf40) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qobject.cpp:4039
#21 0x00007fffe492d682 in QAction::triggered(bool)
(this=this at entry=0x555556b33340, _t1=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/build/src/gui/Gui_autogen/include/moc_qaction.cpp:642
#22 0x00007fffe4930274 in QAction::activate(QAction::ActionEvent)
(this=0x555556b33340, event=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/gui/kernel/qaction.cpp:1102
#23 0x00007fffe5164cac in
QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*,
QAction::ActionEvent, bool) (this=0x555555c196b0, causedStack=...,
action=0x555556b33340, action_e=QAction::Trigger, self=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/widgets/qmenu.cpp:1420
#24 0x00007fffe5168779 in QMenuPrivate::activateAction(QAction*,
QAction::ActionEvent, bool) (this=0x555555c196b0, action=0x555556b33340,
action_e=QAction::Trigger, self=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/widgets/qmenu.cpp:1502
#25 0x00007fffe500c844 in QWidget::event(QEvent*) (this=0x555556c86d30,
event=0x7fffffffb5a0) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qwidget.cpp:8985
#26 0x00007fffe4fc1a7e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this at entry=0x55555555f2d0, receiver=receiver at entry=0x555556c86d30,
e=e at entry=0x7fffffffb5a0) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qapplication.cpp:3296
#27 0x00007fffe4fc5707 in QApplication::notify(QObject*, QEvent*)
(this=<optimized out>, receiver=0x555556c86d30, e=0x7fffffffb5a0) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qapplication.cpp:2782
#28 0x00007fffe3d87998 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x555556c86d30, event=0x7fffffffb5a0) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qcoreapplication.cpp:1121
#29 0x00007fffe3d88029 in QCoreApplication::sendSpontaneousEvent(QObject*,
QEvent*) (receiver=<optimized out>, event=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qcoreapplication.cpp:1553
#30 0x00007fffe4fbc688 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
(receiver=0x555556c86d30, event=0x7fffffffb5a0, alienWidget=0x0,
nativeWidget=0x555556c86d30, buttonDown=0x7fffe55765b0 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qapplication.cpp:2366
#31 0x00007fffe501ec19 in QWidgetWindow::handleMouseEvent(QMouseEvent*)
(this=0x555556da55f0, event=0x7fffffffb940) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qwidgetwindow.cpp:549
#32 0x00007fffe501a405 in QWidgetWindow::event(QEvent*) (this=0x555556da55f0,
event=0x7fffffffb940) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qwidgetwindow.cpp:267
#33 0x00007fffe4fc1a7e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x555556da55f0, e=0x7fffffffb940) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qapplication.cpp:3296
#34 0x00007fffe3d87998 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x555556da55f0, event=0x7fffffffb940) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qcoreapplication.cpp:1121
#35 0x00007fffe3d88029 in QCoreApplication::sendSpontaneousEvent(QObject*,
QEvent*) (receiver=<optimized out>, event=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qcoreapplication.cpp:1553
#36 0x00007fffe45e845b in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
(e=0x555556dab4e0) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/gui/kernel/qguiapplication.cpp:2325
#37 0x00007fffe46496ec in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(flags=flags at entry=...) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/gui/kernel/qwindowsysteminterface.cpp:1109
#38 0x00007fffd4f91bea in xcbSourceDispatch(GSource*, GSourceFunc, gpointer)
(source=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:57
#39 0x00007fffe0b12710 in g_main_dispatch (context=0x7fffc0000f00) at
../glib/gmain.c:3344
#40 g_main_context_dispatch_unlocked (context=context at entry=0x7fffc0000f00) at
../glib/gmain.c:4152
#41 0x00007fffe0b14358 in g_main_context_iterate_unlocked
(context=context at entry=0x7fffc0000f00, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#42 0x00007fffe0b14a0c in g_main_context_iteration (context=0x7fffc0000f00,
may_block=1) at ../glib/gmain.c:4282
#43 0x00007fffe3fa8d6c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x55555567b060, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#44 0x00007fffe3d921ab in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffffffbd80,
flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/global/qflags.h:34
#45 0x00007fffe3d8bde6 in QCoreApplication::exec() () at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/global/qflags.h:74
#46 0x00007fffe45e323c in QGuiApplication::exec() () at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/gui/kernel/qguiapplication.cpp:1925
#47 0x00007fffe4fbeeb5 in QApplication::exec() () at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qapplication.cpp:2574
#48 0x0000555555559138 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at /usr/src/debug/kmail-24.02.1/src/main.cpp:174

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list