Bug 278214 - Kontact crashes while editing calendar
Summary: Kontact crashes while editing calendar
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.6.1
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 278215 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-21 18:10 UTC by Donald J. Stewart
Modified: 2013-08-13 00:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Donald J. Stewart 2011-07-21 18:10:22 UTC
Application: kontact (4.6.1)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-gentoo-r2 x86_64
Distribution (Platform): Gentoo Packages

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

I was editing the std.ics in calendar when kontact crashed...

I also noticed in opening calendar that my calendar had taken the std.ics from over a year ago and the most recent std.ics could not be found...

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7f92f322b700 (LWP 4391)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9304aeb994 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f9300402d1c in start_thread (arg=0x7f92f322b700) at pthread_create.c:301
#3  0x00007f930565d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f9308081760 (LWP 4390)):
[KCrash Handler]
#6  deref (this=0x2ffc3b8, abegin=<value optimized out>, aend=<value optimized out>) at /usr/include/qt4/QtCore/qatomic_x86_64.h:133
#7  deref (this=0x2ffc3b8, abegin=<value optimized out>, aend=<value optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:332
#8  internalSet (this=0x2ffc3b8, abegin=<value optimized out>, aend=<value optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:440
#9  internalCopy<KCalCore::Event> (this=0x2ffc3b8, abegin=<value optimized out>, aend=<value optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:398
#10 operator= (this=0x2ffc3b8, abegin=<value optimized out>, aend=<value optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:468
#11 qCopy<QSharedPointer<KCalCore::Event>*, QSharedPointer<KCalCore::Event>*> (this=0x2ffc3b8, abegin=<value optimized out>, aend=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:82
#12 QVector<QSharedPointer<KCalCore::Event> >::erase (this=0x2ffc3b8, abegin=<value optimized out>, aend=<value optimized out>) at /usr/include/qt4/QtCore/qvector.h:606
#13 0x00007f92fc116114 in remove (c=..., x=<value optimized out>) at /usr/include/qt4/QtCore/qvector.h:364
#14 removeAllICal<KCalCore::Event> (c=..., x=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.6.5/work/kdepimlibs-4.6.5/kcalcore/icalformat_p.cpp:79
#15 0x00007f92fc1147a4 in KCalCore::ICalFormatImpl::populate (this=0x2f26d20, cal=..., calendar=0x2df7f90, deleted=false, notebook=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.6.5/work/kdepimlibs-4.6.5/kcalcore/icalformat_p.cpp:2659
#16 0x00007f92fc1033cb in KCalCore::ICalFormat::fromRawString (this=0x2f96950, cal=..., string=<value optimized out>, deleted=false, notebook=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.6.5/work/kdepimlibs-4.6.5/kcalcore/icalformat.cpp:184
#17 0x00007f92fc103955 in KCalCore::ICalFormat::load (this=0x2f96950, calendar=..., fileName=...) at /var/tmp/portage/kde-base/kdepimlibs-4.6.5/work/kdepimlibs-4.6.5/kcalcore/icalformat.cpp:97
#18 0x00007f92fc0fe80b in KCalCore::FileStorage::load (this=0x7fffe1a0d690) at /var/tmp/portage/kde-base/kdepimlibs-4.6.5/work/kdepimlibs-4.6.5/kcalcore/filestorage.cpp:110
#19 0x00007f92f12c8e05 in CalendarSupport::EventArchiver::archiveIncidences (this=0x7fffe1a0dd00, calendar=<value optimized out>, changer=0x7fffe1a0dce0, limitDate=<value optimized out>, widget=0x15cdc70, incidences=..., withGUI=false) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.1/work/kdepim-common-libs-4.6.1/calendarsupport/eventarchiver.cpp:237
#20 0x00007f92f12c98b5 in CalendarSupport::EventArchiver::run (this=0x7fffe1a0dd00, calendar=0x2456fa0, changer=0x7fffe1a0dce0, limitDate=..., widget=0x15cdc70, withGUI=false, errorIfNone=false) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.1/work/kdepim-common-libs-4.6.1/calendarsupport/eventarchiver.cpp:135
#21 0x00007f92f12c9da4 in CalendarSupport::EventArchiver::runAuto (this=0x7fffe1a0dd00, calendar=0x2456fa0, changer=0x7fffe1a0dce0, widget=0x15cdc70, withGUI=false) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.1/work/kdepim-common-libs-4.6.1/calendarsupport/eventarchiver.cpp:85
#22 0x00007f92e9dd23d5 in ActionManager::slotAutoArchive (this=0x241aa30) at /var/tmp/portage/kde-base/korganizer-4.6.1/work/korganizer-4.6.1/korganizer/actionmanager.cpp:2071
#23 0x00007f92e9de1b5d in ActionManager::qt_metacall (this=0x241aa30, _c=QMetaObject::InvokeMetaMethod, _id=58, _a=0x7fffe1a0de00) at /var/tmp/portage/kde-base/korganizer-4.6.1/work/korganizer-4.6.1_build/korganizer/actionmanager.moc:262
#24 0x00007f9305d8d897 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f9305d8d0d1 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007f9306745a24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f930674a50a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007f9307438b86 in KApplication::notify (this=0x7fffe1a0e880, receiver=0x261b970, event=0x7fffe1a0e540) at /var/tmp/portage/kde-base/kdelibs-4.6.5/work/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#29 0x00007f9305d79483 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007f9305da625e in ?? () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007f9305da33c8 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007f92ffea6982 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f92ffea7130 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f92ffea73cd in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f9305da3a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#36 0x00007f93067e944e in ?? () from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007f9305d788a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#38 0x00007f9305d78ae4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#39 0x00007f9305d7ce63 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#40 0x0000000000404447 in main (argc=1, argv=0x7fffe1a0eea8) at /var/tmp/portage/kde-base/kontact-4.6.1/work/kontact-4.6.1/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2011-07-22 09:07:21 UTC
*** Bug 278215 has been marked as a duplicate of this bug. ***
Comment 2 Sergio Martins 2011-08-01 21:21:39 UTC
Git commit 128ca3c1a1bb8af03e3e529fdb00c910a1ea45c5 by Sergio Martins.
Committed on 01/08/2011 at 23:12.
Pushed by smartins into branch 'master'.

Use a qCritical() instead of a qDebug().

CCBUG: 278214

M  +2    -1    kcalcore/icalformat_p.cpp

http://commits.kde.org/kdepimlibs/128ca3c1a1bb8af03e3e529fdb00c910a1ea45c5
Comment 3 Sergio Martins 2011-08-01 21:23:04 UTC
Git commit 5c231ca747f535f018ea5716e461ca96f92bbac3 by Sergio Martins.
Committed on 01/08/2011 at 23:12.
Pushed by smartins into branch '4.7'.

Use a qCritical() instead of a qDebug().

CCBUG: 278214
(cherry picked from commit 128ca3c1a1bb8af03e3e529fdb00c910a1ea45c5)

M  +2    -1    kcalcore/icalformat_p.cpp

http://commits.kde.org/kdepimlibs/5c231ca747f535f018ea5716e461ca96f92bbac3
Comment 4 Sergio Martins 2013-08-13 00:04:21 UTC
Please retest.