[Akonadi] [Bug 349549] New: KMail crashes after asking multiple times at once for certificate

sederic sebastian.endres at online.de
Tue Jun 23 22:08:29 BST 2015


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

            Bug ID: 349549
           Summary: KMail crashes after asking multiple times at once for
                    certificate
           Product: Akonadi
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: IMAP resource
          Assignee: chrigi_1 at fastmail.fm
          Reporter: sebastian.endres at online.de
                CC: kdepim-bugs at kde.org, vkrause at kde.org

Application: akonadi_imap_resource (4.14)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.0-21-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
Accepting SSL-Certificate for this session only
- Unusual behavior I noticed:
There were multiple dialogeboxes asking for an action
- Custom settings of the application:
A SSL-Certificate for Mail which is not trusted by the system

The crash can be reproduced sometimes.

-- Backtrace:
Application: Rommel of type IMAP E-Mail Server (akonadi_imap_resource), signal:
Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9a9217c7c0 (LWP 3004))]

Thread 5 (Thread 0x7f9a7e65a700 (LWP 4994)):
#0  0x00007f9a8c9832b1 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9a8c983de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9a8c983fcc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9a9179f87e in QEventDispatcherGlib::processEvents
(this=0x7f9a780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f9a9176ed21 in QEventLoop::processEvents
(this=this at entry=0x7f9a7e659e10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9a9176f085 in QEventLoop::exec (this=this at entry=0x7f9a7e659e10,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9a91662e89 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#7  0x00007f9a916656ff in QThreadPrivate::start (arg=0x17efa30) at
thread/qthread_unix.cpp:349
#8  0x00007f9a8d06f6aa in start_thread (arg=0x7f9a7e65a700) at
pthread_create.c:333
#9  0x00007f9a8da20eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f9a7de59700 (LWP 7622)):
#0  0x00007f9a8da158dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9a8c983ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9a8c983fcc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9a9179f87e in QEventDispatcherGlib::processEvents
(this=0x7f9a70003320, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f9a9176ed21 in QEventLoop::processEvents
(this=this at entry=0x7f9a7de58e10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9a9176f085 in QEventLoop::exec (this=this at entry=0x7f9a7de58e10,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9a91662e89 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#7  0x00007f9a916656ff in QThreadPrivate::start (arg=0x18896f0) at
thread/qthread_unix.cpp:349
#8  0x00007f9a8d06f6aa in start_thread (arg=0x7f9a7de59700) at
pthread_create.c:333
#9  0x00007f9a8da20eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f9a77df9700 (LWP 18457)):
#0  0x00007f9a8c9c8785 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9a8c9838cc in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9a8c983e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9a8c983fcc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9a9179f87e in QEventDispatcherGlib::processEvents
(this=0x7f9a6c005c10, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f9a9176ed21 in QEventLoop::processEvents
(this=this at entry=0x7f9a77df8e10, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9a9176f085 in QEventLoop::exec (this=this at entry=0x7f9a77df8e10,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9a91662e89 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#8  0x00007f9a916656ff in QThreadPrivate::start (arg=0x18c2000) at
thread/qthread_unix.cpp:349
#9  0x00007f9a8d06f6aa in start_thread (arg=0x7f9a77df9700) at
pthread_create.c:333
#10 0x00007f9a8da20eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f9a762e9700 (LWP 18460)):
#0  0x00007f9a8da158dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9a8c983ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9a8c983fcc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9a9179f87e in QEventDispatcherGlib::processEvents
(this=0x7f9a6400cc70, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f9a9176ed21 in QEventLoop::processEvents
(this=this at entry=0x7f9a762e8e10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9a9176f085 in QEventLoop::exec (this=this at entry=0x7f9a762e8e10,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9a91662e89 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#7  0x00007f9a916656ff in QThreadPrivate::start (arg=0x179a130) at
thread/qthread_unix.cpp:349
#8  0x00007f9a8d06f6aa in start_thread (arg=0x7f9a762e9700) at
pthread_create.c:333
#9  0x00007f9a8da20eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9a9217c7c0 (LWP 3004)):
[KCrash Handler]
#6  QMetaObject::invokeMethod (obj=0x6c0065006d006d,
member=member at entry=0x7f9a8f38d4ec "doSslErrorHandlerResponse",
type=type at entry=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=...,
val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at
kernel/qmetaobject.cpp:1166
#7  0x00007f9a8f367ebe in invokeMethod (val9=..., val8=..., val7=..., val6=...,
val5=..., val4=..., val3=..., val2=..., val1=..., val0=...,
member=0x7f9a8f38d4ec "doSslErrorHandlerResponse", obj=<optimized out>) at
/usr/include/qt4/QtCore/qobjectdefs.h:434
#8  KIMAP::SessionThread::sslErrorHandlerResponse (this=<optimized out>,
response=false) at ../../kimap/sessionthread.cpp:274
#9  0x00007f9a917898e1 in QObject::event (this=0x18b2090, e=<optimized out>) at
kernel/qobject.cpp:1222
#10 0x00007f9a90ab79bc in QApplicationPrivate::notify_helper
(this=this at entry=0x1612260, receiver=receiver at entry=0x18b2090,
e=e at entry=0x7f9a6c00d290) at kernel/qapplication.cpp:4570
#11 0x00007f9a90abe4d8 in QApplication::notify (this=this at entry=0x7ffd810d0d00,
receiver=receiver at entry=0x18b2090, e=e at entry=0x7f9a6c00d290) at
kernel/qapplication.cpp:4356
#12 0x00007f9a8eb90b4a in KApplication::notify (this=0x7ffd810d0d00,
receiver=0x18b2090, event=0x7f9a6c00d290) at
../../kdeui/kernel/kapplication.cpp:311
#13 0x00007f9a917701cd in QCoreApplication::notifyInternal
(this=0x7ffd810d0d00, receiver=receiver at entry=0x18b2090,
event=event at entry=0x7f9a6c00d290) at kernel/qcoreapplication.cpp:955
#14 0x00007f9a91773a71 in sendEvent (event=0x7f9a6c00d290, receiver=0x18b2090)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x15d50c0) at
kernel/qcoreapplication.cpp:1579
#16 0x00007f9a91773f03 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1472
#17 0x00007f9a9179f6ee in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=0x1601e50) at
kernel/qeventdispatcher_glib.cpp:300
#19 0x00007f9a8c983c3d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f9a8c983f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f9a8c983fcc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f9a9179f85e in QEventDispatcherGlib::processEvents (this=0x15d65a0,
flags=...) at kernel/qeventdispatcher_glib.cpp:450
#23 0x00007f9a90b5fc66 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007f9a9176ed21 in QEventLoop::processEvents
(this=this at entry=0x7ffd810cff30, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007f9a9176f085 in QEventLoop::exec (this=this at entry=0x7ffd810cff30,
flags=...) at kernel/qeventloop.cpp:204
#26 0x00007f9a90f91d9c in QDialog::exec (this=0x17e1e50) at
dialogs/qdialog.cpp:562
#27 0x00007f9a8eafaae2 in KMessageBox::createKMessageBox
(dialog=dialog at entry=0x17e1e50, icon=..., text=..., strlist=..., ask=...,
checkboxReturn=checkboxReturn at entry=0x7ffd810d0290, options=..., details=...,
notifyType=QMessageBox::Warning) at ../../kdeui/dialogs/kmessagebox.cpp:344
#28 0x00007f9a8eafad37 in KMessageBox::createKMessageBox (dialog=0x17e1e50,
icon=QMessageBox::Warning, text=..., strlist=..., ask=...,
checkboxReturn=0x7ffd810d0290, options=..., details=...) at
../../kdeui/dialogs/kmessagebox.cpp:159
#29 0x00007f9a8eafe11d in KMessageBox::warningYesNoCancelListWId
(parent_id=30399731283591277, text=..., strlist=..., caption=...,
buttonYes_=..., buttonNo_=..., buttonCancel_=..., dontAskAgainName=...,
options=...) at ../../kdeui/dialogs/kmessagebox.cpp:802
#30 0x00007f9a8eafe397 in KMessageBox::warningYesNoCancelList
(parent=<optimized out>, text=..., strlist=..., caption=..., buttonYes=...,
buttonNo=..., buttonCancel=..., dontAskAgainName=..., options=...) at
../../kdeui/dialogs/kmessagebox.cpp:760
#31 0x00007f9a8eafe419 in KMessageBox::warningYesNoCancel (parent=<optimized
out>, text=..., caption=..., buttonYes=..., buttonNo=..., buttonCancel=...,
dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:735
#32 0x00007f9a903dd2d7 in KIO::SslUi::askIgnoreSslErrors (uiData=...,
storedRules=31) at ../../kio/kssl/sslui.cpp:82
#33 0x00007f9a8f3633d3 in KIMAP::SessionPrivate::handleSslError
(this=0x16a9540, errorData=...) at ../../kimap/session.cpp:133
#34 0x00007f9a917898e1 in QObject::event (this=0x16a9540, e=<optimized out>) at
kernel/qobject.cpp:1222
#35 0x00007f9a90ab79bc in QApplicationPrivate::notify_helper
(this=this at entry=0x1612260, receiver=receiver at entry=0x16a9540,
e=e at entry=0x7f9a6c00c960) at kernel/qapplication.cpp:4570
#36 0x00007f9a90abe4d8 in QApplication::notify (this=this at entry=0x7ffd810d0d00,
receiver=receiver at entry=0x16a9540, e=e at entry=0x7f9a6c00c960) at
kernel/qapplication.cpp:4356
#37 0x00007f9a8eb90b4a in KApplication::notify (this=0x7ffd810d0d00,
receiver=0x16a9540, event=0x7f9a6c00c960) at
../../kdeui/kernel/kapplication.cpp:311
#38 0x00007f9a917701cd in QCoreApplication::notifyInternal
(this=0x7ffd810d0d00, receiver=receiver at entry=0x16a9540,
event=event at entry=0x7f9a6c00c960) at kernel/qcoreapplication.cpp:955
#39 0x00007f9a91773a71 in sendEvent (event=0x7f9a6c00c960, receiver=0x16a9540)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x15d50c0) at
kernel/qcoreapplication.cpp:1579
#41 0x00007f9a91773f03 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1472
#42 0x00007f9a9179f6ee in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#43 postEventSourceDispatch (s=0x1601e50) at
kernel/qeventdispatcher_glib.cpp:300
#44 0x00007f9a8c983c3d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f9a8c983f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f9a8c983fcc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f9a9179f85e in QEventDispatcherGlib::processEvents (this=0x15d65a0,
flags=...) at kernel/qeventdispatcher_glib.cpp:450
#48 0x00007f9a90b5fc66 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007f9a9176ed21 in QEventLoop::processEvents
(this=this at entry=0x7ffd810d0c70, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007f9a9176f085 in QEventLoop::exec (this=this at entry=0x7ffd810d0c70,
flags=...) at kernel/qeventloop.cpp:204
#51 0x00007f9a91774b09 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1227
#52 0x00007f9a90ab5c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#53 0x00007f9a91c65fec in Akonadi::ResourceBase::init (r=r at entry=0x1797fd0) at
../../akonadi/resourcebase.cpp:583
#54 0x000000000041890e in Akonadi::ResourceBase::init<ImapResource>
(argc=<optimized out>, argv=<optimized out>) at
/usr/include/akonadi/resourcebase.h:193
#55 0x00007f9a8d93aa40 in __libc_start_main (main=0x418240 <main(int, char**)>,
argc=3, argv=0x7ffd810d0e18, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffd810d0e08) at libc-start.c:289
#56 0x00000000004187b4 in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 348039,
bug 341906.

Possible duplicates by query: bug 348039, bug 341906.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list