-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[android] App crashes when swapping a custom layer #8448
Comments
Is there a crash log availlable? |
Nope, I was toying with test app using Samsung Remote Test Lab and it crashed. |
Attached a stack-trace obtained on an S8: CustomLayerCrashOnS8.txt |
From Samsung s6 edge, J3 and emulator:
putting on milestone for visibility |
Is this still reproducible? |
Was able reproduce this with a galaxy J3 on master (f053feb)
|
@jfirebaugh I'm thinking the source of the crash will be found in our example implementation here. |
@tobrun The crash on the Galaxy J3 could be due to bugs in the Adreno 300 series dealing with Vertex Arrays: #10253 Not sure if that is also the case for the Samsung s6 edge(+). Should check that. The crash log for the Samsung S8 seems different all together and should be investigated separately perhaps. |
I was also able to reproduce this issue on a Nexus 5 emulator using |
I've added fixes in #11239. @Guardiola31337 @tobrun Would you please re-test with the devices you mentioned in this ticket. fwiw, I've reproduced the issue with a Galaxy Nexus. |
Crash when pressing FAB in
CustomLayerActivity
using Samsung Galaxy S6 edge+:Platform: Android
Mapbox SDK version: master branch
Steps to trigger behavior
CustomLayerActivity
Expected behavior
App doesn't crash
Actual behavior
App crashes
The text was updated successfully, but these errors were encountered: