tumic0 / GPXSee

GPS log file viewer and analyzer with support for GPX, TCX, KML, FIT, IGC, NMEA, SLF, SML, LOC, GPI, GeoJSON and OziExplorer files.

Home Page:https://www.gpxsee.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gpxsee segfault at start

solsticedhiver opened this issue · comments

$ LC_ALL=C.UTF8 gpxsee 20240417-gpxlogger-f67820ab.gpx 
/usr/share/gpxsee/maps/Antarctica.xml:
  xml: 2: Not a GMAP XML file
  xml: Antarctic_Basemap: layer not provided
Erreur de segmentation (core dumped)

already reported at https://gitlab.archlinux.org/archlinux/packaging/packages/gpxsee/-/issues/1 but I was told to report upstream

Please provide the 20240417-gpxlogger-f67820ab.gpx file (you have to zip it for Github to accept it) which is most probably the trigger.

xml: Antarctic_Basemap: layer not provided looks also strange as the Antarctica WMTS service definitely has such layer. Can you also provide the content of the $HOME/.cache/gpxsee/tiles/Antarctica/capabilities.xml file?

I tried with another gpx file, and it was the same.
Antartica.xml.zip
I tried by renaming ~/.cache/gpxsee to ~/.cache/gpxsee.old
and now I have:

$ gpxsee BrittanyJura_Southampton_Portsmouth.gpx
qt.positioning.geoclue2: Already stopped
Erreur de segmentation (core dumped)

I can provide gpxsee 20240417-gpxlogger-f67820ab.gpx later on if need be, but now I have to go.

The Antarctica map has moved 4 years ago from NOAA servers to ArcGIS servers and you had the old WMTS capabilities in the cache. Deleting the file (or the whole cache) has fixed the issue and now you should have the Antarctica map available. But that is not what causes the crash.

Although I still would like to see the file you are trying to open to get sure, the cause of the crash is probably somewhere else. Can you run GPXSee in GDB and post the stack trace? This will definitely tell us more.

ok.
I run gdb and found out it was segfaulting in /usr/lib/qt6/plugins/wayland-decoration-client/libqadwaitadecorations.so
So I uninstalled qadwaita-decorations-qt6 (and qt5)

It's working now

I rebuilt the previous mentionned libraries, and it's working fine now also with them...