Bug 277751

Summary: Kontact crashes when trying to enable server side imap subscriptions
Product: [Applications] kontact Reporter: Manuel Gaus <manuel.gaus>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.4.10   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Manuel Gaus 2011-07-14 09:43:14 UTC
Application: kontact (4.4.10)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
--- right click on the imap server that I wanted to subscribe folders on
--- select server side subscriptions
--- click ok (dialog pops up that asks if server side subscriptions should be enabled)
--- click on enable -> crash, click on don't enable -> crash, click on cancel -> no crash

- Unusual behavior I noticed:
--- could only verify that behaviour with one server i use. other servers are not affected.

- Distribution: Kubuntu 11.04, packages from default repo

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f09f5a5b7a0 (LWP 2651))]

Thread 3 (Thread 0x7f09d3166700 (LWP 2654)):
#0  0x00007f09f2ea4f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f09ec8d2104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f09ec8d29f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f09d4298c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f09ec8f93e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f09ecd9dd8c in start_thread (arg=0x7f09d3166700) at pthread_create.c:304
#6  0x00007f09f2eb204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f09c9764700 (LWP 2677)):
#0  0x00007f09ec8d1a39 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f09ec8d23a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f09ec8d2639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f09f35ec446 in QEventDispatcherGlib::processEvents (this=0x2128f50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f09f35c0882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f09f35c0abc in QEventLoop::exec (this=0x7f09c9763db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f09f34d7924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f09f35a2c2f in QInotifyFileSystemWatcherEngine::run (this=0x253c640) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f09f34da175 in QThreadPrivate::start (arg=0x253c640) at thread/qthread_unix.cpp:320
#9  0x00007f09ecd9dd8c in start_thread (arg=0x7f09c9764700) at pthread_create.c:304
#10 0x00007f09f2eb204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f09f5a5b7a0 (LWP 2651)):
[KCrash Handler]
#6  operator!= (this=0x2e45b48, akey=@0x7fffe3e6a888) at /usr/include/qt4/QtCore/qbasicatomic.h:75
#7  detach (this=0x2e45b48, akey=@0x7fffe3e6a888) at /usr/include/qt4/QtCore/qmap.h:202
#8  QMap<KPIM::ProgressItem*, bool>::remove (this=0x2e45b48, akey=@0x7fffe3e6a888) at /usr/include/qt4/QtCore/qmap.h:660
#9  0x00007f09f53ad04b in KPIM::ProgressItem::removeChild (this=0x2e45b10, kiddo=0x3e86540) at ../../libkdepim/progressmanager.cpp:73
#10 0x00007f09f53ad0b1 in KPIM::ProgressItem::setComplete (this=0x3e86540) at ../../libkdepim/progressmanager.cpp:58
#11 0x00007f09d7085135 in KMail::ImapAccountBase::removeJob (this=0x29ad200, it=...) at ../../kmail/imapaccountbase.cpp:1375
#12 0x00007f09d6fafec2 in KMail::ListJob::slotListResult (this=0x2d7f830, job=0x247a840) at ../../kmail/listjob.cpp:182
#13 0x00007f09d6faffd3 in KMail::ListJob::qt_metacall (this=0x2d7f830, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe3e6aa40) at ./listjob.moc:83
#14 0x00007f09f35d65f8 in QMetaObject::activate (sender=0x247a840, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe3e6aa40) at kernel/qobject.cpp:3287
#15 0x00007f09f3a2dd32 in KJob::result (this=<value optimized out>, _t1=0x247a840) at ./kjob.moc:194
#16 0x00007f09f3a2dd70 in KJob::emitResult (this=0x247a840) at ../../kdecore/jobs/kjob.cpp:312
#17 0x00007f09f19d3c9b in KIO::SimpleJob::slotFinished (this=0x247a840) at ../../kio/kio/job.cpp:525
#18 0x00007f09f19d6805 in KIO::ListJob::slotFinished (this=0x247a840) at ../../kio/kio/job.cpp:2564
#19 0x00007f09f19da469 in KIO::ListJob::qt_metacall (this=0x247a840, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe3e6ad20) at ./jobclasses.moc:818
#20 0x00007f09f35d65f8 in QMetaObject::activate (sender=0x2bfafa0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#21 0x00007f09f1a7a531 in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:173
#22 0x00007f09f1a774b5 in KIO::SlaveInterface::dispatch (this=0x2bfafa0) at ../../kio/kio/slaveinterface.cpp:89
#23 0x00007f09f1a6ae8e in KIO::Slave::gotInput (this=0x2bfafa0) at ../../kio/kio/slave.cpp:348
#24 0x00007f09f1a6b4dc in KIO::Slave::qt_metacall (this=0x2bfafa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe3e6b130) at ./slave.moc:82
#25 0x00007f09f35d65f8 in QMetaObject::activate (sender=0x2c05810, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#26 0x00007f09f19a4ff7 in KIO::ConnectionPrivate::dequeue (this=0x2c03d60) at ../../kio/kio/connection.cpp:82
#27 0x00007f09f19a509d in KIO::Connection::qt_metacall (this=0x2c05810, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2408c50) at ./connection.moc:79
#28 0x00007f09f35d549a in QObject::event (this=0x2c05810, e=<value optimized out>) at kernel/qobject.cpp:1226
#29 0x00007f09f3f809f4 in QApplicationPrivate::notify_helper (this=0x19fb320, receiver=0x2c05810, e=0x3f163d0) at kernel/qapplication.cpp:4462
#30 0x00007f09f3f853ba in QApplication::notify (this=<value optimized out>, receiver=0x2c05810, e=0x3f163d0) at kernel/qapplication.cpp:4341
#31 0x00007f09f4ca3866 in KApplication::notify (this=0x7fffe3e6d9d0, receiver=0x2c05810, event=0x3f163d0) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007f09f35c149c in QCoreApplication::notifyInternal (this=0x7fffe3e6d9d0, receiver=0x2c05810, event=0x3f163d0) at kernel/qcoreapplication.cpp:731
#33 0x00007f09f35c4c25 in sendEvent (receiver=0x0, event_type=0, data=0x199cb90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x199cb90) at kernel/qcoreapplication.cpp:1372
#35 0x00007f09f35ec253 in sendPostedEvents (s=0x19f85c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 postEventSourceDispatch (s=0x19f85c0) at kernel/qeventdispatcher_glib.cpp:277
#37 0x00007f09ec8d1bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f09ec8d23a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f09ec8d2639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f09f35ec3ef in QEventDispatcherGlib::processEvents (this=0x199c370, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#41 0x00007f09f402a4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f09f35c0882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f09f35c0abc in QEventLoop::exec (this=0x7fffe3e6bb10, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007f09f4441fd6 in QDialog::exec (this=0x2135880) at dialogs/qdialog.cpp:552
#45 0x00007f09f4c1266a in KMessageBox::createKMessageBox (dialog=0x2135880, icon=<value optimized out>, text=..., strlist=<value optimized out>, ask=..., checkboxReturn=0x7fffe3e6c28f, options=..., details=..., notifyType=QMessageBox::Warning) at ../../kdeui/dialogs/kmessagebox.cpp:337
#46 0x00007f09f4c12e7b in KMessageBox::createKMessageBox (dialog=0x2135880, icon=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0x7fffe3e6c28f, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:152
#47 0x00007f09f4c16363 in KMessageBox::warningContinueCancelListWId (parent_id=<value optimized out>, text=..., strlist=..., caption=..., buttonContinue_=..., buttonCancel_=<value optimized out>, dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:708
#48 0x00007f09f4c1653b in KMessageBox::warningContinueCancelList (parent=<value optimized out>, text=..., strlist=..., caption=..., buttonContinue=<value optimized out>, buttonCancel=<value optimized out>, dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:670
#49 0x00007f09f4c16594 in KMessageBox::warningContinueCancel (parent=<value optimized out>, text=<value optimized out>, caption=<value optimized out>, buttonContinue=<value optimized out>, buttonCancel=<value optimized out>, dontAskAgainName=<value optimized out>, options=...) at ../../kdeui/dialogs/kmessagebox.cpp:646
#50 0x00007f09d708c00c in KMail::ImapAccountBase::handleError (this=0x29ad200, errorCode=<value optimized out>, errorMsg=..., job=0x2f12fc0, context=..., abortSync=10) at ../../kmail/imapaccountbase.cpp:1077
#51 0x00007f09d7089e1a in KMail::ImapAccountBase::handleJobError (this=0x29ad200, job=0x2f12fc0, context=..., abortSync=false) at ../../kmail/imapaccountbase.cpp:378
#52 0x00007f09d70a6f30 in KMFolderImap::slotStatResult (this=0x2250720, job=0x2f12fc0) at ../../kmail/kmfolderimap.cpp:2202
#53 0x00007f09d70b4373 in KMFolderImap::qt_metacall (this=0x2250720, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0x7fffe3e6c830) at ./kmfolderimap.moc:196
#54 0x00007f09f35d65f8 in QMetaObject::activate (sender=0x2f12fc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe3e6c830) at kernel/qobject.cpp:3287
#55 0x00007f09f3a2dd32 in KJob::result (this=<value optimized out>, _t1=0x2f12fc0) at ./kjob.moc:194
#56 0x00007f09f3a2dd70 in KJob::emitResult (this=0x2f12fc0) at ../../kdecore/jobs/kjob.cpp:312
#57 0x00007f09f19d3c9b in KIO::SimpleJob::slotFinished (this=0x2f12fc0) at ../../kio/kio/job.cpp:525
#58 0x00007f09f19d582d in KIO::StatJob::slotFinished (this=0x2f12fc0) at ../../kio/kio/job.cpp:924
#59 0x00007f09f19d3df6 in KIO::SimpleJob::slotError (this=0x2f12fc0, err=<value optimized out>, errorText=...) at ../../kio/kio/job.cpp:537
#60 0x00007f09f19d5148 in KIO::SimpleJob::qt_metacall (this=0x2f12fc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe3e6cb90) at ./jobclasses.moc:170
#61 0x00007f09f19d56d0 in KIO::StatJob::qt_metacall (this=0x2f12fc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe3e6cb90) at ./jobclasses.moc:245
#62 0x00007f09f35d65f8 in QMetaObject::activate (sender=0x2bfafa0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe3e6cb90) at kernel/qobject.cpp:3287
#63 0x00007f09f1a77a46 in KIO::SlaveInterface::error (this=<value optimized out>, _t1=163, _t2=<value optimized out>) at ./slaveinterface.moc:159
#64 0x00007f09f1a7a5b1 in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=<value optimized out>, rawdata=...) at ../../kio/kio/slaveinterface.cpp:206
#65 0x00007f09f1a774b5 in KIO::SlaveInterface::dispatch (this=0x2bfafa0) at ../../kio/kio/slaveinterface.cpp:89
#66 0x00007f09f1a6ae8e in KIO::Slave::gotInput (this=0x2bfafa0) at ../../kio/kio/slave.cpp:348
#67 0x00007f09f1a6b4dc in KIO::Slave::qt_metacall (this=0x2bfafa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe3e6cf80) at ./slave.moc:82
#68 0x00007f09f35d65f8 in QMetaObject::activate (sender=0x2c05810, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#69 0x00007f09f19a4ff7 in KIO::ConnectionPrivate::dequeue (this=0x2c03d60) at ../../kio/kio/connection.cpp:82
#70 0x00007f09f19a509d in KIO::Connection::qt_metacall (this=0x2c05810, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x28ca0b0) at ./connection.moc:79
#71 0x00007f09f35d549a in QObject::event (this=0x2c05810, e=<value optimized out>) at kernel/qobject.cpp:1226
#72 0x00007f09f3f809f4 in QApplicationPrivate::notify_helper (this=0x19fb320, receiver=0x2c05810, e=0x3f17bd0) at kernel/qapplication.cpp:4462
#73 0x00007f09f3f853ba in QApplication::notify (this=<value optimized out>, receiver=0x2c05810, e=0x3f17bd0) at kernel/qapplication.cpp:4341
#74 0x00007f09f4ca3866 in KApplication::notify (this=0x7fffe3e6d9d0, receiver=0x2c05810, event=0x3f17bd0) at ../../kdeui/kernel/kapplication.cpp:311
#75 0x00007f09f35c149c in QCoreApplication::notifyInternal (this=0x7fffe3e6d9d0, receiver=0x2c05810, event=0x3f17bd0) at kernel/qcoreapplication.cpp:731
#76 0x00007f09f35c4c25 in sendEvent (receiver=0x0, event_type=0, data=0x199cb90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#77 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x199cb90) at kernel/qcoreapplication.cpp:1372
#78 0x00007f09f35ec253 in sendPostedEvents (s=0x19f85c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#79 postEventSourceDispatch (s=0x19f85c0) at kernel/qeventdispatcher_glib.cpp:277
#80 0x00007f09ec8d1bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#81 0x00007f09ec8d23a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#82 0x00007f09ec8d2639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#83 0x00007f09f35ec3ef in QEventDispatcherGlib::processEvents (this=0x199c370, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#84 0x00007f09f402a4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#85 0x00007f09f35c0882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#86 0x00007f09f35c0abc in QEventLoop::exec (this=0x7fffe3e6d960, flags=...) at kernel/qeventloop.cpp:201
#87 0x00007f09f35c4ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#88 0x0000000000403f70 in main (argc=1, argv=<value optimized out>) at ../../../kontact/src/main.cpp:226

Possible duplicates by query: bug 276587, bug 269123, bug 260792, bug 255190, bug 250552.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-07-14 10:03:27 UTC

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