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

Jan Kundrát <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #1 from Jan Kundrát <[email protected]> ---
Indeed, I can reproduce it here:

Thread 1 "trojita" received signal SIGSEGV, Segmentation fault.
0x000055555568aec7 in AbookAddressbook::saveContacts() () at
/home/jkt/work/prog/trojita/src/Plugins/AbookAddressbook/AbookAddressbook.cpp:312
312                 if (it->first == Mail)
(gdb) bt
#0  0x000055555568aec7 in AbookAddressbook::saveContacts() () at
/home/jkt/work/prog/trojita/src/Plugins/AbookAddressbook/AbookAddressbook.cpp:312
#1  0x00005555556933bb in BE::Contacts::saveContacts (this=0x555555fca580) at
/home/jkt/work/prog/trojita/src/Plugins/AbookAddressbook/be-contacts.cpp:173
#2  BE::Contacts::closeEvent(QCloseEvent*) () at
/home/jkt/work/prog/trojita/src/Plugins/AbookAddressbook/be-contacts.cpp:163
#3  0x00007ffff3334c48 in QWidget::event (this=0x555555fca580,
event=0x7fffffffcd50) at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/kernel/qwidget.cpp:8916

Also, the list of matching items gets empty right after that deletion attempt
even though there are some more matching items. That appears quite relevant. A
first thing to be checked is proper QModelIndex invalidation, but I haven't
checked the code. Patches welcome, of course.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to