Puremaps crashes very often on xperia 10 II

Hi there,
now with my new phone xperia 10 II, i experienced a lot of crashes with puremaps.
it crashes when i search for bar and then click on one, it freezes, crashes in settings dialog e.g when i wanted to switch the route …
is it related to oom as they are lot of talks on that here ?
Thanks !

when i ran this:
dmesg -w | egrep “lowmemorykiller|oom_reaper|^ {19}.*|Out of memory”

i would not see puremaps

when i run from cmdline:

apbox API key missing: skipping mapbox_1_outdoors
Mapbox API key missing: skipping mapbox_2_satellite
Mapbox API key missing: skipping mapbox_3_satellite_streets
Mapbox API key missing: skipping mapbox_4_navigation_traffic_day
Mapbox API key missing: skipping mapbox_4_navigation_traffic_night
Mapbox API key missing: skipping mapbox_5_navigation_guidance_day
Mapbox API key missing: skipping mapbox_5_navigation_guidance_night
[W] unknown:0 - Translation not found for navigator: “en”
Started DBus service at io.github.rinigus.PureMaps
[I] unknown:0 - Using QSGMapboxGLTextureNode for map rendering. devicePixelRatio: 1
[W] unknown:0 - [ INFO ] “{unknown}[General]: GPU Identifier: Adreno ™ 610”
[D] unknown:0 - Geoclue client path: “/org/freedesktop/Geoclue/Master/client31”
[W] unknown:0 - [ WARNING ] “{unknown}[ParseStyle]: source must have tiles”
[W] unknown:0 - Unable to add source: A line string must have two or more coordinate points.
[W] unknown:0 - Unable to add source: A line string must have two or more coordinate points.
Establishing connection to photon.komoot.io
Killed

update: i have increased the values for oom and while other apps do not ‘freeze’ that often, puremaps keeps crashing

5 Likes

I can confirm this behaviour. Normal UI interaction leads to a sudden crash …

Same here, Sometimes it crashes once or twice, sometimes it crashes a lot of times, even after a reboot of the phone, it can continue crashing. And sometimes it works fine when launching the app.
Crashes happen most of the time, while searching, zooming or other UI interactions. When I get it to the point of navigating it works just fine.

I see crashes too. Mostly when searching for a place to go to in navigation.

Sh*t. Now I’m going to have to do tests. It seems fine on the Volla. What do 10iii users say?

On my xperia 10ii (which is a backup phone), it doesn’t crash on searching but it crashes when you swipe down to minimize (for instance to turn on GPS). That happens EVERY time you swipe down. Also had a really weird ‘shaking all over’ interface for a few seconds. I think something is odd with the libs for this phone!

OOM killer behaviour on my 10ii was the reason for getting a 10iii, even if the latter seems to be still in beta status (instable mobile network). My 10ii was barely useable with more than four basic apps open. Also Pure Maps crashed frequently.
With the 10iii, no more crashes, and no more OOM killer issues anymore. The first SFOS phone that is able to do multi-tasking.

But I was using the 10ii periodically in the summer without anything like these symptoms. Specifically using puremaps while on vacation. Most of the time I was using a Volla, which is a better phone, but still. The 4.4.0.72 release seems to have regressions.

was running it on volla the whole summer.

did try chum version at first, now try with version from storeman, lets see if there are differences

Note that the version in OpenStore is old and can break for many reasons.

Sounds like something is going on with underlying library (MapLibre GL) and device GL stack. MapLibre has been updated in Chum some time ago and has been under development. Maybe something has changed there.

One bug I have seen and it is related to removal of a route after navigation. Looks like the repaint command is not issued in the library and route stays drawn even after its removal on Pure Maps side. After moving to some other app, or similar activity, route would disappear.

As for crashes, haven’t seen them as you describe. Would be hard to debug, that’s for sure. Don’t know whether it is a case over here - on some platforms (Librem 5, PinePhone), GL stack was buggy and Pure Maps, through the backend GL lib, was exposing those. So far, SFOS has been fine and its GL stack working without problems and I hope the bugs will stay on the lib side.

It also crashes from time to time on X III, for me usually the venue search, sadly gdb isn’t much help:

Binding loop detected for property "active"
[New LWP 26510]
[New LWP 26521]
[New LWP 26522]
[New LWP 26523]
[New LWP 26524]
[New LWP 26525]
[New LWP 26526]
[New LWP 26527]
[New LWP 26528]
[New LWP 26530]
[New LWP 26531]
[I] unknown:0 - Using QSGMapboxGLTextureNode for map rendering. devicePixelRatio: 1
[D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client5"
[W] unknown:0 - Positioning update timeout
Calculated magnetic declination 6.663602465368733
[New LWP 26555]
[New LWP 26556]
[W] unknown:0 - Unable to add source: A line string must have two or more coordinate points.
[New LWP 26557]
[New LWP 26558]
[New LWP 26559]
[New LWP 26560]
[W] unknown:0 - Unable to add source: A line string must have two or more coordinate points.
[W] unknown:0 - Unable to add source: A line string must have two or more coordinate points.
[D] unknown:0 - Reset locations true 0 2
[New LWP 26604]
[W] unknown:95 - file:///usr/share/harbour-pure-maps/qml/PlaceNamePage.qml:95: TypeError: Cannot
read property 'text' of undefined
[W] unknown:95 - file:///usr/share/harbour-pure-maps/qml/PlaceNamePage.qml:95: TypeError: Cannot
read property 'text' of undefined
[W] unknown:95 - file:///usr/share/harbour-pure-maps/qml/PlaceNamePage.qml:95: TypeError: Cannot
read property 'text' of undefined
[W] unknown:147 - file:///usr/share/harbour-pure-maps/qml/PlaceTypePage.qml:147: TypeError: Canno
t read property 'text' of undefined
[W] unknown:147 - file:///usr/share/harbour-pure-maps/qml/PlaceTypePage.qml:147: TypeError: Canno
t read property 'text' of undefined
[W] unknown:147 - file:///usr/share/harbour-pure-maps/qml/PlaceTypePage.qml:147: TypeError: Canno
t read property 'text' of undefined
[LWP 26560 exited]
[LWP 26555 exited]
[LWP 26521 exited]
[LWP 26510 exited]
[LWP 23822 exited]
[LWP 23815 exited]
[LWP 23814 exited]
[LWP 26528 exited]
[LWP 23795 exited]
[LWP 23793 exited]
[LWP 26559 exited]
[LWP 26556 exited]
[LWP 26527 exited]
[LWP 26526 exited]
[LWP 26523 exited]
[LWP 26522 exited]
[LWP 23821 exited]
[LWP 23796 exited]
[LWP 23819 exited]
[LWP 26525 exited]
[LWP 23818 exited]
[LWP 23836 exited]
[LWP 26524 exited]
[LWP 26558 exited]
[LWP 26557 exited]
[LWP 23816 exited]
[LWP 26604 exited]
[LWP 23794 exited]
[LWP 23820 exited]
[LWP 23798 exited]
[LWP 23797 exited]
[LWP 26530 exited]

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb)

Edit: with debuginfo package installed there’s a bit more, this was crash when re-routing:

unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - QQuickLayout::invalidate(), polish()
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems LEAVING
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems LEAVING
[D] unknown:0 - QQuickGridLayoutBase::geometryChanged QRectF(48,92 984x256) QRectF
(48,92 -96x256)
[D] unknown:0 - "" QQuickGridLayoutBase::rearrange() QSizeF(984, 256)
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - engine::invalidate()
[D] unknown:0 - QQuickLayout::invalidate(), polish()
[D] unknown:0 - QQuickGridLayoutBase::onItemVisibleChanged
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems LEAVING
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - engine::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::onItemVisibleChanged
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems LEAVING
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - engine::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::onItemVisibleChanged
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems LEAVING
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - engine::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::onItemVisibleChanged
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems LEAVING
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - engine::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::onItemVisibleChanged
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems LEAVING
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - engine::invalidate()
[D] unknown:0 - QQuickLayout::invalidate(), polish()
[D] unknown:0 - QQuickGridLayoutBase::onItemVisibleChanged
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems LEAVING
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - engine::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::onItemVisibleChanged
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems LEAVING
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - engine::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::onItemVisibleChanged
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems
[D] unknown:0 - QQuickGridLayoutBase::invalidate()
[D] unknown:0 - QQuickGridLayoutBase::updateLayoutItems LEAVING
[D] unknown:0 - "" QQuickGridLayoutBase::rearrange() QSizeF(984, 72)
[D] unknown:0 - "" QQuickGridLayoutBase::rearrange() QSizeF(984, 164)
[D] unknown:0 - "" QQuickGridLayoutBase::rearrange() QSizeF(984, 0)
[LWP 9633 exited]
[LWP 9630 exited]
[LWP 9643 exited]
[LWP 9635 exited]
[LWP 9634 exited]
[LWP 9623 exited]
[LWP 9641 exited]
[LWP 9637 exited]
[LWP 9639 exited]
[LWP 9640 exited]
[LWP 9644 exited]
[LWP 9638 exited]
[LWP 9627 exited]
[LWP 9622 exited]
[LWP 9632 exited]
[LWP 9636 exited]
[LWP 9648 exited]
[LWP 9650 exited]
[LWP 9652 exited]
[LWP 9645 exited]
[LWP 9649 exited]
[LWP 9631 exited]
[LWP 9625 exited]
[LWP 9651 exited]
[LWP 9665 exited]
[LWP 9642 exited]
[LWP 9624 exited]
[LWP 9626 exited]
[LWP 9666 exited]
[LWP 9646 exited]
[LWP 9629 exited]
[LWP 9621 exited]

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb)

As I suspect it could interaction with hardware-accelerated GL stack, it could be useful to collect

  • dmesg
  • journal
  • logcat

during crash. Those who have if frequently: maybe you could collect it and mark when it happens in the logs?

Thanks, will look into it. Bit weird regarding text property in the first log…