[Korganizer-devel] [Bug 233901] New: Always crash when going to 'Configure KOrganizer...'

viriketo at gmail.com viriketo at gmail.com
Sat Apr 10 01:19:47 CEST 2010


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

           Summary: Always crash when going to 'Configure KOrganizer...'
           Product: korganizer
           Version: 4.4.2
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: korganizer-devel at kde.org
        ReportedBy: viriketo at gmail.com


Version:            (using KDE 4.4.2)
Compiler:          gcc 4.4.3 
OS:                Linux
Installed from:    Compiled From Sources

I've compiled the kdepim package with debugfull, and I have gdb just before the
segfault.

The origin of the segfault is in the code around
korganizer/koprefsdialog.cpp:850
In the function KOPrefsDialogColorsAndFonts::updateResources(), there is a for
loop that prepares the mResourceCombo. In my case, no item is added to the
mResourceCombo.

The segfault happens after the loop, in the call to
KOPrefsDialogColorsAndFonts::updateResourceColor(), where it reads:
  QString res = mResourceIdentifier[mResourceCombo->currentIndex()];

As the mResourceCombo has no elements, that ends in a segfault in a QList.

I imagine that the for loop I mentioned has to at least add one item to the
mResourceCombo, but I don't know why I don't have them.

I'm seeing this problem since KDE 4.2, I think. So, for me there is no way of
configuring KOrganizer.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Korganizer-devel mailing list