Locus Map - forum

Support => Troubles & Questions => Topic started by: MartyMcFly89 on May 01, 2019, 10:57:11

Title: Route planner - crash when resuming
Post by: MartyMcFly89 on May 01, 2019, 10:57:11
When resuming route planning, the app crashes. Not always, but very often. Latest store version of Locus. I don't think it did this before.

Quote*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'xiaomi/mido/mido:7.0/NRD90M/V10.2.3.0.NCFMIXM:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 4865, tid: 5135, name: RenderThread  >>> menion.android.locus.pro <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'GL errors! frameworks/base/libs/hwui/renderthread/CanvasContext.cpp:517'
    r0 00000000  r1 0000140f  r2 00000006  r3 00000008
    r4 bcc7f978  r5 00000006  r6 bcc7f920  r7 0000010c
    r8 bbd2a800  r9 00000000  sl bd2e44a4  fp bd2e44a0
    ip 0000000c  sp bcc7ef38  lr e801b2c7  pc e801db48  cpsr 200f0010

backtrace:
    #00 pc 00049b48  /system/lib/libc.so (tgkill+12)
    #01 pc 000472c3  /system/lib/libc.so (pthread_kill+34)
    #02 pc 0001d565  /system/lib/libc.so (raise+10)
    #03 pc 000190b1  /system/lib/libc.so (__libc_android_abort+34)
    #04 pc 00017114  /system/lib/libc.so (abort+4)
    #05 pc 0000c539  /system/lib/libcutils.so (__android_log_assert+112)
    #06 pc 000239d7  /system/lib/libhwui.so
    #07 pc 000252df  /system/lib/libhwui.so
    #08 pc 0002874b  /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+122)
    #09 pc 0000e575  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140)
    #10 pc 0006c0d1  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
    #11 pc 00046d93  /system/lib/libc.so (_ZL15__pthread_startPv+22)
    #12 pc 00019afd  /system/lib/libc.so (__start_thread+6)
Title: Re: Route planner - crash when resuming
Post by: MartyMcFly89 on May 02, 2019, 14:23:34
Again crash:
Quote*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'xiaomi/mido/mido:7.0/NRD90M/V10.2.3.0.NCFMIXM:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 11636, tid: 11747, name: RenderThread  >>> menion.android.locus.pro <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'GL errors! frameworks/base/libs/hwui/renderthread/CanvasContext.cpp:517'
    r0 00000000  r1 00002de3  r2 00000006  r3 00000008
    r4 bca5f978  r5 00000006  r6 bca5f920  r7 0000010c
    r8 a4797800  r9 00000000  sl be094244  fp be094240
    ip 0000000c  sp bca5ef38  lr e801b2c7  pc e801db48  cpsr 200f0010

backtrace:
    #00 pc 00049b48  /system/lib/libc.so (tgkill+12)
    #01 pc 000472c3  /system/lib/libc.so (pthread_kill+34)
    #02 pc 0001d565  /system/lib/libc.so (raise+10)
    #03 pc 000190b1  /system/lib/libc.so (__libc_android_abort+34)
    #04 pc 00017114  /system/lib/libc.so (abort+4)
    #05 pc 0000c539  /system/lib/libcutils.so (__android_log_assert+112)
    #06 pc 000239d7  /system/lib/libhwui.so
    #07 pc 000252df  /system/lib/libhwui.so
    #08 pc 0002874b  /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+122)
    #09 pc 0000e575  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140)
    #10 pc 0006c0d1  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
    #11 pc 00046d93  /system/lib/libc.so (_ZL15__pthread_startPv+22)
    #12 pc 00019afd  /system/lib/libc.so (__start_thread+6)
Title: Re: Route planner - crash when resuming
Post by: Menion on May 02, 2019, 14:56:58
Good day MartyMcFly89
thanks for bug reports. These crashes in app native code are almost unsolvable to me, sorry.
What I may suggest is to try to disable acceleration of map if it helps.
For this, activate expert settings (https://docs.locusmap.eu/doku.php?id=manual:advanced:customization:config#expert_settings) and disable "Map hardware acceleration" settings. Hope this helps.
Or if you want, it is possible to downgrade to the older version (https://docs.locusmap.eu/doku.php?id=manual:faq:devices_older_android#newer_locus_map_versions) of Locus Map, if you think it does not had these troubles before.
Title: Re: Route planner - crash when resuming
Post by: MartyMcFly89 on May 06, 2019, 11:52:43
Quote from: menion on May 02, 2019, 14:56:58
Good day MartyMcFly89
thanks for bug reports. These crashes in app native code are almost unsolvable to me, sorry.
What I may suggest is to try to disable acceleration of map if it helps.
For this, activate expert settings (https://docs.locusmap.eu/doku.php?id=manual:advanced:customization:config#expert_settings) and disable "Map hardware acceleration" settings. Hope this helps.
Or if you want, it is possible to downgrade to the older version (https://docs.locusmap.eu/doku.php?id=manual:faq:devices_older_android#newer_locus_map_versions) of Locus Map, if you think it does not had these troubles before.

Downgraded to 3.35.2 and it works just fine.
Title: Re: Route planner - crash when resuming
Post by: Menion on May 08, 2019, 09:47:15
Quite interesting.
We play to publish new Locus Map version in the middle of May, so if possible, give it a try (you may simply try a Free version as it shares same code) and let me know, thanks.
Title: Re: Route planner - crash when resuming
Post by: MartyMcFly89 on May 30, 2019, 11:27:54
Quote from: menion on May 08, 2019, 09:47:15
Quite interesting.
We play to publish new Locus Map version in the middle of May, so if possible, give it a try (you may simply try a Free version as it shares same code) and let me know, thanks.

Updated now. For now, it works. Will have to try it for longer time.
The only problem for now was 3-minute long starting time. Then I exited the app and 2nd start time was back to good times of 30s, as in previous updates. 
Title: Re: Route planner - crash when resuming
Post by: MartyMcFly89 on May 30, 2019, 14:57:13
Had to downgrade again, because though my offline saved maps worked, online (custom) maps from mapy.cz didn't. Their tourist maps are the best maps in my opinion, so having those is the most important for me.
I've tried to fox it by editing custom.xml file, but even after 2 hours, no succes. So I downgraded.