Kontact crash on summary view in KCal::IncidenceBase::uid()

Bug #384983 reported by Paolo Sammicheli
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kdepimlibs
Unknown
High
kdepimlibs (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Every time I open summary view in KMail, it crash.

$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

$ apt-cache policy kontact
kontact:
  Installato: 4:4.2.4-0ubuntu1~jaunty1~ppa2
  Candidato: 4:4.2.4-0ubuntu1~jaunty1~ppa2
  Tabella versione:
 *** 4:4.2.4-0ubuntu1~jaunty1~ppa2 0
        500 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status
     4:4.2.2-0ubuntu1 0
        500 http://it.archive.ubuntu.com jaunty/main Packages

It appens both with 4.2.2 and 4.2.4 package.

Revision history for this message
Paolo Sammicheli (xdatap1) wrote :

Attached backtrace

affects: kdepim (Ubuntu) → kdepimlibs (Ubuntu)
Revision history for this message
In , Matthew Carpenter (matt-eisgr) wrote :
Download full text (4.1 KiB)

Version: 4.2.2 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler: cc
OS: Linux (i686) release 2.6.28-14-generic

I added some entry to my calendar, and while archiving (and possibly other things), korganizer and kontact both segv

Periodically korganizer and kontact crash since adding this entry, and they don't crash when I uncheck this particular calendar. When I have the calendar enabled and run archiving it is guaranteed to crash.

Application: KOrganizer (korganizer), signal SIGSEGV

Thread 1 (Thread 0xb4c8a700 (LWP 9329)):
[KCrash Handler]
#6 0xb7a1f0a1 in KCal::IncidenceBase::uid () from /usr/lib/libkcal.so.4
#7 0xb7a4eae3 in KCal::Calendar::removeRelations () from /usr/lib/libkcal.so.4
#8 0xb7a52eff in KCal::CalendarLocal::deleteTodo () from /usr/lib/libkcal.so.4
#9 0xb7aa0967 in KCal::ResourceCached::deleteTodo () from /usr/lib/libkcal.so.4
#10 0xb7aaa90d in KCal::CalendarResources::deleteTodo () from /usr/lib/libkcal.so.4
#11 0xb7a4f19e in KCal::Incidence::DeleteVisitor<KCal::Calendar>::visit () from /usr/lib/libkcal.so.4
#12 0xb7a2a2b8 in ?? () from /usr/lib/libkcal.so.4
#13 0xb7a479e6 in KCal::Calendar::deleteIncidence () from /usr/lib/libkcal.so.4
#14 0xb7820ad7 in ?? () from /usr/lib/libkorganizerprivate.so.4
#15 0xb78214a8 in ?? () from /usr/lib/libkorganizerprivate.so.4
#16 0xb7821c4d in ?? () from /usr/lib/libkorganizerprivate.so.4
#17 0xb778fad1 in ?? () from /usr/lib/libkorganizerprivate.so.4
#18 0xb778fd48 in ?? () from /usr/lib/libkorganizerprivate.so.4
#19 0xb60aaca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb60ab932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb7d245c7 in KDialog::user1Clicked () from /usr/lib/libkdeui.so.5
#22 0xb7d26e4d in KDialog::slotButtonClicked () from /usr/lib/libkdeui.so.5
#23 0xb7d28374 in KDialog::qt_metacall () from /usr/lib/libkdeui.so.5
#24 0xb778fcea in ?? () from /usr/lib/libkorganizerprivate.so.4
#25 0xb60aaca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb60ab932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb60adbe3 in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4
#28 0xb60ae46d in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#29 0xb60ae65e in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#30 0xb60aef2b in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4
#31 0xb60aaca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb60ab0e0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0xb6c1d2b1 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#34 0xb69480b9 in ?? () from /usr/lib/libQtGui.so.4
#35 0xb6949d14 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb6949fa6 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#37 0xb65bdb43 in QWidget::event () from /usr/lib/libQtGui.so.4
#38 0xb6947f5e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#39 0xb69f2f20 in QPushButton::event () from /usr/lib/libQtGui.so.4
#40 0xb6566e9c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#41 0xb656fb11 in QApplication::notify () from /usr/lib/libQtGui.so.4
#42 0xb7dbd94d in KApplication::notify (...

Read more...

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

As you can reproduce the crash oftenly, can you install the "kdepimlibs-dbg" and "kdepim-dbg" packages in order to get a complete backtrace the next time to paste it here? Thanks

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at: http://bugs.kde.org/show_bug.cgi?id=201364

Changed in kdepimlibs (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Changed in kdepimlibs:
status: Unknown → New
Revision history for this message
In , Jonathan Thomas (echidnaman) wrote :
Download full text (7.7 KiB)

This bug was also reported to us downstream at Launchpad. It turned out to be a duplicate of another bug that nobody got around to forwarding here...

Anyway, the bug, https://launchpad.net/bugs/384983 has an almost-complete backtrace which is just missing a few lines from the KIO libs. It would be nice if you could install kdepim-dbg and get a new backtrace, preferrably with KDE 4.2.4 if possible: (http://www.kubuntu.org/news/kde-4.2.4)

Here's the backtrace.

Applicazione: Kontact (kontact), segnale SIGSEGV
[Current thread is 0 (LWP 4805)]

Thread 2 (Thread 0xb02bfb90 (LWP 4904)):
#0 0xb8016430 in __kernel_vsyscall ()
#1 0xb5164412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb597e344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3 0xb5b6a98c in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4 0xb5b5fe76 in ?? () from /usr/lib/libQtCore.so.4
#5 0xb5b6996e in ?? () from /usr/lib/libQtCore.so.4
#6 0xb51604ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb596f49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb487a700 (LWP 4805)):
[KCrash Handler]
#6 0xb730adfc in KCal::IncidenceBase::uid () from /usr/lib/libkcal.so.4
#7 0xb738f659 in KCal::ResourceCached::clearChange () from /usr/lib/libkcal.so.4
#8 0xaf9f7374 in KCal::ResourceRemote::slotSaveJobResult () from /usr/lib/libkcal_resourceremote.so.4
#9 0xaf9f7887 in KCal::ResourceRemote::qt_metacall () from /usr/lib/libkcal_resourceremote.so.4
#10 0xb5c73ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb5c74932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb5e97b93 in KJob::result () from /usr/lib/libkdecore.so.5
#13 0xb5e98039 in KJob::emitResult () from /usr/lib/libkdecore.so.5
#14 0xb6fc4838 in KIO::FileCopyJob::slotResult () from /usr/lib/libkio.so.5
#15 0xb6fc1a8f in KIO::FileCopyJob::qt_metacall () from /usr/lib/libkio.so.5
#16 0xb5c73ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb5c74932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb5e97b93 in KJob::result () from /usr/lib/libkdecore.so.5
#19 0xb5e98039 in KJob::emitResult () from /usr/lib/libkdecore.so.5
#20 0xb6fbeab5 in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.5
#21 0xb6fbfd23 in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.5
#22 0xb6fc0e0b in KIO::TransferJob::qt_metacall () from /usr/lib/libkio.so.5
#23 0xb5c73ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb5c74932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb707d107 in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.5
#26 0xb7080e47 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#27 0xb707d5e7 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#28 0xb706d98d in KIO::Slave::gotInput () from /usr/lib/libkio.so.5
#29 0xb706fee3 in KIO::Slave::qt_metacall () from /usr/lib/libkio.so.5
#30 0xb5c73ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb5c74932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb6f84ea7 in KIO::Connection::readyRead () from /usr/lib/libkio.so.5
#3...

Read more...

Changed in kdepimlibs (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Paolo Sammicheli (xdatap1) wrote :

Just upgraded to 4.3.1. (Jaunty Jackalope with backport ppa)

It crashed after few seconds I go in summary view, before upgrading it was crashing immediatly. (So, it's better than before :D )

Attached bugtrace

summary: - Kontact crash on summary view
+ Kontact crash on summary view in KCal::IncidenceBase::uid()
Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 208156 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :
Download full text (4.7 KiB)

Bt from 208156:

Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5 KCal::IncidenceBase::uid (this=0x7f4bbc01c2b0) at
/usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6 0x00007f4be4e346e7 in KCal::Calendar::removeRelations (this=0x28bf230,
incidence=0x2a6a790) at /build/buildd/kdepimlibs-4.3.1/kcal/calendar.cpp:873
#7 0x00007f4be4e380dc in KCal::CalendarLocal::deleteTodo (this=0x7fff4ce582a0,
todo=0x7f4bbc01c2b0) at
/build/buildd/kdepimlibs-4.3.1/kcal/calendarlocal.cpp:267
#8 0x00007f4be4e34d81 in KCal::Incidence::DeleteVisitor<KCal::Calendar>::visit
(this=<value optimized out>, t=0x7f4bbc01c2b0) at
/build/buildd/kdepimlibs-4.3.1/kcal/incidence.h:123
#9 0x00007f4be4e2dc3a in KCal::Calendar::deleteIncidence (this=0x28bf230,
incidence=0x2a6a790) at /build/buildd/kdepimlibs-4.3.1/kcal/calendar.cpp:438
#10 0x00007f4bc5048ee1 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#11 0x00007f4bc50490f0 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#12 0x00007f4be13faea2 in QMetaObject::activate (sender=0x294d230,
from_signal_index=<value optimized out>, to_signal_index=6, argv=0x1) at
kernel/qobject.cpp:3113
#13 0x00007f4bc504f84a in ?? () from /usr/lib/kde4/kcal_akonadi.so
#14 0x00007f4bc505001d in ?? () from /usr/lib/kde4/kcal_akonadi.so
#15 0x00007f4bc506787a in ?? () from /usr/lib/kde4/kcal_akonadi.so
#16 0x00007f4bc504339b in ?? () from /usr/lib/kde4/kcal_akonadi.so
#17 0x00007f4bc36a8895 in ResourceItem::stateChange (this=0x2a402b0,
active=true) at /build/buildd/kdepim-4.3.1/korganizer/resourceview.cpp:197
#18 0x00007f4bc36a8912 in ResourceView::slotItemClicked (this=<value optimized
out>, i=0x2a402b0) at
/build/buildd/kdepim-4.3.1/korganizer/resourceview.cpp:817
#19 0x00007f4bc36ac611 in ResourceView::qt_metacall (this=0x2a355e0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4ce588a0)
    at
