Bug 478072 - Crash when tring to select multiple addressants for email
Summary: Crash when tring to select multiple addressants for email
Status: REPORTED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 5.24.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-12-04 19:16 UTC by Jonathan Kolberg
Modified: 2023-12-08 04:59 UTC (History)
0 users

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 Jonathan Kolberg 2023-12-04 19:16:00 UTC
Application: kontact (5.24.3 (23.08.3))

Qt Version: 5.15.11
Frameworks Version: 5.112.0
Operating System: Linux 6.2.0-37-generic x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
I was writing an email,
and opened the dialog to select the contacts to send to, then I first tried to double click a group of contacts.
After that did not work I tried shift selecting all users (6) in that group, that's when the crash happend.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fc83de83924 in QSortFilterProxyModel::sibling (this=<optimized out>, row=1, column=0, idx=...) at itemmodels/qsortfilterproxymodel.cpp:2234
#5  0x00007fc83de6b490 in QModelIndex::sibling (acolumn=0, arow=1, this=0x7ffcc2ff29a0) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:446
#6  indexesFromRange<QList<QModelIndex> > (range=..., result=...) at itemmodels/qitemselectionmodel.cpp:349
#7  0x00007fc83de6b7ff in indexesFromRange<QList<QModelIndex> > (result=..., range=...) at itemmodels/qitemselectionmodel.h:124
#8  qSelectionIndexes<QList<QModelIndex> > (selection=...) at itemmodels/qitemselectionmodel.cpp:365
#9  QItemSelection::indexes (this=this@entry=0x7ffcc2ff2ca0) at itemmodels/qitemselectionmodel.cpp:511
#10 0x00007fc83ee67904 in QTreeView::selectionChanged (deselected=..., selected=..., this=0x55ab53cac2e0) at itemviews/qtreeview.cpp:4029
#11 QTreeView::selectionChanged (this=0x55ab53cac2e0, selected=..., deselected=...) at itemviews/qtreeview.cpp:4020
#12 0x00007fc83def43c8 in doActivate<false> (sender=0x55ab53f03170, signal_index=3, argv=0x7ffcc2ff2c40) at kernel/qobject.cpp:3937
#13 0x00007fc83deed467 in QMetaObject::activate (sender=sender@entry=0x55ab53f03170, m=m@entry=0x7fc83e15b780 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcc2ff2c40) at kernel/qobject.cpp:3985
#14 0x00007fc83de65d94 in QItemSelectionModel::selectionChanged (this=this@entry=0x55ab53f03170, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:475
#15 0x00007fc83de6cc7b in QItemSelectionModel::emitSelectionChanged (this=0x55ab53f03170, newSelection=..., oldSelection=...) at itemmodels/qitemselectionmodel.cpp:1942
#16 0x00007fc83de6ed26 in QItemSelectionModel::select (this=0x55ab53f03170, selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1340
#17 0x00007fc83ee615c8 in QTreeViewPrivate::select (this=this@entry=0x55ab56cc9480, topIndex=..., bottomIndex=..., command=..., command@entry=...) at itemviews/qtreeview.cpp:3927
#18 0x00007fc83ee61d8b in QTreeView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qtreeview.cpp:2325
#19 0x00007fc83edec37b in QAbstractItemView::mousePressEvent (this=0x55ab53cac2e0, event=<optimized out>) at itemviews/qabstractitemview.cpp:1809
#20 0x00007fc83ebaf95e in QWidget::event (this=this@entry=0x55ab53cac2e0, event=event@entry=0x7ffcc2ff3630) at kernel/qwidget.cpp:9045
#21 0x00007fc83ec5dcf2 in QFrame::event (this=0x55ab53cac2e0, e=0x7ffcc2ff3630) at widgets/qframe.cpp:550
#22 0x00007fc83debc64a in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1190
#23 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55ab5411d350, event=event@entry=0x7ffcc2ff3630) at kernel/qcoreapplication.cpp:1179
#24 0x00007fc83eb6c752 in QApplicationPrivate::notify_helper (this=this@entry=0x55ab50b3a0f0, receiver=receiver@entry=0x55ab5411d350, e=e@entry=0x7ffcc2ff3630) at kernel/qapplication.cpp:3634
#25 0x00007fc83eb743a4 in QApplication::notify (this=<optimized out>, receiver=0x55ab5411d350, e=0x7ffcc2ff3630) at kernel/qapplication.cpp:3084
#26 0x00007fc83debc8ea in QCoreApplication::notifyInternal2 (receiver=0x55ab5411d350, event=0x7ffcc2ff3630) at kernel/qcoreapplication.cpp:1064
#27 0x00007fc83eb72e87 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55ab5411d350, event=event@entry=0x7ffcc2ff3630, alienWidget=alienWidget@entry=0x55ab5411d350, nativeWidget=0x55ab58887300, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#28 0x00007fc83ebc91db in QWidgetWindow::handleMouseEvent (this=0x55ab5ba56050, event=0x7ffcc2ff3900) at kernel/qwidgetwindow.cpp:684
#29 0x00007fc83ebcc535 in QWidgetWindow::event (this=0x55ab5ba56050, event=0x7ffcc2ff3900) at kernel/qwidgetwindow.cpp:300
#30 0x00007fc83eb6c763 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55ab5ba56050, e=0x7ffcc2ff3900) at kernel/qapplication.cpp:3640
#31 0x00007fc83debc8ea in QCoreApplication::notifyInternal2 (receiver=0x55ab5ba56050, event=0x7ffcc2ff3900) at kernel/qcoreapplication.cpp:1064
#32 0x00007fc83e343197 in QGuiApplicationPrivate::processMouseEvent (e=0x55ab56c7bc40) at kernel/qguiapplication.cpp:2278
#33 0x00007fc83e316dbc in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#34 0x00007fc82eaf4fae in xcbSourceDispatch (source=<optimized out>) at ./src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#35 0x00007fc834120d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fc834176258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fc83411e3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fc83df15dd8 in QEventDispatcherGlib::processEvents (this=0x55ab50c0f8c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#39 0x00007fc83debb20b in QEventLoop::exec (this=this@entry=0x7ffcc2ff3c30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#40 0x00007fc83dec37b4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#41 0x00007fc83e336d50 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1863
#42 0x00007fc83eb6c6d9 in QApplication::exec () at kernel/qapplication.cpp:2832
#43 0x000055ab5054d612 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:216
[Inferior 1 (process 2810) detached]

Reported using DrKonqi
Comment 1 Jonathan Kolberg 2023-12-04 19:17:25 UTC
I tried reproducing it 2 times, and it crashed every time.