Bug 443935

Summary: kmail crashed while adding my email accounts
Product: [Frameworks and Libraries] Akonadi Reporter: Kalzi <kalzwayed>
Component: Account WizardAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash CC: eraygezer.94, tilman, viniciusdaros2004
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Kalzi 2021-10-18 02:47:46 UTC
Application: accountwizard (0.2)

Qt Version: 5.15.3
Frameworks Version: 5.87.0
Operating System: Linux 5.11.0-37-generic x86_64
Windowing System: X11
Distribution: KDE neon User - Plasma 25th Anniversary Edition
DrKonqi: 5.23.0 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Just adding my email accounts and it just crashed for no reason.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Account Assistant (accountwizard), signal: Segmentation fault

[New LWP 42834]
[New LWP 42835]
[New LWP 42836]
[New LWP 42837]
[New LWP 42838]
[New LWP 42863]
[New LWP 42868]
[New LWP 42869]
[New LWP 42870]
[New LWP 42871]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007febb70d6aff in __GI___poll (fds=0x7ffdad73be38, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7febb15debc0 (LWP 42832))]

Thread 11 (Thread 0x7feb7145f700 (LWP 42871)):
#0  0x00007febb70d6aff in __GI___poll (fds=0x7feb54003a20, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007febb4bf236e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007febb4bf24a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007febb804e5eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7feb54000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007febb7ff287b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7feb7145e9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007febb7e0c292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007febb7e0d42c in QThreadPrivate::start(void*) (arg=0x559da22ec2f0) at thread/qthread_unix.cpp:329
#7  0x00007febb55a7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007febb70e3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7feb71c60700 (LWP 42870)):
#0  0x00007febb4c3f508 in g_mutex_unlock () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007febb4bf1d30 in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007febb4bf2312 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007febb4bf26f3 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007feb71f39f8a in  () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007febb4c1bad1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007febb55a7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007febb70e3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7feb72ffd700 (LWP 42869)):
#0  0x00007febb70d6aff in __GI___poll (fds=0x559da22d8ae0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007febb4bf236e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007febb4bf24a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007febb4bf24f1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007febb4c1bad1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007febb55a7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007febb70e3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7feb737fe700 (LWP 42868)):
#0  0x00007febb70d6aff in __GI___poll (fds=0x7feb64000b60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007febb4bf236e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007febb4bf24a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007febb804e5eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7feb64005f60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007febb7ff287b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7feb737fd9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007febb7e0c292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007febb7e0d42c in QThreadPrivate::start(void*) (arg=0x559da2227ad0) at thread/qthread_unix.cpp:329
#7  0x00007febb55a7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007febb70e3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7feb727fc700 (LWP 42863)):
#0  0x00007febb70d6aff in __GI___poll (fds=0x7feb5c004200, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007febb4bf236e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007febb4bf24a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007febb804e5eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7feb5c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007febb7ff287b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7feb727fb9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007febb7e0c292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007febb7e0d42c in QThreadPrivate::start(void*) (arg=0x559da1fed3a0) at thread/qthread_unix.cpp:329
#7  0x00007febb55a7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007febb70e3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7feba25e9700 (LWP 42838)):
#0  0x00007febb70d6aff in __GI___poll (fds=0x7feb9001a0b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007febb4bf236e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007febb4bf24a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007febb804e5eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7feb90000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007febb7ff287b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7feba25e89b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007febb7e0c292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007febb73c8f4b in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007febb7e0d42c in QThreadPrivate::start(void*) (arg=0x7febb744cd80) at thread/qthread_unix.cpp:329
#8  0x00007febb55a7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007febb70e3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7feba2f65700 (LWP 42837)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7febac005728) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7febac0056d8, cond=0x7febac005700) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7febac005700, mutex=0x7febac0056d8) at pthread_cond_wait.c:638
#3  0x00007febaa2d6e7b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007febaa2d6a7b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007febb55a7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007febb70e3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7feba3766700 (LWP 42836)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7febac005728) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7febac0056d8, cond=0x7febac005700) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7febac005700, mutex=0x7febac0056d8) at pthread_cond_wait.c:638
#3  0x00007febaa2d6e7b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007febaa2d6a7b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007febb55a7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007febb70e3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7feba3f67700 (LWP 42835)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7febac005728) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7febac0056d8, cond=0x7febac005700) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7febac005700, mutex=0x7febac0056d8) at pthread_cond_wait.c:638
#3  0x00007febaa2d6e7b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007febaa2d6a7b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007febb55a7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007febb70e3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7feba4768700 (LWP 42834)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7febac005728) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7febac0056d8, cond=0x7febac005700) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7febac005700, mutex=0x7febac0056d8) at pthread_cond_wait.c:638
#3  0x00007febaa2d6e7b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007febaa2d6a7b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007febb55a7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007febb70e3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7febb15debc0 (LWP 42832)):
[KCrash Handler]
#4  0x00007febb7f9a8f3 in QVector<QPersistentModelIndexData*>::indexOf(QPersistentModelIndexData* const&, int) const (from=0, t=<synthetic pointer>: <optimized out>, this=0x559da20e8128) at ../../include/QtCore/../../src/corelib/tools/qvector.h:998
#5  QAbstractItemModelPrivate::removePersistentIndexData(QPersistentModelIndexData*) (this=0x559da20e1f90, data=data@entry=0x559da21056f0) at itemmodels/qabstractitemmodel.cpp:648
#6  0x00007febb7f9ac01 in QPersistentModelIndexData::destroy(QPersistentModelIndexData*) (data=0x559da21056f0) at itemmodels/qabstractitemmodel.cpp:87
#7  QPersistentModelIndex::~QPersistentModelIndex() (this=<optimized out>, __in_chrg=<optimized out>) at itemmodels/qabstractitemmodel.cpp:181
#8  0x00007febb8d47f90 in QAbstractItemViewPrivate::~QAbstractItemViewPrivate() (this=0x559da20fc960, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:326
#9  0x00007febb8d7a8ed in QListViewPrivate::~QListViewPrivate() (this=0x559da20fc960, __in_chrg=<optimized out>) at itemviews/qlistview.cpp:1760
#10 0x00007febb8028e0e in QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:52
#11 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (this=0x559da20c0178, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#12 QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:972
#13 0x00007febb8b0c72b in QWidget::~QWidget() (this=0x559da20c0170, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1544
#14 0x00007febb8be3cd1 in QComboBoxListView::~QComboBoxListView() (this=0x559da20c0170, __in_chrg=<optimized out>) at ../../include/QtWidgets/5.15.3/QtWidgets/private/../../../../../src/widgets/widgets/qcombobox_p.h:84
#15 QComboBoxListView::~QComboBoxListView() (this=0x559da20c0170, __in_chrg=<optimized out>) at ../../include/QtWidgets/5.15.3/QtWidgets/private/../../../../../src/widgets/widgets/qcombobox_p.h:84
#16 0x00007febb801e39e in QObjectPrivate::deleteChildren() (this=this@entry=0x559da209f360) at kernel/qobject.cpp:2104
#17 0x00007febb8b0c6a6 in QWidget::~QWidget() (this=0x559da20c5bd0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#18 0x00007febb8be62e8 in QComboBoxPrivateContainer::~QComboBoxPrivateContainer() (this=0x559da20c5bd0, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qbasictimer.h:67
#19 QComboBoxPrivateContainer::~QComboBoxPrivateContainer() (this=0x559da20c5bd0, __in_chrg=<optimized out>) at ../../include/QtWidgets/5.15.3/QtWidgets/private/../../../../../src/widgets/widgets/qcombobox_p.h:214
#20 0x00007febb801e39e in QObjectPrivate::deleteChildren() (this=this@entry=0x559da20fe250) at kernel/qobject.cpp:2104
#21 0x00007febb8b0c6a6 in QWidget::~QWidget() (this=0x559da210f2d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#22 0x00007febb96b8bfd in Kleo::KeySelectionCombo::~KeySelectionCombo() (this=0x559da210f2d0, __in_chrg=<optimized out>) at ./src/ui/keyselectioncombo.cpp:467
#23 0x00007febb801e39e in QObjectPrivate::deleteChildren() (this=this@entry=0x559da20dc130) at kernel/qobject.cpp:2104
#24 0x00007febb8b0c6a6 in QWidget::~QWidget() (this=0x559da20dc010, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#25 0x0000559da1a52cac in Page::~Page() (this=0x559da20dc010, __in_chrg=<optimized out>) at ./src/page.h:14
#26 CryptoPage::~CryptoPage() (this=0x559da20dc010, __in_chrg=<optimized out>) at ./src/cryptopage.h:24
#27 CryptoPage::~CryptoPage() (this=0x559da20dc010, __in_chrg=<optimized out>) at ./src/cryptopage.h:24
#28 0x00007febb801e39e in QObjectPrivate::deleteChildren() (this=this@entry=0x559da1ff5e50) at kernel/qobject.cpp:2104
#29 0x00007febb8b0c6a6 in QWidget::~QWidget() (this=0x559da1d04010, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#30 0x00007febb75da9b1 in KPageStackedWidget::~KPageStackedWidget() (this=0x559da1d04010, __in_chrg=<optimized out>) at ./src/kpageview_p.h:23
#31 KPageStackedWidget::~KPageStackedWidget() (this=0x559da1d04010, __in_chrg=<optimized out>) at ./src/kpageview_p.h:23
#32 0x00007febb801e39e in QObjectPrivate::deleteChildren() (this=this@entry=0x559da1fbd790) at kernel/qobject.cpp:2104
#33 0x00007febb8b0c6a6 in QWidget::~QWidget() (this=0x559da2019440, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#34 0x00007febb766c59d in KPageWidget::~KPageWidget() (this=0x559da2019440, __in_chrg=<optimized out>) at ./src/kpagewidget.cpp:56
#35 0x00007febb801e39e in QObjectPrivate::deleteChildren() (this=this@entry=0x559da2018030) at kernel/qobject.cpp:2104
#36 0x00007febb8b0c6a6 in QWidget::~QWidget() (this=0x7ffdad73d1e0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#37 0x0000559da1a4e9df in Dialog::~Dialog() (this=0x7ffdad73d1e0, __in_chrg=<optimized out>) at ./src/dialog.h:15
#38 main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:87
[Inferior 1 (process 42832) detached]

