Bug 310243 - Kmail crash after accepting a certificate
Summary: Kmail crash after accepting a certificate
Status: RESOLVED DUPLICATE of bug 279113
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.8
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-17 09:34 UTC by bosyber
Modified: 2013-02-26 04:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.40 KB, text/plain)
2012-11-26 19:39 UTC, bosyber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bosyber 2012-11-17 09:34:44 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-33-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Has a lot of chrome tabs open, kdevelop etc. Memory was getting tight and I didn't see the kmail dialog until after a while. I accepted the certificate, but then it crashed. It could be that memory pressure played a role though.

-- Backtrace:
Application: logistiQ mail 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 0x7ff077974780 (LWP 20966))]

Thread 3 (Thread 0x7ff063d80700 (LWP 18611)):
#0  g_main_context_prepare (context=0x7ff05c0dff40, priority=0x7ff063d7fcc8) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2832
#1  0x00007ff071e6df5b in g_main_context_iterate (dispatch=1, block=1, context=0x7ff05c0dff40, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3126
#2  g_main_context_iterate (context=0x7ff05c0dff40, block=1, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#3  0x00007ff071e6e164 in g_main_context_iteration (context=0x7ff05c0dff40, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#4  0x00007ff076da1426 in QEventDispatcherGlib::processEvents (this=0x7ff05c0cf900, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007ff076d70c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff076d70ed7 in QEventLoop::exec (this=0x7ff063d7fde0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ff076c6ffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007ff0759a6c39 in KIMAP::SessionThread::run (this=0x27e4320) at ../../kimap/sessionthread.cpp:181
#9  0x00007ff076c72fcb in QThreadPrivate::start (arg=0x27e4320) at thread/qthread_unix.cpp:298
#10 0x00007ff072989e9a in start_thread (arg=0x7ff063d80700) at pthread_create.c:308
#11 0x00007ff07332ecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff060db1700 (LWP 10308)):
#0  0x00007ff073323303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff071e6e036 in g_main_context_poll (n_fds=1, fds=0x7ff0500213e0, timeout=-1, context=0x7ff050002cc0, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7ff050002cc0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#3  g_main_context_iterate (context=0x7ff050002cc0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#4  0x00007ff071e6e164 in g_main_context_iteration (context=0x7ff050002cc0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#5  0x00007ff076da1426 in QEventDispatcherGlib::processEvents (this=0x7ff050002c20, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007ff076d70c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ff076d70ed7 in QEventLoop::exec (this=0x7ff060db0de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ff076c6ffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007ff0759a6c39 in KIMAP::SessionThread::run (this=0x2799240) at ../../kimap/sessionthread.cpp:181
#10 0x00007ff076c72fcb in QThreadPrivate::start (arg=0x2799240) at thread/qthread_unix.cpp:298
#11 0x00007ff072989e9a in start_thread (arg=0x7ff060db1700) at pthread_create.c:308
#12 0x00007ff07332ecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff077974780 (LWP 20966)):
[KCrash Handler]
#6  QMetaObject::invokeMethod (obj=0x21, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1166
#7  0x00007ff0759a3497 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=<optimized out>, obj=<optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:434
#8  KIMAP::SessionPrivate::handleSslError (this=0x27de130, errorData=...) at ../../kimap/session.cpp:121
#9  0x00007ff076d8b446 in QObject::event (this=0x285b640, e=<optimized out>) at kernel/qobject.cpp:1195
#10 0x00007ff0760f4894 in notify_helper (e=0x7ff0540080b0, receiver=0x285b640, this=0x25a8a90) at kernel/qapplication.cpp:4559
#11 QApplicationPrivate::notify_helper (this=0x25a8a90, receiver=0x285b640, e=0x7ff0540080b0) at kernel/qapplication.cpp:4531
#12 0x00007ff0760f9713 in QApplication::notify (this=0x7fff434aa1d0, receiver=0x285b640, e=0x7ff0540080b0) at kernel/qapplication.cpp:4420
#13 0x00007ff07421e3f6 in KApplication::notify (this=0x7fff434aa1d0, receiver=0x285b640, event=0x7ff0540080b0) at ../../kdeui/kernel/kapplication.cpp:311
#14 0x00007ff076d71e9c in QCoreApplication::notifyInternal (this=0x7fff434aa1d0, receiver=0x285b640, event=0x7ff0540080b0) at kernel/qcoreapplication.cpp:876
#15 0x00007ff076d75c6a in sendEvent (event=0x7ff0540080b0, receiver=0x285b640) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x25674d0) at kernel/qcoreapplication.cpp:1500
#17 0x00007ff076da0f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#19 0x00007ff071e6dd53 in g_main_dispatch (context=0x25ace80) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#20 g_main_context_dispatch (context=0x25ace80) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#21 0x00007ff071e6e0a0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x25ace80, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#22 g_main_context_iterate (context=0x25ace80, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#23 0x00007ff071e6e164 in g_main_context_iteration (context=0x25ace80, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#24 0x00007ff076da13bf in QEventDispatcherGlib::processEvents (this=0x25940e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#25 0x00007ff07619cd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007ff076d70c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007ff076d70ed7 in QEventLoop::exec (this=0x7fff434aa150, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007ff076d75f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#29 0x00007ff0774a0326 in Akonadi::ResourceBase::init (r=0x279c930) at ../../akonadi/resourcebase.cpp:412
#30 0x000000000041a996 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#31 0x00007ff07325c76d in __libc_start_main (main=0x4151c0 <main(int, char**)>, argc=3, ubp_av=0x7fff434aa2e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff434aa2d8) at libc-start.c:226
#32 0x0000000000415375 in _start ()

This bug may be a duplicate of or related to bug 302459.

Possible duplicates by query: bug 309788, bug 309775, bug 307197, bug 304955, bug 304110.

Reported using DrKonqi
Comment 1 bosyber 2012-11-26 19:39:13 UTC
Created attachment 75494 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.8) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:
accepting a certificate from our hosting company - we don't use our own certificate, and kontact has trouble believing we really intend to trust it.

-- Backtrace (Reduced):
#7  0x00007f483b0d3497 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=<optimized out>, obj=<optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:434
#8  KIMAP::SessionPrivate::handleSslError (this=0x965a10, errorData=...) at ../../kimap/session.cpp:121
#9  0x00007f483c4bc446 in QObject::event (this=0x967730, e=<optimized out>) at kernel/qobject.cpp:1195
#10 0x00007f483b825894 in notify_helper (e=0x7f4824209600, receiver=0x967730, this=0x8c76f0) at kernel/qapplication.cpp:4559
#11 QApplicationPrivate::notify_helper (this=0x8c76f0, receiver=0x967730, e=0x7f4824209600) at kernel/qapplication.cpp:4531
Comment 2 Jekyll Wu 2013-02-26 04:10:23 UTC

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