Bug 234295

Summary: Kontact crash as automatically updating calendar data from egroupware
Product: [Applications] korganizer Reporter: Massimiliano <ilbuio>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: le.petit.fou, smartins
Priority: NOR    
Version: 4.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Massimiliano 2010-04-13 23:14:59 UTC
Application: korganizer (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-20-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
Korganizer crashes every time tries to update calendar data from egroupware.
The crash is automatic: just click systray icond and wait the update reaches around 89%. 

The crash can be reproduced every time.

 -- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fef90b0d780 (LWP 1782))]

Thread 2 (Thread 0x7fef782c1710 (LWP 1783)):
#0  0x00007fef8b62da2d in __pthread_mutex_unlock_usercnt (mutex=0x26e3c98) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x26e3c98) at pthread_mutex_unlock.c:290
#2  0x00007fef86abaea5 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x00007fef86abb318 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007fef86abb8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007fef8d926566 in QEventDispatcherGlib::processEvents (this=0x26c1f60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00007fef8d8fb992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007fef8d8fbd6c in QEventLoop::exec (this=0x7fef782c0d90, flags=) at kernel/qeventloop.cpp:201
#8  0x00007fef8d805d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007fef8d8dc178 in QInotifyFileSystemWatcherEngine::run (this=0x26c1dd0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fef8d808775 in QThreadPrivate::start (arg=0x26c1dd0) at thread/qthread_unix.cpp:248
#11 0x00007fef8b6299ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007fef8d1df6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fef90b0d780 (LWP 1782)):
[KCrash Handler]
#5  QString (this=0x2e07640) at /usr/include/qt4/QtCore/qstring.h:714
#6  KCal::IncidenceBase::uid (this=0x2e07640) at ../../kcal/incidencebase.cpp:185
#7  0x00007fef8fdf91fd in KCal::Calendar::removeRelations (this=0x29382c0, incidence=<value optimized out>) at ../../kcal/calendar.cpp:855
#8  0x00007fef8fdff8af in KCal::CalendarLocal::deleteTodo (this=0x7fff2fba6720, todo=0x2e07640) at ../../kcal/calendarlocal.cpp:261
#9  0x00007fef8fe48a31 in KCal::Incidence::DeleteVisitor<KCal::ResourceCalendar>::visit (this=<value optimized out>, t=0x2e07640) at ../../kcal/incidence.h:123
#10 0x00007fef8fe472f7 in KCal::ResourceCalendar::deleteIncidence (this=<value optimized out>, incidence=0x7fff2fba6720) at ../../kcal/resourcecalendar.cpp:126
#11 0x00007fef76efb239 in KCal::CalendarAdaptor::deleteItem (this=0x293ea20, localId=<value optimized out>) at ../../../kresources/lib/calendaradaptor.cpp:94
#12 0x00007fef76efbd75 in KCal::CalendarAdaptor::calendarItemDownloaded (this=0x293ea20, inc=0x2e03c10, newLocalId=..., remoteId=..., fingerprint=<value optimized out>, storagelocation=...)
    at ../../../kresources/lib/calendaradaptor.cpp:121
#13 0x00007fef771312e6 in GroupDavGlobals::interpretCalendarDownloadItemsJob (adaptor=0x293ea20, job=<value optimized out>, jobData=<value optimized out>)
    at ../../../kresources/groupdav/groupdavglobals.cpp:252
