[Kstars-devel] segfault in LocationDialog::LocationDialog since rev 1043608

Lukas Middendorf lukas.middendorf at freenet.de
Fri Nov 6 18:45:54 CET 2009


I'm experiencing segfaults when I try to open "Set Geographic Location" since 
revision

r1043608 | khudyakov | 2009-11-02 00:33:38 +0100 (Mon, 02 Nov 2009) | 5 lines

Add KStarsData::getGeoList function to obtain list of
all geo locations                                    

KSWizard and MapCanvas are not KStarsData friends anymore.


the crash happens in 

LocationDialog::LocationDialog(struct QWidget *) (this=0x330aa50, 
parent=<value optimized out>) at 
/mnt/daten/Software/kde/kdeedu/kstars/kstars/dialogs/locationdialog.cpp:52
52              if ( it.key().length() )

If I change back lines 49 and 50
    QMap<QString, TimeZoneRule>::Iterator it = data->getRulebook().begin();
    QMap<QString, TimeZoneRule>::Iterator itEnd = data->getRulebook().end();

to what they were before r1043608, I do not see the crash.


More information about the Kstars-devel mailing list