Bug 282722 - crash upon ssl error
Summary: crash upon ssl error
Status: RESOLVED DUPLICATE of bug 279113
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-25 00:28 UTC by Florian Reinhard
Modified: 2011-11-18 00:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Reinhard 2011-09-25 00:28:45 UTC
Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

* akonadi pops a message that there's an ssl certificate issue (wrong server address)
* no from here you can do: continue, settings, cancel. choose settings
  * correct the server address
  * apply the new settings
* now hit cancel and not continue
* wait for akonadi to die

The crash can be reproduced some of the time.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7852930 (LWP 15103))]

Thread 3 (Thread 0xb6945b70 (LWP 26417)):
#0  do_gettime () at tools/qelapsedtimer_unix.cpp:125
#1  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#2  0x002934f2 in updateCurrentTime (this=0x9b3d8ec, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#3  QTimerInfoList::timerWait (this=0x9b3d8ec, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#4  0x00291d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb69450dc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x00291dcd in timerSourcePrepare (source=0x9b3d8b8, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#6  0x009a3fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x009a4e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x009a5524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x00292577 in QEventDispatcherGlib::processEvents (this=0x9bb4458, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#10 0x00264289 in QEventLoop::processEvents (this=0xb6945290, flags=...) at kernel/qeventloop.cpp:149
#11 0x00264522 in QEventLoop::exec (this=0xb6945290, flags=...) at kernel/qeventloop.cpp:201
#12 0x0016e2a0 in QThread::exec (this=0x9b7ba48) at thread/qthread.cpp:492
#13 0x00245fdb in QInotifyFileSystemWatcherEngine::run (this=0x9b7ba48) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x00170da2 in QThreadPrivate::start (arg=0x9b7ba48) at thread/qthread_unix.cpp:320
#15 0x0084ae99 in start_thread (arg=0xb6945b70) at pthread_create.c:304
#16 0x00bdd73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb3f69b70 (LWP 26683)):
#0  0x007d3416 in __kernel_vsyscall ()
#1  0x00bcef76 in __poll (fds=0x9b51600, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x009b584b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x009a51af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x009a5524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x00292577 in QEventDispatcherGlib::processEvents (this=0x9d478a8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00264289 in QEventLoop::processEvents (this=0xb3f692b0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00264522 in QEventLoop::exec (this=0xb3f692b0, flags=...) at kernel/qeventloop.cpp:201
#8  0x0016e2a0 in QThread::exec (this=0x99926f8) at thread/qthread.cpp:492
#9  0x0056ec52 in KIMAP::SessionThread::run (this=0x99926f8) at ../../kimap/sessionthread.cpp:166
#10 0x00170da2 in QThreadPrivate::start (arg=0x99926f8) at thread/qthread_unix.cpp:320
#11 0x0084ae99 in start_thread (arg=0xb3f69b70) at pthread_create.c:304
#12 0x00bdd73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7852930 (LWP 15103)):
[KCrash Handler]
#7  QMetaObject::invokeMethod (obj=0xffffffff, member=0x58c11c "sslErrorHandlerResponse", type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1138
#8  0x0056b136 in invokeMethod (this=0x9b93290, errorData=...) at /usr/include/qt4/QtCore/qobjectdefs.h:424
#9  KIMAP::SessionPrivate::handleSslError (this=0x9b93290, errorData=...) at ../../kimap/session.cpp:121
#10 0x0056db10 in KIMAP::Session::qt_metacall (this=0x9a3c540, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xb600d7f8) at ./session.moc:117
#11 0x0026b6ba in QMetaObject::metacall (object=0x9a3c540, cl=QMetaObject::InvokeMetaMethod, idx=15, argv=0xb600d7f8) at kernel/qmetaobject.cpp:237
#12 0x00275e16 in QMetaCallEvent::placeMetaCall (this=0xb600d708, object=0x9a3c540) at kernel/qobject.cpp:535
#13 0x0027a3b7 in QObject::event (this=0x9a3c540, e=0xb600d708) at kernel/qobject.cpp:1226
#14 0x010efd24 in QApplicationPrivate::notify_helper (this=0x991c7d8, receiver=0x9a3c540, e=0xb600d708) at kernel/qapplication.cpp:4462
#15 0x010f48ce in QApplication::notify (this=0xbfd8f100, receiver=0x9a3c540, e=0xb600d708) at kernel/qapplication.cpp:3862
#16 0x0366293a in KApplication::notify (this=0xbfd8f100, receiver=0x9a3c540, event=0xb600d708) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x002650bb in QCoreApplication::notifyInternal (this=0xbfd8f100, receiver=0x9a3c540, event=0xb600d708) at kernel/qcoreapplication.cpp:731
#18 0x00268c79 in sendEvent (receiver=0x0, event_type=0, data=0x98e5748) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x98e5748) at kernel/qcoreapplication.cpp:1372
#20 0x00268e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#21 0x002923c4 in sendPostedEvents (s=0x9921a90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=0x9921a90) at kernel/qeventdispatcher_glib.cpp:277
#23 0x009a4aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0x009a5270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0x009a5524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0x0029253c in QEventDispatcherGlib::processEvents (this=0x98e54b0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#27 0x011a61e5 in QGuiEventDispatcherGlib::processEvents (this=0x98e54b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00264289 in QEventLoop::processEvents (this=0xbfd8f054, flags=...) at kernel/qeventloop.cpp:149
#29 0x00264522 in QEventLoop::exec (this=0xbfd8f054, flags=...) at kernel/qeventloop.cpp:201
#30 0x00268ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#31 0x010ed8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#32 0x00e10938 in Akonadi::ResourceBase::init (r=0x99faa68) at ../../akonadi/resourcebase.cpp:393
#33 0x080644d3 in _start ()

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

Possible duplicates by query: bug 279113.

Reported using DrKonqi
Comment 1 Johan Erlands 2011-11-16 20:55:55 UTC
I have the same problem. But I use kubuntu 11.10. Its easy to reproduce.
Comment 2 Christophe Marin 2011-11-18 00:06:46 UTC

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