Bug 176991 - kontact crash when adding event to calendar (debug backtrace) [KCal::IncidenceBase::uid, KOEventViewer::changeIncidenceDisplay, CalendarView::incidenceAdded]
Summary: kontact crash when adding event to calendar (debug backtrace) [KCal::Incidenc...
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.1.3
Platform: Ubuntu Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 181341 187075 195805 202625 204209 207732 209136 210257 214783 217788 219502 220981 231307 234279 235407 236205 245256 252251 253426 262749 270981 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-05 16:48 UTC by doc.evans
Modified: 2021-03-27 22:50 UTC (History)
26 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi: --- I am use Akonady like kalendar source. Calendar crash when I want add new entry and I confirmed "add dialog" by Enter button... (5.84 KB, text/plain)
2010-01-05 21:03 UTC, Lukáš Karas
Details
New crash information added by DrKonqi (6.04 KB, text/plain)
2010-05-19 07:14 UTC, Greg Trounson
Details
New crash information added by DrKonqi (6.75 KB, text/plain)
2011-02-16 22:38 UTC, Fabian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description doc.evans 2008-12-05 16:48:19 UTC
Version:            (using KDE 4.1.3)
Installed from:    Ubuntu Packages

I just added an event to a calendar and received a SIGSEGV (signal 11) crash:

Application: Kontact (kontact), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f1701be86f0 (LWP 10768)]
[KCrash handler]
#5  KCal::IncidenceBase::uid (this=0x9535870)
    at /usr/include/qt4/QtCore/qatomic_x86_64.h:117
#6  0x00007f16e74b4c1c in KOEventViewer::changeIncidenceDisplay ()
   from /usr/lib/libkorganizer_eventviewer.so.4
#7  0x00007f16e7c66d27 in CalendarView::incidenceAdded ()
   from /usr/lib/libkorganizerprivate.so.4
#8  0x00007f16e7c711e2 in CalendarView::qt_metacall ()
   from /usr/lib/libkorganizerprivate.so.4
#9  0x00007f1701735134 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#10 0x00007f16e7930cdf in KOrg::IncidenceChangerBase::incidenceAdded ()
   from /usr/lib/libkorganizer_interfaces.so.4
#11 0x00007f16e7d0752b in IncidenceChanger::addIncidence ()
   from /usr/lib/libkorganizerprivate.so.4
#12 0x00007f16e7c8657f in ?? () from /usr/lib/libkorganizerprivate.so.4
#13 0x00007f16e7c80a49 in ?? () from /usr/lib/libkorganizerprivate.so.4
#14 0x00007f16e7c8103d in ?? () from /usr/lib/libkorganizerprivate.so.4
#15 0x00007f16e7c84fd6 in ?? () from /usr/lib/libkorganizerprivate.so.4
#16 0x00007f1701735134 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#17 0x00007f1700d0c8b8 in KDialog::slotButtonClicked (this=0x8e12b10, 
    button=4) at /build/buildd/kde4libs-4.1.3/kdeui/dialogs/kdialog.cpp:844
#18 0x00007f1700d0ca3d in KDialog::qt_metacall (this=0x8e12b10, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff09c27690)
    at /build/buildd/kde4libs-4.1.3/obj-x86_64-linux-gnu/kdeui/kdialog.moc:181
#19 0x00007f1700dc89f6 in KPageDialog::qt_metacall (this=0x7fff09c26d70, 
    _c=156457072, _id=0, _a=0x0)
    at /build/buildd/kde4libs-4.1.3/obj-x86_64-linux-gnu/kdeui/kpagedialog.moc:63
#20 0x00007f16e7c80e25 in ?? () from /usr/lib/libkorganizerprivate.so.4
#21 0x00007f16e7c84fd6 in ?? () from /usr/lib/libkorganizerprivate.so.4
#22 0x00007f1701735134 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#23 0x00007f1701738e0e in QSignalMapper::mapped ()
   from /usr/lib/libQtCore.so.4
#24 0x00007f17017396b0 in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#25 0x00007f170173a2a0 in QSignalMapper::qt_metacall ()
   from /usr/lib/libQtCore.so.4
#26 0x00007f1701735134 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#27 0x00007f16fffdd787 in QAbstractButton::clicked ()
   from /usr/lib/libQtGui.so.4
