https://bugs.kde.org/show_bug.cgi?id=495848

--- Comment #11 from emi.car...@free.fr ---
(In reply to Allen Winter from comment #10)
> a couple months later...
> 
> since KOrganizer 6.4 are you still experiencing this crash?
> 
> only Neon users reported this one

Hi

Actually, I use Korganizer 6.4.2 and still same crash when I want to add event.
I checked this crash with GDB and find that crash appears in below function "if
(editor->isDirty())" but code is too complicated for me to follow why this
append.


void CombinedIncidenceEditor::load(const KCalendarCore::Incidence::Ptr
&incidence)
{
    mLoadedIncidence = incidence;
    for (IncidenceEditor *editor : std::as_const(mCombinedEditors)) {
        // load() may fire dirtyStatusChanged(), reset mDirtyEditorCount to
make sure
        // we don't end up with an invalid dirty count.
        editor->blockSignals(true);
        editor->load(incidence);
        editor->blockSignals(false);

        if (editor->isDirty()) {
            // We are going to crash due to assert. Print some useful info
before crashing.
            qCWarning(INCIDENCEEDITOR_LOG) << "Faulty editor was " <<
editor->objectName();
            qCWarning(INCIDENCEEDITOR_LOG) << "Incidence " << (incidence ?
incidence->uid() : QStringLiteral("null"));

            editor->printDebugInfo();

            Q_ASSERT_X(false, "load", "editor shouldn't be dirty");
        }
    }

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to