Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 GLThread 1405 #14252

Closed
CMingTseng opened this issue Mar 27, 2019 · 11 comments · Fixed by #14841
Closed

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 GLThread 1405 #14252

CMingTseng opened this issue Mar 27, 2019 · 11 comments · Fixed by #14841
Labels
Android Mapbox Maps SDK for Android

Comments

@CMingTseng
Copy link

Steps to reproduce

my full layout is Top -- MapFragment / Below -- RecycleView(GridLayoutManager)

When i scroll RecycleView the marker @ Mapfragment will be change (By latlng)

But ..But... But...

When I fast scroll or i drop map to move fast or change Android Configuration (set BaseContext & Resources to updateConfiguration )

the library will crash !!!!!!

if ok this week i export my code to make small demo

THX

Expected behavior

Actual behavior

Configuration

Android versions: Android 6.0.1 (Mi3M ) & Android 9 (Google Pixel3)
Device models:
Mapbox SDK versions: mapbox-android-sdk:6.8.0

Build fingerprint: 'Xiaomi/cancro/cancro:6.0.1/MMB29M/V7.5.6.0.MXDCNDE:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 11864, tid: 21321, name: GLThread 1405 >>> jp.co.mapple.digtaiwan.debug <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
r0 00000000 r1 94b3f4d8 r2 0000036c r3 0000036c
r4 a9da3a70 r5 99144590 r6 918e8ca0 r7 94b3f518
r8 99144580 r9 90d487e0 sl 00000000 fp 00000000
ip 94b3f978 sp 94b3f4d0 lr 9da3c1ef pc 9da3c1f6 cpsr 600e0030
backtrace:
#00 pc 000571f6 /data/app/XXXXX.debug-1/lib/arm/libmapbox-gl.so
#1 pc 01ced8ff /data/app/XXXXX.debug-1/oat/arm/base.odex (offset 0xfe2000) (void com.mapbox.mapboxsdk.maps.renderer.MapRenderer.nativeRender()+74)
#2 pc 01cedcb3 /data/app/XXXXX.debug-1/oat/arm/base.odex (offset 0xfe2000) (void com.mapbox.mapboxsdk.maps.renderer.MapRenderer.onDrawFrame(javax.microedition.khronos.opengles.GL10)+62)
#3 pc 01340cfd /data/app/XXXXX.debug-1/oat/arm/base.odex (offset 0xfe2000) (void com.mapbox.mapboxsdk.maps.renderer.glsurfaceview.GLSurfaceViewMapRenderer.onDrawFrame(javax.microedition.khronos.opengles.GL10)+64)
#4 pc 74aa2d75 /data/dalvik-cache/arm/system@framework@boot.oat (offset 0x23eb000)

@tobrun
Copy link
Member

tobrun commented Mar 27, 2019

@CMingTseng thank you for reaching out and reporting your issue.
This specific issue should be fixed with the upcoming 7.3.0 release.
Feel free to test this out with the snapshot, instructions here.
We are aiming to release 7.3.0 this week or early next.

Let us know if this didn't fix your issue!

@tobrun tobrun closed this as completed Mar 27, 2019
@tobrun tobrun added the Android Mapbox Maps SDK for Android label Mar 27, 2019
@CMingTseng
Copy link
Author

Dear Sir @tobrun

Still happen !!

04-03 17:15:23.015 5011-5794 Mbgl-EGLConfigChooser: In emulator: false
04-03 17:15:53.950 5011-5106 A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x146055d3e03fe8 in tid 5106 (RenderThread)

@tobrun
Copy link
Member

tobrun commented Apr 3, 2019

@CMingTseng could you provide a minimal reproducible example? We have the same setup, a mapview inside a recylcerview, in our test application and I'm not able to reproduce.

@tobrun tobrun reopened this Apr 3, 2019
@CMingTseng
Copy link
Author

Dear Sir @tobrun

OK I have a Holiday i will do .