/build/buildd/kdepim-4.3.1/obj-x86_64-linux-gnu/korganizer/resourceview.moc:121
#20 0x00007f4be13faea2 in QMetaObject::activate (sender=0x2a35520,
from_signal_index=<value optimized out>, to_signal_index=96, argv=0x1) at
kernel/qobject.cpp:3113
#21 0x00007f4be24c9120 in QTreeWidget::itemClicked (this=0x7fff4ce582a0,
_t1=0x2a402b0, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:201
#22 0x00007f4be24d6043 in QTreeWidget::qt_metacall (this=0x2a35520,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4ce589d0)
at .moc/release-shared/moc_qtreewidget.cpp:144
#23 0x00007f4be13faea2 in QMetaObject::activate (sender=0x2a35520,
from_signal_index=<value optimized out>, to_signal_index=32, argv=0x1) at
kernel/qobject.cpp:3113
#24 0x00007f4be244fbc5 in QAbstractItemView::clicked (this=0x7fff4ce582a0,
_t1=<value optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:321
#25 0x00007f4be245cbce in QAbstractItemView::mouseReleaseEvent (this=0x2a35520,
event=0x7fff4ce596f0) at itemviews/qabstractitemview.cpp:1660
#26 0x00007f4be1fb70bf in QWidget::event (this=0x2a35520, event=0x7fff4ce596f0)
at kernel/qwidget.cpp:7549
#27 0x00007f4be2329f0b in QFrame::event (this=0x2a35520, e=0x7fff4ce596f0) at
widgets/qframe.cpp:559
#28 0x00007f4be245fc0d in QAbstractItemView::viewportEvent (this=0x2a35520,
event...

Read more...

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 228888 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 230065 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 232588 has been marked as a duplicate of this bug. ***

Changed in kdepimlibs:
importance: Unknown → High
Revision history for this message
In , iamsergio (iamsergio) wrote :

KCal is deprecated in favor of KCalCore

Changed in kdepimlibs:
status: New → Unknown
Revision history for this message
Harald Sitter (apachelogger) wrote :

Closing in favor of upstream report.

Changed in kdepimlibs (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.