Bug 283337 - Kontact crash after try to open event in calendar
Summary: Kontact crash after try to open event in calendar
Status: RESOLVED DUPLICATE of bug 280313
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.7
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 298675 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-04 18:57 UTC by Karel Pazdera
Modified: 2018-06-17 14:31 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crashing event (5.89 KB, text/calendar)
2011-10-04 19:24 UTC, Karel Pazdera
Details
New crash information added by DrKonqi (9.04 KB, text/plain)
2012-04-16 08:52 UTC, René Serral
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karel Pazdera 2011-10-04 18:57:17 UTC
Application: kontact (4.7.1)
KDE Platform Version: 4.7.1 (4.7.1) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.39-gentoo-r3 x86_64
Distribution (Platform): Gentoo Packages

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

I doubleclicked to event in calendar, which is in the past. Then application crashed

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7f65ec265760 (LWP 8085))]

Thread 2 (Thread 0x7f65d72c1700 (LWP 8086)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f65e8b96ab4 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f65e9335e80) at wtf/FastMalloc.cpp:2378
#2  0x00007f65e8b96ae9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f65e9343f54) at wtf/FastMalloc.cpp:1497
#3  0x00007f65e44e7c1a in start_thread (arg=<value optimized out>) at pthread_create.c:301
#4  0x00007f65e9689dfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f65ec265760 (LWP 8085)):
[KCrash Handler]
#6  0x00007f65e95ea355 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f65e95eb5ef in abort () at abort.c:92
#8  0x00007f65eaa01ba4 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2282
#9  0x00007f65eaa01d52 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f65eab7c218 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fffd0fa31b0) at global/qglobal.cpp:2328
#10 0x00007f65eaa01f05 in qFatal (msg=0x1f95 <Address 0x1f95 out of bounds>) at global/qglobal.cpp:2511
#11 0x00007f65d0f31f45 in IncidenceEditorNG::CombinedIncidenceEditor::load (this=0x1bd08b0, incidence=...) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.1/work/kdepim-common-libs-4.7.1/incidenceeditor-ng/combinedincidenceeditor.cpp:108
#12 0x00007f65d0f67bf1 in IncidenceEditorNG::EventOrTodoDialogPrivate::load (this=0x19ca930, item=...) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.1/work/kdepim-common-libs-4.7.1/incidenceeditor-ng/eventortododialog.cpp:446
#13 0x00007f65d0f2ef05 in IncidenceEditorNG::EditorItemManager::load (this=0x19c9a20, item=...) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.1/work/kdepim-common-libs-4.7.1/incidenceeditor-ng/editoritemmanager.cpp:283
#14 0x00007f65d0f668d4 in IncidenceEditorNG::EventOrTodoDialog::load (this=0x19483d0, item=..., activeDate=...) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.1/work/kdepim-common-libs-4.7.1/incidenceeditor-ng/eventortododialog.cpp:595
#15 0x00007f65c748d4cd in CalendarView::editIncidence (this=0x173ce20, item=..., isCounter=<value optimized out>) at /var/tmp/portage/kde-base/korganizer-4.7.1/work/korganizer-4.7.1/korganizer/calendarview.cpp:2519
#16 0x00007f65c7499ca8 in CalendarView::qt_metacall (this=0x173ce20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd0fa3aa0) at /var/tmp/portage/kde-base/korganizer-4.7.1/work/korganizer-4.7.1_build/korganizer/calendarview.moc:460
#17 0x00007f65eab2837f in QMetaObject::activate (sender=0x186c4e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3278
#18 0x00007f65c79df365 in KOrg::BaseView::editIncidenceSignal (this=0x1f95, _t1=<value optimized out>) at /var/tmp/portage/kde-base/korganizer-4.7.1/work/korganizer-4.7.1_build/korganizer/interfaces/korganizer/baseview.moc:188
#19 0x00007f65c79df4ae in KOrg::BaseView::qt_metacall (this=0x186c4e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd0fa3c80) at /var/tmp/portage/kde-base/korganizer-4.7.1/work/korganizer-4.7.1_build/korganizer/interfaces/korganizer/baseview.moc:133
#20 0x00007f65c74abf25 in KOEventView::qt_metacall (this=0x1f95, _c=8085, _id=6, _a=0xffffffffffffffff) at /var/tmp/portage/kde-base/korganizer-4.7.1/work/korganizer-4.7.1_build/korganizer/koeventview.moc:86
#21 0x00007f65c745a475 in KOAgendaView::qt_metacall (this=0x1f95, _c=8085, _id=6, _a=0xffffffffffffffff) at /var/tmp/portage/kde-base/korganizer-4.7.1/work/korganizer-4.7.1_build/korganizer/koagendaview.moc:113
#22 0x00007f65eab2837f in QMetaObject::activate (sender=0x1875090, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3278
#23 0x00007f65c712e245 in EventViews::EventView::editIncidenceSignal (this=0x1f95, _t1=<value optimized out>) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.1/work/kdepim-common-libs-4.7.1_build/calendarviews/eventviews/eventview.moc:218
#24 0x00007f65c7130021 in EventViews::EventView::qt_metacall (this=0x1875090, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd0fa3e30) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.1/work/kdepim-common-libs-4.7.1_build/calendarviews/eventviews/eventview.moc:146
#25 0x00007f65c7157bca in EventViews::AgendaView::qt_metacall (this=0x1f95, _c=8085, _id=6, _a=0xffffffffffffffff) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.1/work/kdepim-common-libs-4.7.1_build/calendarviews/eventviews/agendaview.moc:184
#26 0x00007f65eab2837f in QMetaObject::activate (sender=0x18f07e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3278
#27 0x00007f65c71393a5 in EventViews::Agenda::editIncidenceSignal (this=0x1f95, _t1=<value optimized out>) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.1/work/kdepim-common-libs-4.7.1_build/calendarviews/eventviews/agenda.moc:264
#28 0x00007f65c7141ff3 in EventViews::Agenda::eventFilter_mouse (this=0x18f07e0, object=<value optimized out>, me=0x7fffd0fa4850) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.1/work/kdepim-common-libs-4.7.1/calendarviews/eventviews/agenda/agenda.cpp:782
#29 0x00007f65c713d12a in EventViews::Agenda::eventFilter (this=0x18f07e0, object=0x142b780, event=0x7fffd0fa4850) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.1/work/kdepim-common-libs-4.7.1/calendarviews/eventviews/agenda/agenda.cpp:498
#30 0x00007f65eab0d578 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x142b780, event=0x7fffd0fa4850) at kernel/qcoreapplication.cpp:846
#31 0x00007f65e9def89c in QApplicationPrivate::notify_helper (this=0x6364f0, receiver=0x142b780, e=0x7fffd0fa4850) at kernel/qapplication.cpp:4458
#32 0x00007f65e9df886e in QApplication::notify (this=0x7fffd0fa5380, receiver=0x142b780, e=0x7fffd0fa4850) at kernel/qapplication.cpp:4023
#33 0x00007f65eb5904e2 in KApplication::notify (this=0x7fffd0fa5380, receiver=0x142b780, event=0x7fffd0fa4850) at /var/tmp/portage/kde-base/kdelibs-4.7.1-r2/work/kdelibs-4.7.1/kdeui/kernel/kapplication.cpp:311
#34 0x00007f65eab0d8db in QCoreApplication::notifyInternal (this=0x7fffd0fa5380, receiver=0x142b780, event=0x7fffd0fa4850) at kernel/qcoreapplication.cpp:731
#35 0x00007f65e9df44c9 in sendEvent (receiver=0x142b780, event=0x7fffd0fa4850, alienWidget=0x142b780, nativeWidget=0x173e400, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0x142b780, event=0x7fffd0fa4850, alienWidget=0x142b780, nativeWidget=0x173e400, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3122
#37 0x00007f65e9e83b64 in QETWidget::translateMouseEvent (this=0x173e400, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#38 0x00007f65e9e82b9a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffd0fa4fd0) at kernel/qapplication_x11.cpp:3587
#39 0x00007f65e9eae532 in x11EventSourceDispatch (s=0x639e60, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007f65e3550c71 in g_main_dispatch (context=0x638ce0) at gmain.c:2441
#41 g_main_context_dispatch (context=0x638ce0) at gmain.c:3014
#42 0x00007f65e3555308 in g_main_context_iterate (context=0x638ce0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3092
#43 0x00007f65e35554bc in g_main_context_iteration (context=0x638ce0, may_block=1) at gmain.c:3155
#44 0x00007f65eab3d703 in QEventDispatcherGlib::processEvents (this=0x60e7e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#45 0x00007f65e9eade5e in QGuiEventDispatcherGlib::processEvents (this=0x1f95, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f65eab0c4e2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#47 0x00007f65eab0c8c5 in QEventLoop::exec (this=0x7fffd0fa52f0, flags=) at kernel/qeventloop.cpp:201
#48 0x00007f65eab0f14b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#49 0x0000000000403e15 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kontact-4.7.1/work/kontact-4.7.1/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2011-10-04 19:12:10 UTC
Is the crash reproducible ? can you attach the crashing event (if it's one in particular)
Comment 2 Karel Pazdera 2011-10-04 19:24:02 UTC
Created attachment 64210 [details]
Crashing event
Comment 3 Karel Pazdera 2011-10-04 19:26:08 UTC
Yes, the crash is reproducible, doubleclick to the same event causes next crash. Maybe is it due the calendar is the Google calendar?

(In reply to comment #1)
> Is the crash reproducible ? can you attach the crashing event (if it's one in
> particular)
Comment 4 Sergio Martins 2011-10-26 19:24:23 UTC
Can't reproduce the crash.
Comment 5 Sergio Martins 2011-10-26 19:25:56 UTC
Can you print stderr/stdout ?
Comment 6 René Serral 2012-04-16 08:52:30 UTC
Created attachment 70421 [details]
New crash information added by DrKonqi

kontact (4.8.2) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.0

- What I was doing when the application crashed:

When I try to edit an event on my calendar kontact just crashes. I'm using akonadi-google calendar last git pull and a self compiled recent git pull of kdepim 4.8.

Besides the backtrace I'm also attaching part of the stderr of the crash:
kontact(19381) CalendarSupport::Calendar::Private::updateItem: id= 137228 version= 0 alreadyExisted= false ; mode =  2 ; uid =  "MDMzMTI2ODg1MDcxODU0NjQzMzY6MDo2xxxxxxx" ; storageCollection.id() =  233 ; parentCollection.id() =  233
kontact(19381)/kdepimlibs (kcalcore) KCalCore::ICalTimeZoneSource::parse: VTIMEZONE "Europe/Madrid"
QFSFileEngine::open: No file name specified
kontact(19381) IncidenceEditorNG::IncidenceEditor::checkDirtyStatus: checkDirtyStatus called on an invalid incidence
kontact(19381) IncidenceEditorNG::IncidenceWhatWhere::load:
kontact(19381)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(19381) IncidenceEditorNG::CombinedIncidenceEditor::load: Faulty editor was  "IncidenceDateTime" 
kontact(19381) IncidenceEditorNG::CombinedIncidenceEditor::load: Incidence  true 
ASSERT failure in load: "editor shouldn't be dirty", file /media/kdesvn/kde4svn/src/kdepim/incidenceeditor-ng/combinedincidenceeditor.cpp, line 108
*** KMail got signal 6 (Exiting)
*** Dead letters dumped.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kontact path = /home/kde4/kde-4.8/bin pid = 19381
KCrash: Arguments: /home/kde4/kde-4.8/bin/kontact --nocrashhandler 
KCrash: Attempting to start /home/kde4/kde/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/rserral/.kde/socket-asuso/kdeinit4__0

-- Backtrace (Reduced):
#11 0x00007ff83dcdf5c8 in IncidenceEditorNG::CombinedIncidenceEditor::load (this=0x8d53b80, incidence=...) at /media/kdesvn/kde4svn/src/kdepim/incidenceeditor-ng/combinedincidenceeditor.cpp:108
#12 0x00007ff83dd20ec1 in IncidenceEditorNG::EventOrTodoDialogPrivate::load (this=0x8d0f100, item=...) at /media/kdesvn/kde4svn/src/kdepim/incidenceeditor-ng/eventortododialog.cpp:503
#13 0x00007ff83dcdc1d7 in IncidenceEditorNG::EditorItemManager::load (this=0x816b1c0, item=...) at /media/kdesvn/kde4svn/src/kdepim/incidenceeditor-ng/editoritemmanager.cpp:282
#14 0x00007ff83dd22120 in IncidenceEditorNG::EventOrTodoDialog::load (this=0x8ce2110, item=..., activeDate=...) at /media/kdesvn/kde4svn/src/kdepim/incidenceeditor-ng/eventortododialog.cpp:653
#15 0x00007ff83f84bba9 in CalendarView::editIncidence (this=0x441cc00, item=..., isCounter=false) at /media/kdesvn/kde4svn/src/kdepim/korganizer/calendarview.cpp:2521
Comment 7 Christophe Marin 2012-04-24 08:21:19 UTC
*** Bug 298675 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Marin 2012-04-29 13:06:42 UTC

*** This bug has been marked as a duplicate of bug 280313 ***
Comment 9 Philippe Cloutier 2018-06-17 14:31:45 UTC
Karel, do you still experience this? If so, do you think this is a duplicate of issue #280313? That one talks about clicking Apply, but if I read this one fine, your crash happens before that.