But you can test this

  1. Map marker about 30~50

  2. the marker all custom use picasso/glide do gen Mapbox customer map marker --

Ref : https://stackoverflow.com/questions/34586876/how-can-i-create-a-speech-bubble-border-for-a-google-marker-custom-icon-using-pi

PS . some different is I use customer View from LayoutInflater

my full layout is Top -- MapFragment / Below -- RecycleView(GridLayoutManager)

When i scroll RecycleView the marker @ Mapfragment will be change (By latlng)

customer View Outer frame like this -- https://pse.is/GM43T

  1. When i fast scroll or do something !!??

i get the crash

THX

@CMingTseng
Copy link
Author

a mapview inside a recylcerview,

Dear Sir

not --- a mapview inside a recylcerview,

full layout is Top -- MapFragment / Below -- RecycleView(GridLayoutManager)

@CMingTseng
Copy link
Author

@tobrun

04-06 02:24:34.790 14631-14804/XXXX A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 14804 (GLThread 1711)
04-06 02:24:34.902 360-360/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-06 02:24:34.902 360-360/? A/DEBUG: Build fingerprint: 'Xiaomi/cancro/cancro:6.0.1/MMB29M/V7.5.6.0.MXDCNDE:user/release-keys'
04-06 02:24:34.902 360-360/? A/DEBUG: Revision: '0'
04-06 02:24:34.902 360-360/? A/DEBUG: ABI: 'arm'
04-06 02:24:34.902 360-360/? A/DEBUG: pid: 14631, tid: 14804, name: GLThread 1711 >>> jp.co.mapple.digtaiwan.debug <<<
04-06 02:24:34.903 360-360/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
04-06 02:24:34.933 360-360/? A/DEBUG: r0 00000000 r1 97cf57e0 r2 00000001 r3 951019e8
04-06 02:24:34.934 360-360/? A/DEBUG: r4 97cf583c r5 9727bd10 r6 97cf57e0 r7 951014f8
04-06 02:24:34.934 360-360/? A/DEBUG: r8 9727bd00 r9 969f0240 sl b6d47ec0 fp 00000000
04-06 02:24:34.934 360-360/? A/DEBUG: ip 95101978 sp 951014b0 lr 9cdde659 pc 9ccb4766 cpsr 40030030
04-06 02:24:34.944 360-360/? A/DEBUG: backtrace:
04-06 02:24:34.945 360-360/? A/DEBUG: #00 pc 0001a766 /data/app/XXXX-1/lib/arm/libmapbox-gl.so
04-06 02:24:34.945 360-360/? A/DEBUG: #1 pc 020e0347 /data/app/XXXX-1/oat/arm/base.odex (offset 0x1157000) (void com.mapbox.mapboxsdk.maps.renderer.MapRenderer.nativeRender()+74)
04-06 02:24:34.945 360-360/? A/DEBUG: #2 pc 020e0633 /data/app/XXXX-1/oat/arm/base.odex (offset 0x1157000) (void com.mapbox.mapboxsdk.maps.renderer.MapRenderer.onDrawFrame(javax.microedition.khronos.opengles.GL10)+126)
04-06 02:24:34.945 360-360/? A/DEBUG: #3 pc 0230ea25 /data/app/XXXX-1/oat/arm/base.odex (offset 0x1157000) (void com.mapbox.mapboxsdk.maps.renderer.glsurfaceview.GLSurfaceViewMapRenderer.onDrawFrame(javax.microedition.khronos.opengles.GL10)+64)
04-06 02:24:34.945 360-360/? A/DEBUG: #4 pc 7310fd75 /data/dalvik-cache/arm/system@framework@boot.oat (offset 0x23eb000)

@CMingTseng
Copy link
Author

Dear @tobrun

Have new Issue -- ANR !!!

