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

            Bug ID: 439991
           Summary: akonadi_imap_resource crashes when I open the account
                    settings
           Product: Akonadi
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: IMAP resource
          Assignee: kdepim-bugs@kde.org
          Reporter: kishor...@gmail.com
  Target Milestone: ---

Application: akonadi_imap_resource (5.17.80 (21.08.0))

Qt Version: 5.15.2
Frameworks Version: 5.84.0
Operating System: Linux 5.10.50-1-lts x86_64
Windowing System: X11
Drkonqi Version: 5.22.3
Distribution: Arch Linux

-- Information about the crash:
- What I was doing when the application crashed:
1. Open Kmail
2. Go to the top-level item in the sidebar corresponding to your email account,
and right-click on it
3. Click 'Account Settings'

Every time I do this, I get a notification saying '$name_of_email_account has
closed unexpectedly'. 

- Other information:
1. The crash is reproducible with both Gmail and non-Gmail IMAP accounts.
2. The 'Account Settings' option works correctly on the 'Local folders' item.
3. The crash does not happen if I downgrade all 'KDE Applications' to 21.04.3.

The crash can be reproduced every time.

-- Backtrace:
Application: Google Mail (kishore96) (akonadi_imap_resource), signal:
Segmentation fault

[KCrash Handler]
#4  0x00007f89bd940e3b in std::__uniq_ptr_impl<KPasswordLineEditPrivate,
std::default_delete<KPasswordLineEditPrivate> >::_M_ptr() const
(this=<optimized out>) at /usr/include/c++/11.1.0/bits/unique_ptr.h:173
#5  std::unique_ptr<KPasswordLineEditPrivate,
std::default_delete<KPasswordLineEditPrivate> >::get() const (this=<optimized
out>) at /usr/include/c++/11.1.0/bits/unique_ptr.h:422
#6  std::unique_ptr<KPasswordLineEditPrivate,
std::default_delete<KPasswordLineEditPrivate> >::operator->() const
(this=<optimized out>) at /usr/include/c++/11.1.0/bits/unique_ptr.h:416
#7  KPasswordLineEdit::setRevealPasswordAvailable(bool) (this=this@entry=0x0,
reveal=true) at
/usr/src/debug/kwidgetsaddons-5.84.0/src/kpasswordlineedit.cpp:141
#8  0x000055a183708f23 in SetupServer::SetupServer(ImapResourceBase*, unsigned
long long) (this=this@entry=0x55a183e7ef70,
parentResource=parentResource@entry=0x7ffdbd7b6860,
parent=parent@entry=218103854) at
/home/kishore/build/build/kdepim-runtime/src/kdepim-runtime-21.07.80/resources/imap/setupserver.cpp:123
#9  0x000055a183700b54 in ImapResource::createConfigureDialog(unsigned long
long) (this=0x7ffdbd7b6860, windowId=218103854) at
/home/kishore/build/build/kdepim-runtime/src/kdepim-runtime-21.07.80/resources/imap/imapresource.cpp:62
#10 0x000055a183732ef1 in ImapResourceBase::configure(unsigned long long)
(this=0x7ffdbd7b6860, windowId=<optimized out>) at
/home/kishore/build/build/kdepim-runtime/src/kdepim-runtime-21.07.80/resources/imap/imapresourcebase.cpp:204
#11 0x00007f89be143243 in
Akonadi__ControlAdaptor::qt_metacall(QMetaObject::Call, int, void**)
(this=0x7f89ac005060, _c=QMetaObject::InvokeMetaMethod, _id=4,
_a=0x7ffdbd7b61f0) at /usr/src/debug/build/src/agentbase/controladaptor.moc:176
#12 0x00007f89bc87d590 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
../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:190
#13 0x00007f89bc8810b3 in QDBusConnectionPrivate::activateCall(QObject*, int,
QDBusMessage const&) (this=this@entry=0x7f89a800bf70, object=0x7f89ac005060,
flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:904
#14 0x00007f89bc881ae1 in QDBusConnectionPrivate::activateCall(QObject*, int,
QDBusMessage const&) (msg=..., flags=273, object=<optimized out>,
this=0x7f89a800bf70) at qdbusintegrator.cpp:853
#15
QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&,
QDBusMessage const&, int) (this=0x7f89a800bf70, node=..., msg=...,
pathStartPos=<optimized out>) at qdbusintegrator.cpp:1497
#16 0x00007f89bc883f8c in QDBusActivateObjectEvent::placeMetaCall(QObject*)
(this=0x7f899803b240) at qdbusintegrator.cpp:1617
#17 0x00007f89bc5e5047 in QObject::event(QEvent*) (this=0x7ffdbd7b6860,
e=0x7f899803b240) at kernel/qobject.cpp:1314
#18 0x00007f89bd19eff6 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x7ffdbd7b6860, e=0x7f899803b240) at
kernel/qapplication.cpp:3632
#19 0x00007f89bc5b71aa in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x7ffdbd7b6860, event=0x7f899803b240) at
kernel/qcoreapplication.cpp:1064
#20 0x00007f89bc5ba359 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x55a183c6d260) at
kernel/qcoreapplication.cpp:1821
#21 0x00007f89bc6114b8 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x55a183d3dc70) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00007f89bb43410c in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#23 0x00007f89bb487b99 in  () at /usr/lib/libglib-2.0.so.0
#24 0x00007f89bb431871 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#25 0x00007f89bc610aca in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x55a183d40910, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#26 0x00007f89bc5b5a5b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffdbd7b67d0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#27 0x00007f89bc5be248 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#28 0x00007f89bca892e2 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1867
#29 0x00007f89bd19ef6a in QApplication::exec() () at
kernel/qapplication.cpp:2824
#30 0x00007f89be126cad in Akonadi::ResourceBase::init(Akonadi::ResourceBase&)
(r=...) at /usr/src/debug/akonadi-21.07.80/src/agentbase/resourcebase.cpp:563
#31 0x000055a18370077c in Akonadi::ResourceBase::init<ImapResource>(int,
char**) (argc=<optimized out>, argv=0x7ffdbd7b6860) at
/usr/include/KF5/AkonadiAgentBase/resourcebase.h:182
#32 0x00007f89bbf1cb25 in __libc_start_main () at /usr/lib/libc.so.6
#33 0x000055a1836fd9de in _start ()
[Inferior 1 (process 67419) detached]

Possible duplicates by query: bug 428358, bug 425651, bug 418844, bug 418707,
bug 413349.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to