Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.3.X

Votes

1

Found in

2020.1.0a15

2020.1.0a17

Issue ID

1206047

Regression

Yes

[Android] Crash with "GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed" on Adreno GPU devices

Android

-

The texture gets missing following with a crash "GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed" on Adreno GPU devices

Steps to reproduce:
1. Open attached project
2. Make a build and run it on Android device with Adreno GPU.
3. After the application starts select 2D Physics Menu.
4. After scene is loaded exception is thrown
- Memory leaks at this point resulting texture get missing from the scene following with a crash

Stack Trace: 12/17 14:35:55.666 9187 9213 Error Adreno-GSL: <gsl_memory_alloc_pure:2236>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.

Actual Result: Crash with "GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed" on Adreno GPU devices

Expected result: memory issues should not occur on Adreno GPU devices

Reproduced in: 2020.1.0a17, 2020.1.0a16, 2020.1.0a15

Working Fine in:
2020.1.0a14, 2019.3.0f3.

Environment:
Windows and Mac

Note: Log screenshot has been attached for reference.

Tested devices:
Reproduced on:
Samsung Galaxy A6+, Android version:9, CPU:Qualcomm Snapdragon 450, GPU: Adreno (TM) 506
Oneplus OnePlus6T (ONEPLUS A6010), Android version:9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
Google Pixel XL,Android version:7.1.2,CPU: Quad-core (2x2.15 GHz Kryo & 2x1.6 GHz Kryo), GPU: Adreno 530
Huawei Nexus 6P, Android version:6, CPU:Octa-core (4x1.55 GHz Cortex-A53 & 4x2.0 GHz Cortex-A57),GPU:Adreno 430

No repro on:
Samsung Galaxy Note 9, Android version:8.1, CPU:1.7GHz octa-core, GPU: Mali-G72 MP18
Samsung Galaxy Note 8, Android version:8.0.0, CPU: Octa-core (4x2.3 GHz Mongoose M2 & 4x1.7 GHz Cortex-A53), GPU: Mali-G72 MP18
Meizu MX5,Android version:5.0.1, CPU:Octa-core 2.2 GHz Cortex-A53, GPU: PowerVR G6200

Comments (7)

  1. ssidhant

    Mar 24, 2021 08:40

    Reproduced in 2019.4.18f1

  2. Max-Bot

    Oct 09, 2020 07:04

    Reproduced in 2019.4.10f1

  3. Xaurrien

    Jun 25, 2020 13:29

    Looks like the issue is still there on 2019.4.1.f1 (LTS):

    Error Adreno-GSL <gsl_memory_alloc_pure:2297>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.

    Device: OnePlus 6T
    Context: I have a very simple (new) project where I am only displaying the WebCam on an UI RawImage

  4. Mastaroth

    May 25, 2020 13:37

    This issue still exists on 2019.3.14f1

  5. jtate5

    May 07, 2020 01:05

    Having a similar crash in 2019.2.17. Is this fixed in any version of 2019.3?

  6. GuiBarMTL

    Apr 24, 2020 15:24

    I confirm that the bug is still there in 2019.3.8f1, got the same crash on OnePlus A6.

  7. ssidhant

    Apr 08, 2020 22:48

    I am getting this crash on Vive Focus Plus VR headset with Unity 2019.3.7f1 and 2019.3.8f1 builds. Will this issue be fixed in those versions?
    I can confirm the same crash does not happen with 2019.1.8f1.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.