"main" prio=5 tid=1 Native
| group="main" sCount=1 dsCount=0 obj=0x774ecad8 self=0x7fa1ca2a00
| sysTid=9154 nice=0 cgrp=bg_non_interactive sched=0/0 handle=0x7fa5d34a98
| state=S schedstat=( 6025408383 500935581 13784 ) utm=509 stm=93 core=4 HZ=100
| stack=0x7fe0d4d000-0x7fe0d4f000 stackSize=8MB
| held mutexes=
at com.mapbox.mapboxsdk.maps.renderer.MapRenderer.nativeOnSurfaceDestroyed (MapRenderer.java)
at com.mapbox.mapboxsdk.maps.renderer.MapRenderer.onSurfaceDestroyed (MapRenderer.java:78)
at com.mapbox.mapboxsdk.maps.renderer.glsurfaceview.GLSurfaceViewMapRenderer.access$000 (GLSurfaceViewMapRenderer.java:21)
at com.mapbox.mapboxsdk.maps.renderer.glsurfaceview.GLSurfaceViewMapRenderer$1.surfaceDestroyed (GLSurfaceViewMapRenderer.java:41)
at android.view.SurfaceView.updateWindow (SurfaceView.java:622)
at android.view.SurfaceView.onDetachedFromWindow (SurfaceView.java:295)
at android.opengl.GLSurfaceView.onDetachedFromWindow (GLSurfaceView.java:634)
at android.view.View.dispatchDetachedFromWindow (View.java:15614)
at android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:3222)
at android.view.ViewGroup.endViewTransition (ViewGroup.java:6353)
at android.support.v4.app.FragmentManagerImpl$EndViewTransitionAnimator.run (FragmentManagerImpl.java:4117)

https://i.imgur.com/6L3pL6p.png

@anisart
Copy link

anisart commented Apr 11, 2019

I have signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) (without any address) error 4 times already in Google Play console for my app using version 7.3.0

@anisart
Copy link

anisart commented Apr 14, 2019

Another signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) on 7.3.0

backtrace:
  #00  pc 00000000000da9b4  /data/app/ru.anisart.vv-nXcmd_FKPBM0ps9qMa1AEw==/split_config.arm64_v8a.apk
  #01  pc 000000000008e380  /data/app/ru.anisart.vv-nXcmd_FKPBM0ps9qMa1AEw==/split_config.arm64_v8a.apk
  #02  pc 000000000003a2f4  /data/app/ru.anisart.vv-nXcmd_FKPBM0ps9qMa1AEw==/split_config.arm64_v8a.apk
  #03  pc 00000000000af09c  /data/app/ru.anisart.vv-nXcmd_FKPBM0ps9qMa1AEw==/oat/arm64/base.odex (com.mapbox.mapboxsdk.maps.renderer.MapRendererRunnable.nativeInitialize [DEDUPED]+124)
  #04  pc 0000000000a9e1c0  /system/framework/arm64/boot-framework.oat (android.opengl.GLSurfaceView$GLThread.guardedRun+2512)
  #05  pc 0000000000a9f700  /system/framework/arm64/boot-framework.oat (android.opengl.GLSurfaceView$GLThread.run+224)
  #06  pc 0000000000555d88  /system/lib64/libart.so (art_quick_invoke_stub+584)
  #07  pc 00000000000cf8c8  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
  #08  pc 000000000045d04c  /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
  #09  pc 000000000045e108  /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+424)
  #10  pc 0000000000488fa4  /system/lib64/libart.so (art::Thread::CreateCallback(void*)+1120)
  #11  pc 000000000009202c  /system/lib64/libc.so (__pthread_start(void*)+36)
  #12  pc 00000000000238f0  /system/lib64/libc.so (__start_thread+68)

7 times on Nokia 6 (PLE) and Sony Xperia XZ Premium (G8141), Android 9

@tests1028
Copy link

i got this error
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6579616c in tid 25014 (FinalizerDaemon), pid 24997

@yandroidUA
Copy link

Hi all, same issue:
A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 3266

lib. version: 9.2.0
Face this issue, when navigating back to fragment that contains map. I'm using Jetpack navigation library.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
6 participants