Bug 297169

Summary: crash in vtable for QSettings ()
Product: [Frameworks and Libraries] Akonadi Reporter: p92
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description p92 2012-03-31 08:16:58 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-17-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I was doing nothin special related to this crash. It seems that akonadi tries to connect to an imap resource and crashes.

-- Backtrace:
Application: Axcenit de type  (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f9bd937f7a0 (LWP 5954))]

Thread 3 (Thread 0x7f9bc5d3b700 (LWP 6085)):
#0  0x00007f9bd4604034 in __pthread_mutex_lock (mutex=0x20d7c58) at pthread_mutex_lock.c:61
#1  0x00007f9bd3698839 in g_main_context_release () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9bd3699f9a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9bd369a429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9bd87a2c26 in QEventDispatcherGlib::processEvents (this=0x1f1ac60, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f9bd8772402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9bd8772657 in QEventLoop::exec (this=0x7f9bc5d3adb0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9bd8672067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f9bd875217f in QInotifyFileSystemWatcherEngine::run (this=0x1f38a20) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f9bd867508b in QThreadPrivate::start (arg=0x1f38a20) at thread/qthread_unix.cpp:298
#10 0x00007f9bd4601efc in start_thread (arg=0x7f9bc5d3b700) at pthread_create.c:304
#11 0x00007f9bd4d5559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9bbe659700 (LWP 6974)):
#0  0x00007f9bd4d49473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9bd3699f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9bd369a429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9bd87a2c26 in QEventDispatcherGlib::processEvents (this=0x2472a00, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f9bd8772402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9bd8772657 in QEventLoop::exec (this=0x7f9bbe658dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9bd8672067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f9bd73ac619 in KIMAP::SessionThread::run (this=0x1efa250) at ../../kimap/sessionthread.cpp:181
#8  0x00007f9bd867508b in QThreadPrivate::start (arg=0x1efa250) at thread/qthread_unix.cpp:298
#9  0x00007f9bd4601efc in start_thread (arg=0x7f9bbe659700) at pthread_create.c:304
#10 0x00007f9bd4d5559d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9bd937f7a0 (LWP 5954)):
[KCrash Handler]
#6  0x00007f9bd8ac6950 in vtable for QSettings () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f9bd87891f8 in QObject::connect (sender=0x23e2040, signal=0x467b88 "2stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x1e82140, method=0x467b40 "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)", type=Qt::AutoConnection) at kernel/qobject.cpp:2551
#8  0x0000000000454fcb in SessionPool::onPasswordRequestDone (this=0x1e82140, resultType=<optimized out>, password=...) at ../../../resources/imap/sessionpool.cpp:335
#9  0x0000000000456da2 in SessionPool::qt_metacall (this=0x1e82140, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff425ff5f0) at ./sessionpool.moc:117
#10 0x00007f9bd8787c09 in QMetaObject::activate (sender=0x1eaa610, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff425ff5f0) at kernel/qobject.cpp:3566
#11 0x00000000004420e1 in PasswordRequesterInterface::done (this=<optimized out>, _t1=0, _t2=<optimized out>) at ./passwordrequesterinterface.moc:104
#12 0x0000000000420eb3 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x1eaa610, password=..., userRejected=false) at ../../../resources/imap/settingspasswordrequester.cpp:89
#13 0x000000000042100c in SettingsPasswordRequester::qt_metacall (this=0x1eaa610, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff425ff7c0) at ./settingspasswordrequester.moc:76
#14 0x00007f9bd8787c09 in QMetaObject::activate (sender=0x1e829e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff425ff7c0) at kernel/qobject.cpp:3566
#15 0x000000000041f851 in Settings::passwordRequestCompleted (this=<optimized out>, _t1=<optimized out>, _t2=false) at ./settings.moc:110
#16 0x000000000041f88b in Settings::requestPassword (this=0x1e829e0) at ../../../resources/imap/settings.cpp:114
#17 0x0000000000453e83 in SessionPool::connect (this=0x1e82140, account=<optimized out>) at ../../../resources/imap/sessionpool.cpp:102
#18 0x000000000041699c in ImapResource::startConnect (this=0x1ea5730) at ../../../resources/imap/imapresource.cpp:216
#19 0x000000000041a502 in ImapResource::qt_metacall (this=0x1ea5730, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fff425ffc40) at ./imapresource.moc:132
#20 0x00007f9bd877b7ac in QMetaMethod::invoke (this=0x7fff425ffe30, object=0x1ea5730, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1644
#21 0x00007f9bd877d990 in QMetaObject::invokeMethod (obj=0x1ea5730, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#22 0x00007f9bd8eacd60 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:426
#23 Akonadi::ResourceScheduler::executeNext (this=0x1ed3480) at ../../akonadi/resourcescheduler.cpp:328
#24 0x00007f9bd8eae108 in Akonadi::ResourceScheduler::qt_metacall (this=0x1ed3480, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0x1d2d920) at ./resourcescheduler_p.moc:122
#25 0x00007f9bd878cbc6 in QObject::event (this=0x1ed3480, e=<optimized out>) at kernel/qobject.cpp:1195
#26 0x00007f9bd7af9104 in notify_helper (e=0x23f0d30, receiver=0x1ed3480, this=0x1d2f4a0) at kernel/qapplication.cpp:4555
#27 QApplicationPrivate::notify_helper (this=0x1d2f4a0, receiver=0x1ed3480, e=0x23f0d30) at kernel/qapplication.cpp:4527
#28 0x00007f9bd7afdf83 in QApplication::notify (this=0x7fff42602140, receiver=0x1ed3480, e=0x23f0d30) at kernel/qapplication.cpp:4416
#29 0x00007f9bd5c339a6 in KApplication::notify (this=0x7fff42602140, receiver=0x1ed3480, event=0x23f0d30) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f9bd877361c in QCoreApplication::notifyInternal (this=0x7fff42602140, receiver=0x1ed3480, event=0x23f0d30) at kernel/qcoreapplication.cpp:876
#31 0x00007f9bd87773ea in sendEvent (event=0x23f0d30, receiver=0x1ed3480) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1d034d0) at kernel/qcoreapplication.cpp:1500
#33 0x00007f9bd87a2793 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#34 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#35 0x00007f9bd3699a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f9bd369a258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f9bd369a429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f9bd87a2bbf in QEventDispatcherGlib::processEvents (this=0x1d04cb0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#39 0x00007f9bd7b9e28e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f9bd8772402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f9bd8772657 in QEventLoop::exec (this=0x7fff42600d50, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007f9bd7fc6f06 in QDialog::exec (this=0x23c2340) at dialogs/qdialog.cpp:552
#43 0x00007f9bd5b9adfa in KMessageBox::createKMessageBox (dialog=0x23c2340, icon=<optimized out>, text=..., strlist=<optimized out>, ask=..., checkboxReturn=0x7fff4260150f, options=..., details=..., notifyType=QMessageBox::Information) at ../../kdeui/dialogs/kmessagebox.cpp:344
#44 0x00007f9bd5b9b62b in KMessageBox::createKMessageBox (dialog=0x23c2340, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0x7fff4260150f, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:159
#45 0x00007f9bd5b9d9a8 in KMessageBox::questionYesNoCancelWId (parent_id=0, text=..., caption=..., buttonYes_=<optimized out>, buttonNo_=<optimized out>, buttonCancel_=<optimized out>, dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:548
#46 0x00000000004208bc in SettingsPasswordRequester::askUserInput (this=0x1eaa610, serverError=...) at ../../../resources/imap/settingspasswordrequester.cpp:61
#47 0x0000000000420fcc in SettingsPasswordRequester::qt_metacall (this=0x1eaa610, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x22048a0) at ./settingspasswordrequester.moc:75
#48 0x00007f9bd878cbc6 in QObject::event (this=0x1eaa610, e=<optimized out>) at kernel/qobject.cpp:1195
#49 0x00007f9bd7af9104 in notify_helper (e=0x23e5570, receiver=0x1eaa610, this=0x1d2f4a0) at kernel/qapplication.cpp:4555
#50 QApplicationPrivate::notify_helper (this=0x1d2f4a0, receiver=0x1eaa610, e=0x23e5570) at kernel/qapplication.cpp:4527
#51 0x00007f9bd7afdf83 in QApplication::notify (this=0x7fff42602140, receiver=0x1eaa610, e=0x23e5570) at kernel/qapplication.cpp:4416
#52 0x00007f9bd5c339a6 in KApplication::notify (this=0x7fff42602140, receiver=0x1eaa610, event=0x23e5570) at ../../kdeui/kernel/kapplication.cpp:311
#53 0x00007f9bd877361c in QCoreApplication::notifyInternal (this=0x7fff42602140, receiver=0x1eaa610, event=0x23e5570) at kernel/qcoreapplication.cpp:876
#54 0x00007f9bd87773ea in sendEvent (event=0x23e5570, receiver=0x1eaa610) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#55 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1d034d0) at kernel/qcoreapplication.cpp:1500
#56 0x00007f9bd87a2793 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#57 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#58 0x00007f9bd3699a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f9bd369a258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f9bd369a429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f9bd87a2bbf in QEventDispatcherGlib::processEvents (this=0x1d04cb0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#62 0x00007f9bd7b9e28e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00007f9bd8772402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#64 0x00007f9bd8772657 in QEventLoop::exec (this=0x7fff426020c0, flags=...) at kernel/qeventloop.cpp:204
#65 0x00007f9bd87776e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#66 0x00007f9bd8e9ffd6 in Akonadi::ResourceBase::init (r=0x1ea5730) at ../../akonadi/resourcebase.cpp:412
#67 0x000000000041a926 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#68 0x00007f9bd4c9330d in __libc_start_main (main=0x415200 <main(int, char**)>, argc=3, ubp_av=0x7fff42602258, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff42602248) at libc-start.c:226
#69 0x00000000004153b5 in _start ()

Reported using DrKonqi
Comment 1 Christophe Marin 2012-03-31 13:37:12 UTC

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