Bug 499427 - crash while adding emails from address book
Summary: crash while adding emails from address book
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-02-02 21:23 UTC by Paweł Susicki
Modified: 2025-02-02 21:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Susicki 2025-02-02 21:23:41 UTC
Application: kmail (5.23.3 (23.04.3))

Qt Version: 5.15.7
Frameworks Version: 5.114.0
Operating System: Linux 6.6.65-desktop-2.mga9 x86_64
Windowing System: X11
Distribution: "Mageia 9"
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
kmail crashes after selecting several addresses from address book to be added to recipient list

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  0x00007f3bd3c67ef4 in QSortFilterProxyModel::sibling(int, int, QModelIndex const&) const (this=<optimized out>, row=2, column=0, idx=...) at itemmodels/qsortfilterproxymodel.cpp:2234
#7  0x00007f3bd2566ce0 in Akonadi::EntityTreeViewPrivate::slotSelectionChanged(QItemSelection const&, QItemSelection const&) const () at /usr/lib64/libKPim5AkonadiWidgets.so.5
#8  0x00007f3bd3cd3d12 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd520e75b0, r=0x14bd30a0, this=0x11e7dfa0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false>(QObject*, int, void**) (sender=0x155d6250, signal_index=3, argv=0x7ffd520e75b0) at kernel/qobject.cpp:3919
#10 0x00007f3bd3ccd55f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x155d6250, m=m@entry=0x7f3bd3f70780 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd520e75b0) at kernel/qobject.cpp:3979
#11 0x00007f3bd3c4c9e7 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) (this=this@entry=0x155d6250, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:475
#12 0x00007f3bd3c52f93 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) (this=0x155d6250, newSelection=<optimized out>, oldSelection=<optimized out>) at itemmodels/qitemselectionmodel.cpp:1942
#13 0x00007f3bd3c54d92 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) (this=0x155d6250, selection=<optimized out>, command=...) at itemmodels/qitemselectionmodel.cpp:1340
#14 0x00007f3bd4c24628 in QTreeViewPrivate::select(QModelIndex const&, QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) (this=this@entry=0x14b80d70, topIndex=..., bottomIndex=..., command=command@entry=...) at itemviews/qtreeview.cpp:3927
#15 0x00007f3bd4c24ef7 in QTreeView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) (this=<optimized out>, rect=<optimized out>, command=...) at itemviews/qtreeview.cpp:2325
#16 0x00007f3bd4bb6277 in QAbstractItemView::mousePressEvent(QMouseEvent*) (this=0x14bd30a0, event=<optimized out>) at itemviews/qabstractitemview.cpp:1800
#17 0x00007f3bd49a0d28 in QWidget::event(QEvent*) (this=this@entry=0x14bd30a0, event=event@entry=0x7ffd520e7e40) at kernel/qwidget.cpp:9043
#18 0x00007f3bd4a48dfe in QFrame::event(QEvent*) (this=0x14bd30a0, e=0x7ffd520e7e40) at widgets/qframe.cpp:550
#19 0x00007f3bd3c9e61b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x1493a520, event=event@entry=0x7ffd520e7e40) at kernel/qcoreapplication.cpp:1190
#20 0x00007f3bd49623fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x11ce9680, receiver=receiver@entry=0x1493a520, e=e@entry=0x7ffd520e7e40) at kernel/qapplication.cpp:3631
#21 0x00007f3bd496a2c2 in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x1493a520, e=<optimized out>) at kernel/qapplication.cpp:3081
#22 0x00007f3bd3c9e888 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x1493a520, event=0x7ffd520e7e40) at kernel/qcoreapplication.cpp:1064
#23 0x00007f3bd496844b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=receiver@entry=0x1493a520, event=event@entry=0x7ffd520e7e40, alienWidget=<optimized out>, alienWidget@entry=0x1493a520, nativeWidget=0x16339bd0, buttonDown=buttonDown@entry=0x7f3bd4e7a9f0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2619
#24 0x00007f3bd49b9059 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=0x14893820, event=0x7ffd520e80d0) at kernel/qwidgetwindow.cpp:683
#25 0x00007f3bd49bc1b9 in QWidgetWindow::event(QEvent*) (this=0x14893820, event=0x7ffd520e80d0) at kernel/qwidgetwindow.cpp:300
#26 0x00007f3bd496240e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x14893820, e=0x7ffd520e80d0) at kernel/qapplication.cpp:3637
#27 0x00007f3bd3c9e888 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x14893820, event=0x7ffd520e80d0) at kernel/qcoreapplication.cpp:1064
#28 0x00007f3bd413c13c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x1a6783d0) at kernel/qguiapplication.cpp:2285
#29 0x00007f3bd4110f2c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#30 0x00007f3bc551cb8a in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#31 0x00007f3bcfd38689 in g_main_dispatch (context=0x7f3bc0000ee0) at ../glib/gmain.c:3460
#32 g_main_context_dispatch (context=context@entry=0x7f3bc0000ee0) at ../glib/gmain.c:4200
#33 0x00007f3bcfd38a18 in g_main_context_iterate (context=context@entry=0x7f3bc0000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276
#34 0x00007f3bcfd38a9c in g_main_context_iteration (context=0x7f3bc0000ee0, may_block=1) at ../glib/gmain.c:4343
#35 0x00007f3bd3cf31f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x11e98b30, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007f3bd3c9d46b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd520e83e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#37 0x00007f3bd3ca4fe6 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#38 0x0000000000404be9 in main ()
[Inferior 1 (process 4877) detached]

Reported using DrKonqi
Comment 1 Laurent Montel 2025-02-02 21:49:06 UTC
kmail 5.23 is too old.
Please test and reopen if you can reproduce it with last 6.x version.
Regards