Bug 485190 - Crash when clossing settings after editing identity configuration
Summary: Crash when clossing settings after editing identity configuration
Status: RESOLVED DUPLICATE of bug 484869
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 6.0.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-07 17:15 UTC by Antonio Rojas
Modified: 2024-04-11 01:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2024-04-07 17:15:01 UTC
After editing the configuration of an identity and then clicking OK on the settings dialog, kmail crashes

Kmail 6.0.1, Qt 6.7.0, Plasma 6.0.3

(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fffebcab393 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007fffebc5a6c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007fffebc424b8 in __GI_abort () at abort.c:79
#4  0x00007fffebc43395 in __libc_message_impl (fmt=fmt@entry=0x7fffebdbb2ea "%s\n") at ../sysdeps/posix/libc_fatal.c:132
#5  0x00007fffebcb52a7 in malloc_printerr (str=str@entry=0x7fffebdbe468 "double free or corruption (out)") at malloc.c:5772
#6  0x00007fffebcb7370 in _int_free_merge_chunk (av=av@entry=0x7fffebdf6ac0 <main_arena>, p=0x555558dbd2a0, size=93825051386800) at malloc.c:4676
#7  0x00007fffebcb7669 in _int_free (av=0x7fffebdf6ac0 <main_arena>, p=<optimized out>, have_lock=<optimized out>, have_lock@entry=0) at malloc.c:4646
#8  0x00007fffebcb9e93 in __GI___libc_free (mem=<optimized out>) at malloc.c:3398
#9  0x00007fffeaa1a6de in TextAutoCorrectionWidgets::AutoCorrectionLanguage::~AutoCorrectionLanguage (this=0x555558dbd280, this=<optimized out>)
    at /usr/src/debug/ktextaddons/ktextaddons-1.5.4/textautocorrection/widgets/autocorrectionlanguage.cpp:31
#10 0x00007fffec3866cb in QObjectPrivate::deleteChildren (this=this@entry=0x555558d3af20)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp:2216
#11 0x00007fffed32fb61 in QWidget::~QWidget (this=0x555558d3ac70, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidget.cpp:1559
#12 0x00007fffed32fc1d in QWidget::~QWidget (this=0x555558d3ac70, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidget.cpp:1585
#13 0x00007fffec3866cb in QObjectPrivate::deleteChildren (this=this@entry=0x555558d18640)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp:2216
#14 0x00007fffed32fb61 in QWidget::~QWidget (this=0x5555583228e0, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidget.cpp:1559
#15 0x00007fffed4e8781 in QFrame::~QFrame (this=0x5555583228e0, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/widgets/qframe.cpp:229
#16 QStackedWidget::~QStackedWidget (this=0x5555583228e0, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/widgets/qstackedwidget.cpp:112
--Type <RET> for more, q to quit, c to continue without paging--
#17 QStackedWidget::~QStackedWidget (this=0x5555583228e0, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/widgets/qstackedwidget.cpp:112
#18 0x00007fffec3866cb in QObjectPrivate::deleteChildren (this=this@entry=0x555556aa4660)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp:2216
#19 0x00007fffed32fb61 in QWidget::~QWidget (this=0x555555a5f290, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidget.cpp:1559
#20 0x00007fffed512171 in QTabWidget::~QTabWidget (this=0x555555a5f290, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/widgets/qtabwidget.cpp:338
#21 QTabWidget::~QTabWidget (this=0x555555a5f290, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/widgets/qtabwidget.cpp:338
#22 0x00007fffec3866cb in QObjectPrivate::deleteChildren (this=this@entry=0x555555a4fdd0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp:2216
#23 0x00007fffed32fb61 in QWidget::~QWidget (this=0x5555570fe630, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidget.cpp:1559
#24 0x00007fffed32fc1d in QWidget::~QWidget (this=0x5555570fe630, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidget.cpp:1585
#25 0x00007fffec3866cb in QObjectPrivate::deleteChildren (this=this@entry=0x5555584cf7e0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp:2216
#26 0x00007fffed32fb61 in QWidget::~QWidget (this=0x7fff38030c70, this=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidget.cpp:1559
#27 0x00007ffff7d31fb2 in KMail::IdentityDialog::~IdentityDialog (this=0x7fff38030c70, this=<optimized out>)
    at /usr/src/debug/kmail/kmail-24.02.1/src/identity/identitydialog.cpp:697
#28 KMail::IdentityPage::slotModifyIdentity (this=0x555556a99440) at /usr/src/debug/kmail/kmail-24.02.1/src/identity/identitypage.cpp:186
#29 0x00007fffec397609 in QtPrivate::QSlotObjectBase::call
    (a=0x7fffffffc250, r=0x555556a99440, this=0x555556b39880, this=<optimized out>, r=<optimized out>, a=<optimized out>)
--Type <RET> for more, q to quit, c to continue without paging--c
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobjectdefs_impl.h:469
#30 doActivate<false> (sender=0x555556b202e0, signal_index=18, argv=0x7fffffffc250)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp:4078
#31 0x00007fffed64a36a in QTreeWidget::itemDoubleClicked (_t2=<optimized out>, _t1=<optimized out>, this=0x555556b202e0)
    at /usr/src/debug/qt6-base/build/src/widgets/Widgets_autogen/include/moc_qtreewidget.cpp:366
#32 QTreeWidgetPrivate::emitItemDoubleClicked (this=<optimized out>, index=...)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/itemviews/qtreewidget.cpp:2324
#33 0x00007fffec397609 in QtPrivate::QSlotObjectBase::call
    (a=0x7fffffffc3f0, r=0x555556b202e0, this=0x555556b32030, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobjectdefs_impl.h:469
#34 doActivate<false> (sender=0x555556b202e0, signal_index=9, argv=0x7fffffffc3f0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp:4078
#35 0x00007fffed633a7d in QAbstractItemView::doubleClicked (_t1=..., this=0x555556b202e0)
    at /usr/src/debug/qt6-base/build/src/widgets/Widgets_autogen/include/moc_qabstractitemview.cpp:687
#36 QTreeView::mouseDoubleClickEvent (this=0x555556b202e0, event=0x7fffffffc9e0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/itemviews/qtreeview.cpp:1989
#37 0x00007fffed3470bf in QWidget::event (this=0x555556b202e0, event=0x7fffffffc9e0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidget.cpp:9026
#38 0x00007fffed3d45b6 in QFrame::event (this=0x555556b202e0, e=0x7fffffffc9e0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/widgets/qframe.cpp:515
#39 0x00007fffec33cab0 in QCoreApplicationPrivate::sendThroughObjectEventFilters
    (receiver=receiver@entry=0x555556b20a60, event=event@entry=0x7fffffffc9e0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1273
#40 0x00007fffed2fbfbb in QApplicationPrivate::notify_helper
    (this=this@entry=0x5555555af410, receiver=receiver@entry=0x555556b20a60, e=e@entry=0x7fffffffc9e0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp:3281
#41 0x00007fffed300ac5 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fffffffc9e0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp:2765
#42 0x00007fffec33dae8 in QCoreApplication::notifyInternal2 (receiver=0x555556b20a60, event=0x7fffffffc9e0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1134
#43 0x00007fffec33db3d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1589
#44 0x00007fffed2f4597 in QApplicationPrivate::sendMouseEvent
    (receiver=0x555556b20a60, event=0x7fffffffc9e0, alienWidget=0x555556b20a60, nativeWidget=0x5555566ad250, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp:2347
#45 0x00007fffed35be37 in QWidgetWindow::handleMouseEvent (this=0x555558cd5770, event=event@entry=0x7fffffffcda0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidgetwindow.cpp:649
#46 0x00007fffed35d1c0 in QWidgetWindow::event (this=0x555558cd5770, event=0x7fffffffcda0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidgetwindow.cpp:263
#47 0x00007fffed2fbfcb in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555558cd5770, e=0x7fffffffcda0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp:3287
#48 0x00007fffec33dae8 in QCoreApplication::notifyInternal2 (receiver=0x555558cd5770, event=0x7fffffffcda0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1134
#49 0x00007fffec33db3d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1589
#50 0x00007fffec971fbd in QGuiApplicationPrivate::processMouseEvent (e=0x7fffc40024a0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/gui/kernel/qguiapplication.cpp:2367
#51 0x00007fffec9dcfdc in QWindowSystemInterface::sendWindowSystemEvents (flags=...)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/gui/kernel/qwindowsysteminterface.cpp:1114
#52 0x00007fffecdc1244 in userEventSourceDispatch (source=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#53 0x00007fffe93ea199 in g_main_dispatch (context=0x7fffcc000f00) at ../glib/glib/gmain.c:3344
#54 0x00007fffe94493bf in g_main_context_dispatch_unlocked (context=0x7fffcc000f00) at ../glib/glib/gmain.c:4152
#55 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fffcc000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/glib/gmain.c:4217
#56 0x00007fffe93e9712 in g_main_context_iteration (context=0x7fffcc000f00, may_block=1) at ../glib/glib/gmain.c:4282
#57 0x00007fffec583df4 in QEventDispatcherGlib::processEvents (this=0x5555555d82b0, flags=...)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#58 0x00007fffec345c7e in QEventLoop::processEvents (flags=..., this=0x7fffffffd210)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventloop.cpp:100
#59 QEventLoop::exec (this=0x7fffffffd210, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventloop.cpp:182
#60 0x00007fffec3416e8 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/global/qflags.h:74
#61 0x00007fffed2f851a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp:2555
#62 0x0000555555558c78 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmail/kmail-24.02.1/src/main.cpp:174
Comment 1 shivarryn 2024-04-08 10:35:03 UTC
It seems a packaging issue. See bug 484869
You're on Qt6.7 (are you using testing?), so it's not a Qt version mismatch as I suspected initially.
Anyway, recompiling kmail package manually should fix your issue as well. If so, it will probably resolve after the next kmail arch upgrade.
Comment 2 Antonio Rojas 2024-04-08 11:38:00 UTC

*** This bug has been marked as a duplicate of bug 484869 ***