Possible duplicates by query: bug 434873, bug 434294, bug 390544, bug 367808, bug 358928.

Reported using DrKonqi
Comment 1 Eray Erdin 2022-02-07 23:17:25 UTC
Created attachment 146413 [details]
New crash information added by DrKonqi

accountwizard (0.2) using Qt 5.15.3

- What I was doing when the application crashed:
I opened the KMail.
I added my GMail account.
It crashed, however my GMail account was able to sync.

-- Backtrace (Reduced):
#4  0x00007faa3fedfd13 in QVector<QPersistentModelIndexData*>::indexOf (from=0, t=<synthetic pointer>: <optimized out>, this=0x55d73ac60db0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:998
#5  QAbstractItemModelPrivate::removePersistentIndexData (this=0x55d73ac45470, data=data@entry=0x55d73ac405e0) at itemmodels/qabstractitemmodel.cpp:648
#6  0x00007faa3fee0021 in QPersistentModelIndexData::destroy (data=0x55d73ac405e0) at itemmodels/qabstractitemmodel.cpp:87
#7  QPersistentModelIndex::~QPersistentModelIndex (this=<optimized out>, __in_chrg=<optimized out>) at itemmodels/qabstractitemmodel.cpp:181
#8  0x00007faa3fef58a4 in QItemSelectionModelPrivate::~QItemSelectionModelPrivate (this=0x55d73ac1dd10, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:326
Comment 2 Vinícius 2023-03-25 20:55:46 UTC
Created attachment 157578 [details]
New crash information added by DrKonqi

accountwizard (0.2) using Qt 5.15.8

Crash when trying to add my outlook account(my outlook account has 2 factor authentication and the kmail gave me the error of NO LOGIN)

-- Backtrace (Reduced):
#4  0x00007fde7b666bab in QAbstractItemModelPrivate::removePersistentIndexData(QPersistentModelIndexData*) () from /lib64/libQt5Core.so.5
#5  0x00007fde7b667029 in QPersistentModelIndex::~QPersistentModelIndex() () from /lib64/libQt5Core.so.5
#6  0x00007fde7c63c6e8 in QAbstractItemViewPrivate::~QAbstractItemViewPrivate() () from /lib64/libQt5Widgets.so.5
#7  0x00007fde7c673f15 in QListViewPrivate::~QListViewPrivate() () from /lib64/libQt5Widgets.so.5
#8  0x00007fde7c4c9d79 in QComboBoxListView::~QComboBoxListView() () from /lib64/libQt5Widgets.so.5