openstreetmap / merkaartor

Home of Merkaartor, an openstreetmap mapping program.
http://merkaartor.be/
Other
298 stars 78 forks source link

Crash on pressing "download" #307

Closed RedAuburn closed 1 month ago

RedAuburn commented 2 months ago
harry@framework-13:~$ merkaartor
     0.000 (II) [ merk.Main ] ****  "2024-09-16T23:33:27"  -- Starting  "Merkaartor 0.20.0"
     0.000 (II) [ merk.Main ] ------- "using Qt version 6.7.2 (built with 6.7.2)"
     0.000 (II) [ merk.Main ] ------- "using PROJ version 9.3.1"
     0.000 (II) [ merk.Main ] ------- "using GDAL version 3.8.5"
     0.000 (II) [ merk.Main ] ------- with arguments:  QList("merkaartor")
     1.102 (II) [ merk.Main ] Loading plugins from directory  "/usr/lib64/merkaartor/plugins"
     1.103 (II) [ merk.Main ] Loading plugins from directory  "/usr/lib64/merkaartor/plugins/background"
     1.105 (II) [ merk.Main ]   Plugin loaded:  "libMGdalBackgroundPlugin.so" .
     1.107 (II) [ merk.Main ]   Plugin loaded:  "libMGeoTiffBackgroundPlugin.so" .
     1.108 (II) [ merk.Main ]   Plugin loaded:  "libMMsBingMapBackgroundPlugin.so" .
     1.129 (II) [ qt.gui.imageio ] libpng warning: iCCP: too many profiles
     1.129 (II) [ qt.gui.imageio ] libpng warning: iCCP: too many profiles
     1.162 (WW) [ qt.core.qobject.connect ] QObject::connect: No such slot FeaturesDock::on_Viewport_changed() in /builddir/build/BUILD/merkaartor-0.20.0/src/MainWindow.cpp:274
     1.162 (WW) [ qt.core.qobject.connect ] QObject::connect:  (receiver name: 'FeaturesDock')
     1.162 (WW) [ qt.core.qobject.connect ] QObject::connect: No such slot FeaturesDock::on_Viewport_changed() in /builddir/build/BUILD/merkaartor-0.20.0/src/MainWindow.cpp:275
     1.162 (WW) [ qt.core.qobject.connect ] QObject::connect:  (sender name:   'MainWindow')
     1.162 (WW) [ qt.core.qobject.connect ] QObject::connect:  (receiver name: 'FeaturesDock')
    24.139 (FF) [ default ] ASSERT failure in QList::operator[]: "index out of range", file /usr/include/qt6/QtCore/qlist.h, line 439
Aborted (core dumped)

OS: fedora 40 release: 0.20.0 (RPM)

RedAuburn commented 2 months ago

can confirm it works on 0.18.4 (rpm)

Krakonos commented 2 months ago

Thanks for the report. I think I know the issue, though I'm unable to reliably reproduce on my system. As a workaround, I suggest you try to go to preferences and login to OSM server first. I guess this is fresh config and you didn't have any preexisting configuration?

RedAuburn commented 2 months ago

you're right, this is on a fresh install

logging in before pressing download works as intended :)

Krakonos commented 2 months ago

Great, thanks. I'll upload a fix later today a release a patch version likely this week. Let me know if you encounter other issues so we can address them in the release.

Krakonos commented 1 month ago

Merged to master, will be released as part of 0.20.1.