rinigus / osmscout-server

Maps server providing tiles, geocoder, and router
https://rinigus.github.io/osmscout-server
GNU General Public License v3.0
166 stars 28 forks source link

Crash on ARM Flatpak while downloading maps #423

Closed k8ieone closed 10 months ago

k8ieone commented 1 year ago

Hi, I've run into an issue that I haven't seen reported here before.

OS: Manjaro ARM DE: phosh Device: PinePhone Install method: flatpak

While downloading maps (happens with both an update and a new install), the download works for a while, but then the program crashes.

Here's a log of that happening:

flatpak run io.github.rinigus.OSMScoutServer
kf.kirigami: Failed to find a Kirigami platform plugin
file:///usr/lib/qml/org/kde/kirigami.2/private/BannerImage.qml:135:5: QML RowLayout: Binding loop detected for property "height"
file:///usr/lib/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:70:5: QML Binding: Binding loop detected for property "value"
DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory

I started writing this issue before I got the logs, now I'm suspecting that Pure Maps might not necessarily be at fault here. Maybe this isn't even related to the download.

rinigus commented 1 year ago

Sounds like some memory allocation error. To be sure it is not due to some weird QML effects, please remove caches:

Try after that. If it didn't help, try to close other apps while downloading.

k8ieone commented 1 year ago

Thank you for your response, that seems to have fixed the issue. Should I close this?

k8ieone commented 1 year ago

Oh no, just as I wrote this, it crashed again :/

rinigus commented 1 year ago

By searching for "DRM_IOCTL_MODE_CREATE_DUMB PinePhone" it looks like it is some generic bug in system libs. Don't think it can be fixed on OSM Scout Server side. Check out you distribution and alert developers of the issue

k8ieone commented 1 year ago

Alright, will do. Thanks for your help.

rinigus commented 1 year ago

Good luck!

k8ieone commented 1 year ago

Hi, just a quick update with some good news. This week I'm attempting to use the PinePhone as a daily driver again and as part of the process I tried updating the maps. To my surprise, Scout Server finished the download without a hitch.

It seems like the upstream problem has been fixed.