Bug 440377

Summary: KMail crashes when trying to edit the account-receive settings
Product: [Frameworks and Libraries] Akonadi Reporter: Rahul Chowdhury <rahulc93>
Component: IMAP resourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: carl
Priority: VHI Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rahul Chowdhury 2021-07-29 06:54:07 UTC
Application: akonadi_imap_resource (5.17.80 (21.08.0))

Qt Version: 5.15.2
Frameworks Version: 5.84.0
Operating System: Linux 5.11.0-20-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: Ubuntu Impish Indri (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Go to Settings -> Configure Kontact -> Mail -> Accounts -> Receiving -> Click on Modify on the existing selected profile.

- Unusual behavior I noticed:
KMail crashed.

- Custom settings of the application:
None

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: IA (akonadi_imap_resource), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f198c5ccfcb in std::__uniq_ptr_impl<KPasswordLineEditPrivate, std::default_delete<KPasswordLineEditPrivate> >::_M_ptr() const (this=<optimized out>) at /usr/include/c++/10/bits/unique_ptr.h:173
#5  std::unique_ptr<KPasswordLineEditPrivate, std::default_delete<KPasswordLineEditPrivate> >::get() const (this=<optimized out>) at /usr/include/c++/10/bits/unique_ptr.h:422
#6  std::unique_ptr<KPasswordLineEditPrivate, std::default_delete<KPasswordLineEditPrivate> >::operator->() const (this=<optimized out>) at /usr/include/c++/10/bits/unique_ptr.h:416
#7  KPasswordLineEdit::setRevealPasswordAvailable(bool) (this=this@entry=0x30, reveal=true) at ./src/kpasswordlineedit.cpp:141
#8  0x000056409bb27c3d in SetupServer::SetupServer(ImapResourceBase*, unsigned long long) (parent=83886290, parentResource=0x7ffe8db5c660, this=0x56409d9319d0) at ./resources/imap/setupserver.cpp:123
#9  ImapResource::createConfigureDialog(unsigned long long) (this=0x7ffe8db5c660, windowId=83886290) at ./resources/imap/imapresource.cpp:62
#10 0x000056409bb461c1 in ImapResourceBase::configure(unsigned long long) (this=0x7ffe8db5c660, windowId=<optimized out>) at ./resources/imap/imapresourcebase.cpp:204
#11 0x00007f198cda8ab3 in Akonadi__ControlAdaptor::qt_metacall(QMetaObject::Call, int, void**) (this=0x7f197800d4f0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7ffe8db5bf10) at ./obj-x86_64-linux-gnu/src/agentbase/controladaptor.moc:176
#12 0x00007f198b5337ba in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>, object=<optimized out>, msg=<optimized out>, metaTypes=<optimized out>, slotIdx=<optimized out>) at qdbusintegrator.cpp:1001
#13 0x00007f198b53722c in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) (this=this@entry=0x7f197800bdc0, object=0x7f197800d4f0, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:904
#14 0x00007f198b537c2a in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) (msg=..., flags=273, object=<optimized out>, this=0x7f197800bdc0) at qdbusintegrator.cpp:853
#15 QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) (this=0x7f197800bdc0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1497
#16 0x00007f198b539fec in QDBusActivateObjectEvent::placeMetaCall(QObject*) (this=0x7f1974009ea0) at qdbusintegrator.cpp:1617
#17 0x00007f198b29617c in QObject::event(QEvent*) (this=0x7ffe8db5c660, e=0x7f1974009ea0) at kernel/qobject.cpp:1314
#18 0x00007f198be5a783 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7ffe8db5c660, e=0x7f1974009ea0) at kernel/qapplication.cpp:3632
#19 0x00007f198b26882a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7ffe8db5c660, event=0x7f1974009ea0) at kernel/qcoreapplication.cpp:1063
#20 0x00007f198b26b851 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x56409d62e290) at kernel/qcoreapplication.cpp:1817
#21 0x00007f198b2c2c17 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x56409d716e00) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00007f198a1448eb in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f198a197d28 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f198a142023 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f198b2c2274 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x56409d719280, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#26 0x00007f198b26718b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe8db5c4d0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#27 0x00007f198b26f674 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#28 0x00007f198b743520 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#29 0x00007f198be5a6f9 in QApplication::exec() () at kernel/qapplication.cpp:2824
#30 0x00007f198cd8d5e9 in Akonadi::ResourceBase::init(Akonadi::ResourceBase&) (r=...) at ./src/agentbase/resourcebase.cpp:563
#31 0x000056409bb1de5b in Akonadi::ResourceBase::init<ImapResource>(int, char**) (argv=<optimized out>, argc=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:182
#32 main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./resources/imap/main.cpp:9
[Inferior 1 (process 4665) detached]

Possible duplicates by query: bug 440343, bug 439991, bug 428358, bug 425651, bug 418844.

Reported using DrKonqi
Comment 1 Carl Schwan 2023-04-27 18:57:17 UTC

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