#14 0x00007fef76ef9197 in KPIM::GroupwareDownloadJob::slotDownloadItemResult (this=0x2b5bf10, job=0x2def350) at ../../../kresources/lib/groupwaredownloadjob.cpp:207
#15 0x00007fef76efa823 in KPIM::GroupwareDownloadJob::qt_metacall (this=0x2b5bf10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2fba6d10) at ./groupwaredownloadjob.moc:95
#16 0x00007fef8d90fe3f in QMetaObject::activate (sender=0x2def350, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2e0d901) at kernel/qobject.cpp:3293
#17 0x00007fef8dd14b82 in KJob::result (this=0x7fff2fba6720, _t1=0x2def350) at ./kjob.moc:194
#18 0x00007fef8dd14e20 in KJob::emitResult (this=0x2def350) at ../../kdecore/jobs/kjob.cpp:312
#19 0x00007fef8afce503 in KIO::SimpleJob::slotFinished (this=0x2def350) at ../../kio/kio/job.cpp:486
#20 0x00007fef8afceec7 in KIO::TransferJob::slotFinished (this=0x2def350) at ../../kio/kio/job.cpp:1058
#21 0x00007fef8afccaf1 in KIO::TransferJob::qt_metacall (this=0x2def350, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2fba7110) at ./jobclasses.moc:367
#22 0x00007fef8d90fe3f in QMetaObject::activate (sender=0x2c22580, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2e0d901) at kernel/qobject.cpp:3293
#23 0x00007fef8b08e271 in KIO::SlaveInterface::dispatch (this=0x2c22580, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#24 0x00007fef8b08b5e3 in KIO::SlaveInterface::dispatch (this=0x2c22580) at ../../kio/kio/slaveinterface.cpp:91
#25 0x00007fef8b07fa46 in KIO::Slave::gotInput (this=0x2c22580) at ../../kio/kio/slave.cpp:324
#26 0x00007fef8b07fc2c in KIO::Slave::qt_metacall (this=0x2c22580, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2fba7530) at ./slave.moc:82
#27 0x00007fef8d90fe3f in QMetaObject::activate (sender=0x2b43d00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2e0d901) at kernel/qobject.cpp:3293
#28 0x00007fef8af9d9d7 in KIO::ConnectionPrivate::dequeue (this=0x29bab70) at ../../kio/kio/connection.cpp:82
#29 0x00007fef8af9dafd in KIO::Connection::qt_metacall (this=0x2b43d00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2df8120) at ./connection.moc:79
#30 0x00007fef8d90cd49 in QObject::event (this=0x2b43d00, e=0x2dd7a60) at kernel/qobject.cpp:1248
#31 0x00007fef8e27122c in QApplicationPrivate::notify_helper (this=0x24b47b0, receiver=0x2b43d00, e=0x2dd7a60) at kernel/qapplication.cpp:4300
#32 0x00007fef8e2776fb in QApplication::notify (this=0x7fff2fba7fd0, receiver=0x2b43d00, e=0x2dd7a60) at kernel/qapplication.cpp:4183
#33 0x00007fef90523526 in KApplication::notify (this=0x7fff2fba7fd0, receiver=0x2b43d00, event=0x2dd7a60) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x00007fef8d8fd06c in QCoreApplication::notifyInternal (this=0x7fff2fba7fd0, receiver=0x2b43d00, event=0x2dd7a60) at kernel/qcoreapplication.cpp:704
#35 0x00007fef8d8ff7e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x2481c60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x2481c60) at kernel/qcoreapplication.cpp:1345
#37 0x00007fef8d9269d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#39 0x00007fef86ab78c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007fef86abb748 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007fef86abb8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007fef8d926513 in QEventDispatcherGlib::processEvents (this=0x24817a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007fef8e32146e in QGuiEventDispatcherGlib::processEvents (this=0x7fff2fba6720, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007fef8d8fb992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007fef8d8fbd6c in QEventLoop::exec (this=0x7fff2fba7f80, flags=) at kernel/qeventloop.cpp:201
#46 0x00007fef8d8ffaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0x00000000004085aa in main (argc=<value optimized out>, argv=<value optimized out>) at ../../korganizer/main.cpp:61

Possible duplicates by query: bug 232588, bug 230065, bug 228888.

Reported using DrKonqi
Comment 1 Sergio Martins 2011-06-12 08:19:47 UTC
Fixed in kdepim 4.6.