Version: GIT (master) (using Devel) OS: Linux kontact crashes with the following output: kontact(22884) IncidenceEditorNG::CombinedIncidenceEditor::load: Faulty editor was "IncidenceCategories" kontact(22884) IncidenceEditorNG::CombinedIncidenceEditor::load: Incidence true kontact(22884) IncidenceEditorNG::IncidenceCategories::printDebugInfo: mSelectedCategories = ("Miscellaneous", "Research:Conference", "Research:Conference") kontact(22884) IncidenceEditorNG::IncidenceCategories::printDebugInfo: mLoadedIncidence->categories() = ("Miscellaneous", "Research:Conference") ASSERT failure in load: "editor shouldn't be dirty", file /var/abs/local/eth-os/sources/KDE/kdepim/incidenceeditor-ng/combinedincidenceeditor.cpp, line 108 *** KMail got signal 6 (Exiting) I believe this is a recent regression. KOrganizer was working okay just a few days ago (Some time around Aug 15, 2011?) Reproducible: Always Steps to Reproduce: If I create a new KOrganizer task, add information, check two "Categories", and click Apply, kontact crashes with the output shown above. Actual Results: An assertion fails and kontact goes bye-bye. (No task is created in the calendar, either). Expected Results: Kontact correctly creates a new task and continues running. I have debugging symbols enabled, so if I can be of help tracking this down, I can easily obtain a complete backtrace. I usually hang out in #kontact, so just ping me (atomopawn) or post comments here.
Actually, I was mistaken. The tasks DO get created. But kontact does crash immediately afterward.
Got a backtrace ?
After doing a git pull and recompiling, I am unable to reproduce. Guess someone must have fixed it some how.
Created attachment 62993 [details] Backtrace of the crash Okay. I'm getting the crash again, but this time when I edit a particular event. I'm not sure what's special about this one. It is a recurring event, but I can't tell if that has anything to do with it.
Terminal output from the crash now (same output as above but with a little more of the context). The crash still happens when I click Apply after adding new categories.. kontact(4178) EventViews::AgendaView::fillAgenda: changes = QFlags(0x8) ; mUpdateAgenda = true ; mUpdateAllDayAgenda = true kontact(4178) IncidenceEditorNG::IncidenceEditor::checkDirtyStatus: checkDirtyStatus called on an invalid incidence kontact(4178) IncidenceEditorNG::IncidenceWhatWhere::load: kontact(4178)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: kontact(4178) IncidenceEditorNG::CombinedIncidenceEditor::load: Faulty editor was "IncidenceCategories" kontact(4178) IncidenceEditorNG::CombinedIncidenceEditor::load: Incidence true kontact(4178) IncidenceEditorNG::IncidenceCategories::printDebugInfo: mSelectedCategories = ("Meeting", "Research:Conference", "Research:Conference") kontact(4178) IncidenceEditorNG::IncidenceCategories::printDebugInfo: mLoadedIncidence->categories() = ("Meeting", "Research:Conference") ASSERT failure in load: "editor shouldn't be dirty", file /var/abs/local/eth-os/sources/KDE/kdepim/incidenceeditor-ng/combinedincidenceeditor.cpp, line 108 *** KMail got signal 6 (Exiting) *** Dead letters dumped. KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kontact path = /usr/bin pid = 4178 KCrash: Arguments: /usr/bin/kontact --nocrashhandler KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit sock_file=/home/robert/.kde/socket-hyaline/kdeinit4__0
There's a problem with categories that include ":"
The ":" seems to be an internal representation of a subcategory. In this case, I had created a subcategory "Conference" of the "Research" category.
Pasting inline #9 0x00007fe18425ef3f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fe1843c29d8 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fffba321bc8) at global/qglobal.cpp:2337 #10 0x00007fe18425f0e4 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2520 #11 0x00007fe16e71f7eb in IncidenceEditorNG::CombinedIncidenceEditor::load (this=0x5e069a0, incidence=...) at /var/abs/local/eth-os/sources/KDE/kdepim/incidenceeditor-ng/combinedincidenceeditor.cpp:108 #12 0x00007fe16e760e8f in IncidenceEditorNG::EventOrTodoDialogPrivate::load (this=0x1c965b0, item=...) at /var/abs/local/eth-os/sources/KDE/kdepim/incidenceeditor-ng/eventortododialog.cpp:446 #13 0x00007fe16e71c4db in IncidenceEditorNG::EditorItemManager::load (this=0x5e089a0, item=...) at /var/abs/local/eth-os/sources/KDE/kdepim/incidenceeditor-ng/editoritemmanager.cpp:283 #14 0x00007fe16e7620ee in IncidenceEditorNG::EventOrTodoDialog::load (this=0x5b6f160, item=..., activeDate=...) at /var/abs/local/eth-os/sources/KDE/kdepim/incidenceeditor-ng/eventortododialog.cpp:595 #15 0x00007fe17022b5e9 in CalendarView::editIncidence (this=0x5a1dfd0, item=..., isCounter=false) at /var/abs/local/eth-os/sources/KDE/kdepim/korganizer/calendarview.cpp:2524 #16 0x00007fe17022fc2b in CalendarView::qt_metacall (this=0x5a1dfd0, _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0x7fffba3224a0) at /var/abs/local/eth-os/sources/KDE/kdepim/build/korganizer/calendarview.moc:460 #17 0x00007fe184371d10 in QMetaObject::activate (sender=0x5b0d4b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffba3224a0) at kernel/qobject.cpp:3278 #18 0x00007fe16ef01793 in KOrg::BaseView::editIncidenceSignal (this=0x5b0d4b0, _t1=...) at /var/abs/local/eth-os/sources/KDE/kdepim/build/korganizer/interfaces/korganizer/baseview.moc:188 #19 0x00007fe16ef012b0 in KOrg::BaseView::qt_metacall (this=0x5b0d4b0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffba322680) at /var/abs/local/eth-os/sources/KDE/kdepim/build/korganizer/interfaces/korganizer/baseview.moc:133 #20 0x00007fe170244e41 in KOEventView::qt_metacall (this=0x5b0d4b0, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fffba322680) at /var/abs/local/eth-os/sources/KDE/kdepim/build/korganizer/koeventview.moc:86 #21 0x00007fe1701e3543 in KOAgendaView::qt_metacall (this=0x5b0d4b0, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fffba322680) at /var/abs/local/eth-os/sources/KDE/kdepim/build/korganizer/koagendaview.moc:113 #22 0x00007fe184371d10 in QMetaObject::activate (sender=0x5b5b3c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffba322680) at kernel/qobject.cpp:3278 #23 0x00007fe17023fa55 in KOEventPopupMenu::editIncidenceSignal (this=0x5b5b3c0, _t1=...) at /var/abs/local/eth-os/sources/KDE/kdepim/build/korganizer/koeventpopupmenu.moc:157 #24 0x00007fe17023f153 in KOEventPopupMenu::popupEdit (this=0x5b5b3c0) at /var/abs/local/eth-os/sources/KDE/kdepim/korganizer/koeventpopupmenu.cpp:150 #25 0x00007fe17023f949 in KOEventPopupMenu::qt_metacall (this=0x5b5b3c0, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fffba3227b0) at /var/abs/local/eth-os/sources/KDE/kdepim/build/korganizer/koeventpopupmenu.moc:129 #26 0x00007fe184371d10 in QMetaObject::activate (sender=0x5b60090, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffba3227b0) at kernel/qobject.cpp:3278
*** Bug 283337 has been marked as a duplicate of this bug. ***
*** Bug 295912 has been marked as a duplicate of this bug. ***
*** Bug 306150 has been marked as a duplicate of this bug. ***
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.