#28 0x00007f16ffd618db in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007f16ffd634a2 in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007f16ffd636f5 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#31 0x00007f16ffaa9329 in QWidget::event () from /usr/lib/libQtGui.so.4
#32 0x00007f16ffa56c3d in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#33 0x00007f16ffa5f22a in QApplication::notify () from /usr/lib/libQtGui.so.4
#34 0x00007f1700d9cfcb in KApplication::notify (this=0x7fff09c28e10, 
    receiver=0x92afdf0, event=0x7fff09c27fd0)
    at /build/buildd/kde4libs-4.1.3/kdeui/kernel/kapplication.cpp:311
#35 0x00007f1701720d61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#36 0x00007f16ffa5e5c8 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#37 0x00007f16ffac2be9 in ?? () from /usr/lib/libQtGui.so.4
#38 0x00007f16ffac1607 in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
#39 0x00007f16ffae92c4 in ?? () from /usr/lib/libQtGui.so.4
#40 0x00007f16fe95bd3b in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#41 0x00007f16fe95f50d in ?? () from /usr/lib/libglib-2.0.so.0
#42 0x00007f16fe95f6cb in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#43 0x00007f170174915f in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#44 0x00007f16ffae8a6f in ?? () from /usr/lib/libQtGui.so.4
#45 0x00007f170171f682 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#46 0x00007f170171f80d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#47 0x00007f1701721cbd in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#48 0x00000000004048e5 in _start ()
#0  0x00007f16ff2b55f0 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 1 Dario Andres 2009-01-19 22:09:50 UTC
*** Bug 181341 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2009-01-19 22:10:21 UTC
Bug 181341 contains a full backtrace
Comment 3 Sergio Martins 2009-02-11 23:38:36 UTC
Pasting backtrace from the dup, it has debug symbols:

Anwendung: Kontact (kontact), Signal SIGSEGV [?1034h[Thread debugging using libthread_db enabled] [New Thread 0xb0cd4b90 (LWP 3996)] [KCrash handler] #6 0xb625aa6c in KCal::IncidenceBase::uid (this=0x9523778) at /usr/include/QtCore/qstring.h:670 #7 0xaf8052c6 in KOEventViewer::changeIncidenceDisplay (this=0x932ca48, incidence=0x9746d00, action=0) at /usr/src/debug/kdepim-4.1.3/korganizer/koeventviewer.cpp:135 #8 0xaf9771fe in CalendarView::changeIncidenceDisplay (this=0x92eb978, incidence=0x9746d00, action=0) at /usr/src/debug/kdepim-4.1.3/korganizer/calendarview.cpp:768 #9 0xaf97fef3 in CalendarView::incidenceAdded (this=0x92eb978, incidence=0x9746d00) at /usr/src/debug/kdepim-4.1.3/korganizer/calendarview.cpp:641 #10 0xaf9845d7 in CalendarView::qt_metacall (this=0x92eb978, _c=QMetaObject::InvokeMetaMethod, _id=90, _a=0xbf92192c) at /usr/src/debug/kdepim-4.1.3/build/korganizer/calendarview.moc:477 #11 0xb7f11580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #12 0xb7f12302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #13 0xb02e6f63 in KOrg::IncidenceChangerBase::incidenceAdded (this=0x93405b0, _t1=0x9746d00) at /usr/src/debug/kdepim-4.1.3/build/korganizer/interfaces/korganizer/incidencechangerbase.moc:92 #14 0xafa1dfd2 in IncidenceChanger::addIncidence (this=0x93405b0, incidence=0x9746d00, parent=0x96ca010) at /usr/src/debug/kdepim-4.1.3/korganizer/incidencechanger.cpp:367 #15 0xaf999d20 in KOTodoEditor::processInput (this=0x96ca010) at /usr/src/debug/kdepim-4.1.3/korganizer/kotodoeditor.cpp:252 #16 0xaf994c86 in KOIncidenceEditor::slotOk (this=0x96ca010) at /usr/src/debug/kdepim-4.1.3/korganizer/koincidenceeditor.cpp:118 #17 0xaf995918 in KOIncidenceEditor::qt_metacall (this=0x96ca010, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbf921b18) at /usr/src/debug/kdepim-4.1.3/build/korganizer/koincidenceeditor.moc:126 #18 0xaf99a28a in KOTodoEditor::qt_metacall (this=0x96ca010, _c=QMetaObject::InvokeMetaMethod, _id=90, _a=0xbf921b18) at /usr/src/debug/kdepim-4.1.3/build/korganizer/kotodoeditor.moc:63 #19 0xb7f11580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #20 0xb7f12302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #21 0xb7925fb7 in KDialog::okClicked() () from /usr/lib/libkdeui.so.5 #22 0xb7928a58 in KDialog::slotButtonClicked(int) () from /usr/lib/libkdeui.so.5 #23 0xb7929dc4 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5 #24 0xb79e7a8a in KPageDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5 #25 0xaf9956ca in KOIncidenceEditor::qt_metacall (this=0x96ca010, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbf921d4c) at /usr/src/debug/kdepim-4.1.3/build/korganizer/koincidenceeditor.moc:104 #26 0xaf99a28a in KOTodoEditor::qt_metacall (this=0x96ca010, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbf921d4c) at /usr/src/debug/kdepim-4.1.3/build/korganizer/kotodoeditor.moc:63 #27 0xb7f11580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #28 0xb7f12302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #29 0xb7f15393 in QSignalMapper::mapped(int) () from /usr/lib/libQtCore.so.4 #30 0xb7f15c1d in QSignalMapper::map(QObject*) () from /usr/lib/libQtCore.so.4 #31 0xb7f15e0e in QSignalMapper::map() () from /usr/lib/libQtCore.so.4 #32 0xb7f1674b in QSignalMapper::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #33 0xb7f11580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #34 0xb7f11980 in QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) () from /usr/lib/libQtCore.so.4 #35 0xb5dfe5e1 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4 #36 0xb5b51d19 in ?? () from /usr/lib/libQtGui.so.4 #37 0xb5b51e32 in QAbstractButton::click() () from /usr/lib/libQtGui.so.4 #38 0xb5c7d4cc in QDialog::keyPressEvent(QKeyEvent*) () from /usr/lib/libQtGui.so.4 #39 0xb7926c40 in KDialog::keyPressEvent(QKeyEvent*) () from /usr/lib/libkdeui.so.5 #40 0xb586991e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #41 0xb58118fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #42 0xb581a836 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #43 0xb79b941d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #44 0xb7efc961 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #45 0xb58724be in ?? () from /usr/lib/libQtGui.so.4 #46 0xb58a7470 in ?? () from /usr/lib/libQtGui.so.4 #47 0xb58a9606 in ?? () from /usr/lib/libQtGui.so.4 #48 0xb5881bd5 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #49 0xb58ab08a in ?? () from /usr/lib/libQtGui.so.4 #50 0xb51889a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #51 0xb518c063 in ?? () from /usr/lib/libglib-2.0.so.0 #52 0xb518c221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #53 0xb7f26fb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #54 0xb58aa785 in ?? () from /usr/lib/libQtGui.so.4 #55 0xb7efb01a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #56 0xb7efb1da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #57 0xb7efd895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #58 0xb5811777 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #59 0x0804c19f in main (argc=1, argv=0xbf923184) at /usr/src/debug/kdepim-4.1.3/kontact/src/main.cpp:218 
Comment 4 Sergio Martins 2009-02-12 00:03:18 UTC
Sorry for the mess, I'm having problems with copy-paste on firefox.

Looks like an event with a null uid is being created.
Comment 5 Allen Winter 2009-02-17 01:39:46 UTC
I wonder if this crash has happened to you all using KDE 4.2 or KDE 4.1.4?
Comment 6 Sergio Martins 2009-02-21 06:22:55 UTC
(In reply to comment #5)
> I wonder if this crash has happened to you all using KDE 4.2 or KDE 4.1.4?

All 3 backtraces are from 4.1.3
Comment 7 Sergio Martins 2009-03-12 17:31:39 UTC
I just got this backtrace while investigating bug 180221.

It's a localdir resource problem and both dups (comment #1 and comment #2) say they're using localdir.

doc.evans, are you using a localdir resource too?
Comment 8 doc.evans 2009-03-12 18:03:52 UTC
(In reply to comment #7)

> 
> doc.evans, are you using a localdir resource too?

It was (I am about 99% sure of this) a "Calendar in remote file" webdav resource.
Comment 9 Sergio Martins 2009-03-13 22:46:43 UTC
*** Bug 187075 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2009-06-09 19:21:10 UTC
*** Bug 195805 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-08-05 19:21:03 UTC
*** Bug 202625 has been marked as a duplicate of this bug. ***
Comment 12 Christophe Marin 2009-08-17 23:00:43 UTC
*** Bug 204209 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2009-09-19 18:51:56 UTC
Bug 207732 seems to be like this but in a remote file on KDE4.3.1. Is it properly related to this ? Thanks
Comment 14 Christophe Marin 2009-10-01 21:20:06 UTC
*** Bug 209136 has been marked as a duplicate of this bug. ***
Comment 15 Christophe Marin 2009-11-15 02:27:22 UTC
*** Bug 210257 has been marked as a duplicate of this bug. ***
Comment 16 Christophe Marin 2009-11-16 10:33:47 UTC
*** Bug 207732 has been marked as a duplicate of this bug. ***
Comment 17 Christophe Marin 2009-11-16 13:55:08 UTC
*** Bug 214783 has been marked as a duplicate of this bug. ***
Comment 18 Dario Andres 2009-12-22 01:13:37 UTC
From bug 219502:
---
What I was doing when the application crashed:
When adding a new event, upon choosing a WebDav calendar to which the event is
to be added, korganizer crashes.  This happens about 50% of the time.
Comment 19 Dario Andres 2009-12-22 01:16:11 UTC
*** Bug 219502 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2010-01-02 20:49:36 UTC
*** Bug 220981 has been marked as a duplicate of this bug. ***
Comment 21 Lukáš Karas 2010-01-05 21:03:36 UTC
Created attachment 39597 [details]
New crash information added by DrKonqi:
---
I am use Akonady like kalendar source. Calendar crash when I want add new entry and I confirmed "add dialog" by Enter button...
Comment 22 Dario Andres 2010-03-19 14:19:51 UTC
*** Bug 217788 has been marked as a duplicate of this bug. ***
Comment 23 Dario Andres 2010-03-19 14:21:01 UTC
*** Bug 231307 has been marked as a duplicate of this bug. ***
Comment 24 Dario Andres 2010-03-19 14:21:36 UTC
From bug 231307:
What I was doing when the application crashed:
Clicked on the event
CTRL + C
clicked to remove the tick of this calendar
CTRL + V
Crash
Comment 25 Greg Trounson 2010-05-19 07:14:58 UTC
Created attachment 43709 [details]
New crash information added by DrKonqi

Debug information from another crash when adding an event to a WebDAV calendar
Comment 26 Christophe Marin 2010-10-15 23:39:43 UTC
*** Bug 253426 has been marked as a duplicate of this bug. ***
Comment 27 Christophe Marin 2010-10-15 23:40:52 UTC
*** Bug 252251 has been marked as a duplicate of this bug. ***
Comment 28 Christophe Marin 2010-12-20 14:45:16 UTC
*** Bug 245256 has been marked as a duplicate of this bug. ***
Comment 29 Christophe Marin 2010-12-20 14:46:39 UTC
*** Bug 236205 has been marked as a duplicate of this bug. ***
Comment 30 Christophe Marin 2010-12-20 14:46:55 UTC
*** Bug 235407 has been marked as a duplicate of this bug. ***
Comment 31 Christophe Marin 2010-12-20 14:47:11 UTC
*** Bug 234279 has been marked as a duplicate of this bug. ***
Comment 32 Christophe Marin 2011-01-10 17:33:20 UTC
from bug 262749: (with Kontact 4.4.6)

-- Information about the crash:
I tried to save my appointment to my google calendar. Korganizer uses akonadi
to communicate with google. The package used is
akonadi-kde-resources-googledata.
Comment 33 Christophe Marin 2011-01-10 17:33:27 UTC
*** Bug 262749 has been marked as a duplicate of this bug. ***
Comment 34 Fabian 2011-02-16 22:38:34 UTC
Created attachment 57313 [details]
New crash information added by DrKonqi

kontact (4.4.9) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

- What I was doing when the application crashed:

I added a new appointment to a remote ics calendar (on a webdav resource via akonadi) using these steps:
* (Calendar open in Kontact)
* double-clicked day to add appointment to
* "New Event"-dialogue opened
* changed title
* changed end date
* clicked "ok"
* --> Kontact crashed

Happens maybe 30% to 50% of all times

-- Backtrace (Reduced):
#6  ref (this=0xc611e20) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QString (this=0xc611e20) at /usr/include/qt4/QtCore/qstring.h:728
#8  KCal::IncidenceBase::uid (this=0xc611e20) at ../../kcal/incidencebase.cpp:185
#9  0x00007f2da4475cc9 in KOEventViewer::changeIncidenceDisplay (this=0x31ce2e0, incidence=0xc8c10d0, date=..., action=0) at ../../korganizer/koeventviewer.cpp:143
#10 0x00007f2da4e73914 in CalendarView::changeIncidenceDisplay (this=0x30ebb20, incidence=0xc8c10d0, action=0) at ../../korganizer/calendarview.cpp:794
Comment 35 Christophe Marin 2011-04-15 11:48:43 UTC
*** Bug 270981 has been marked as a duplicate of this bug. ***
Comment 36 Sergio Martins 2011-06-04 16:32:43 UTC
Korganizer doesn't use KCal anymore, it uses KCalCore which uses QSharedPointers.

So this doesn't happen anymore.