Search Unity

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

Discussion in 'Android' started by clevergamesdev, Jul 11, 2019.

  1. clevergamesdev

    clevergamesdev

    Joined:
    Jun 20, 2019
    Posts:
    17
    Hi,

    For some reason, I'm seeing this crash on some devices, and I can't seem to find the reason it's happening.
    It's a 2D game, exported with IL2CPP (ARMv7 + ARM64).


    signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

    ShaderObjects::loadShaderBinary(CompilerContext*, void*, unsigned long, void*, unsigned long, QGLC_COMPILETOIR_RESULT*)

    #00 pc 0000000000a5f324 /system/vendor/lib64/libllvm-qgl.so (ShaderObjects::loadShaderBinary(CompilerContext*, void*, unsigned long, void*, unsigned long, QGLC_COMPILETOIR_RESULT*)+1056)

    #01 pc 0000000000997b50 /system/vendor/lib64/libllvm-qgl.so (CompilerContext::loadShaderBinary(void*, unsigned long, void*, unsigned long, QGLC_COMPILETOIR_RESULT*)+160)

    #02 pc 0000000000a755ec /system/vendor/lib64/libllvm-qgl.so (QGLCLoadShaderBinary(void*, void*, unsigned long, void*, unsigned long, QGLC_COMPILETOIR_RESULT*)+108)

    #03 pc 00000000000b15b8 /system/vendor/lib64/hw/vulkan.msm8953.so (QglShaderCompiler::LoadShaderFromCache(void*, QGLC_COMPILETOIR_RESULT*, QglProgram const*, QglShaderStage)+124)
     
  2. clevergamesdev

    clevergamesdev

    Joined:
    Jun 20, 2019
    Posts:
    17
    Does someone else encouter the same issue?
    It happens mostly in LG G6 and Galaxy Tab S2
     
  3. LuisGGS

    LuisGGS

    Joined:
    Nov 25, 2015
    Posts:
    11
    Using unity 2019.4.24f1 this happen to us on Xiaomi MI A2.
    Did anyone figured out why is this happening?
    We are using Vulkan and OpenGLES3 as Graphics APIs
     
  4. LuisGGS

    LuisGGS

    Joined:
    Nov 25, 2015
    Posts:
    11
    Full stacktrace:

    Code (CSharp):
    1. 10-05 09:25:51.064 10724 10724 D AndroidRuntime: Shutting down VM
    2. 10-05 09:25:51.065 10724 10724 E AndroidRuntime: FATAL EXCEPTION: main
    3. 10-05 09:25:51.065 10724 10724 E AndroidRuntime: Process: com.somecompany.somegame, PID: 10724
    4. 10-05 09:25:51.065 10724 10724 E AndroidRuntime: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    5. 10-05 09:25:51.065 10724 10724 E AndroidRuntime: Version '2019.4.24f1 (5da6f0345e82)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
    6. 10-05 09:25:51.065 10724 10724 E AndroidRuntime: Build fingerprint: 'xiaomi/jasmine/jasmine_sprout:8.1.0/OPM1.171019.011/V9.6.15.0.ODIMIFE:user/release-keys'
    7. 10-05 09:25:51.065 10724 10724 E AndroidRuntime: Revision: '0'
    8. 10-05 09:25:51.065 10724 10724 E AndroidRuntime: ABI: 'arm64'
    9. 10-05 09:25:51.065 10724 10724 E AndroidRuntime: Timestamp: 2021-10-05 09:25:44+0300
    10. 10-05 09:25:51.065 10724 10724 E AndroidRuntime: pid: 10724, tid: 10836, name: UnityGfxDeviceW  >>> com.somecompany.somegame <<<
    11. 10-05 09:25:51.065 10724 10724 E AndroidRuntime: uid: 11769
    12. 10-05 09:25:51.065 10724 10724 E AndroidRuntime: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7791104000
    13. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     x0  0000000000000c7c  x1  0000000000000002  x2  0000007891104cf4  x3  0000007891104001
    14. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     x4  0000007791104000  x5  0000000000000000  x6  0000000000000000  x7  0000007891104000
    15. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     x8  0000000000000003  x9  0000000000000001  x10 0000000000000050  x11 00000077d6f00908
    16. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     x12 0000000000000078  x13 0000000000000000  x14 0000007891104be8  x15 0000007891104c34
    17. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     x16 0000000000000c7c  x17 0000000000000003  x18 0000000000000001  x19 00000077d6f02238
    18. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     x20 00000077da6b6000  x21 0000000000001494  x22 00000078a64fcf00  x23 0000007891104000
    19. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     x24 0000000000000001  x25 0000000000000000  x26 00000000bcbcbcbc  x27 00000000abcdabcd
    20. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     x28 0000000000000000  x29 00000077d6f01ff0
    21. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     sp  00000077d6f008d0  lr  00000077d7e5c9a8  pc  00000077d7e5cb14
    22. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:
    23. 10-05 09:25:51.065 10724 10724 E AndroidRuntime: backtrace:
    24. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #00 pc 0000000000a57b14  /vendor/lib64/libllvm-qgl.so (BuildId: 79758067de6dd6ea011318a20e3a976c)
    25. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #01 pc 00000000009903fc  /vendor/lib64/libllvm-qgl.so (BuildId: 79758067de6dd6ea011318a20e3a976c)
    26. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #02 pc 0000000000a6dde8  /vendor/lib64/libllvm-qgl.so (QGLCLoadShaderBinary(void*, void*, unsigned long, void*, unsigned long, QGLC_COMPILETOIR_RESULT*)+108) (BuildId: 79758067de6dd6ea011318a20e3a976c)
    27. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #03 pc 00000000000b4ce0  /vendor/lib64/hw/vulkan.sdm660.so (QglShaderCompiler::LoadShaderFromCache(void*, QGLC_COMPILETOIR_RESULT*, QglProgram const*, QglShaderStage)+124)
    28. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #04 pc 00000000000b43c4  /vendor/lib64/hw/vulkan.sdm660.so (QglShaderCompiler::CompileToIrShader(QglProgram const*, QglShaderStage, char const*, unsigned int, char const*, QGLC_COMPILETOIR_RESULT*)+492)
    29. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #05 pc 00000000000a5a44  /vendor/lib64/hw/vulkan.sdm660.so (QglProgram::Compile(QglPipelineLayout const*)+108)
    30. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #06 pc 00000000000a5870  /vendor/lib64/hw/vulkan.sdm660.so (QglProgram::Create(QglProgramCreateData*)+224)
    31. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #07 pc 00000000000a2da8  /vendor/lib64/hw/vulkan.sdm660.so (QglPipeline::CreateProgram()+204)
    32. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #08 pc 00000000000a2c04  /vendor/lib64/hw/vulkan.sdm660.so (QglPipeline::Compile()+92)
    33. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #09 pc 00000000000a2288  /vendor/lib64/hw/vulkan.sdm660.so (QglPipeline::Init(QglPipelineCreateData*)+88)
    34. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #10 pc 00000000000a21a4  /vendor/lib64/hw/vulkan.sdm660.so (QglPipeline::Create(QglPipelineCreateData*)+64)
    35. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #11 pc 00000000000720a0  /vendor/lib64/hw/vulkan.sdm660.so (qglinternal::vkCreateGraphicsPipelines(VkDevice_T*, VkPipelineCache_T*, unsigned int, VkGraphicsPipelineCreateInfo const*, VkAllocationCallbacks const*, VkPipeline_T**)+4220)
    36. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #12 pc 000000000073431c  /data/app/com.somecompany.somegame-BW-CpEa-CxNLqpBgxUt9zA==/lib/arm64/libunity.so (BuildId: e89d39b8a81eedbd3da9a22b92f259f4f97de45b)
    37. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #13 pc 0000000000753980  /data/app/com.somecompany.somegame-BW-CpEa-CxNLqpBgxUt9zA==/lib/arm64/libunity.so (BuildId: e89d39b8a81eedbd3da9a22b92f259f4f97de45b)
    38. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #14 pc 00000000007223c0  /data/app/com.somecompany.somegame-BW-CpEa-CxNLqpBgxUt9zA==/lib/arm64/libunity.so (BuildId: e89d39b8a81eedbd3da9a22b92f259f4f97de45b)
    39. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #15 pc 0000000000729650  /data/app/com.somecompany.somegame-BW-CpEa-CxNLqpBgxUt9zA==/lib/arm64/libunity.so (BuildId: e89d39b8a81eedbd3da9a22b92f259f4f97de45b)
    40. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #16 pc 0000000000816c80  /data/app/com.somecompany.somegame-BW-CpEa-CxNLqpBgxUt9zA==/lib/arm64/libunity.so (BuildId: e89d39b8a81eedbd3da9a22b92f259f4f97de45b)
    41. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #17 pc 0000000000722288  /data/app/com.somecompany.somegame-BW-CpEa-CxNLqpBgxUt9zA==/lib/arm64/libunity.so (BuildId: e89d39b8a81eedbd3da9a22b92f259f4f97de45b)
    42. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #18 pc 0000000000818bb8  /data/app/com.somecompany.somegame-BW-CpEa-CxNLqpBgxUt9zA==/lib/arm64/libunity.so (BuildId: e89d39b8a81eedbd3da9a22b92f259f4f97de45b)
    43. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #19 pc 00000000008684c8  /data/app/com.somecompany.somegame-BW-CpEa-CxNLqpBgxUt9zA==/lib/arm64/libunity.so (BuildId: e89d39b8a81eedbd3da9a22b92f259f4f97de45b)
    44. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #20 pc 00000000003ae0e0  /data/app/com.somecompany.somegame-BW-CpEa-CxNLqpBgxUt9zA==/lib/arm64/libunity.so (BuildId: e89d39b8a81eedbd3da9a22b92f259f4f97de45b)
    45. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #21 pc 00000000003b0170  /data/app/com.somecompany.somegame-BW-CpEa-CxNLqpBgxUt9zA==/lib/arm64/libunity.so (BuildId: e89d39b8a81eedbd3da9a22b92f259f4f97de45b)
    46. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #22 pc 00000000003a7228  /data/app/com.somecompany.somegame-BW-CpEa-CxNLqpBgxUt9zA==/lib/arm64/libunity.so (BuildId: e89d39b8a81eedbd3da9a22b92f259f4f97de45b)
    47. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #23 pc 0000000000591520  /data/app/com.somecompany.somegame-BW-CpEa-CxNLqpBgxUt9zA==/lib/arm64/libunity.so (BuildId: e89d39b8a81eedbd3da9a22b92f259f4f97de45b)
    48. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #24 pc 0000000000067e88  /system/lib64/libc.so (__pthread_start(void*)+36) (BuildId: 7f3e1331b1597fe223b7ac1251d7480b)
    49. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:       #25 pc 000000000001f2b4  /system/lib64/libc.so (__start_thread+68) (BuildId: 7f3e1331b1597fe223b7ac1251d7480b)
    50. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:
    51. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libllvm-qgl.0xa57b14(Native Method)
    52. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libllvm-qgl.0x9903fc(Native Method)
    53. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libllvm-qgl.QGLCLoadShaderBinary(void*, void*, unsigned long, void*, unsigned long, QGLC_COMPILETOIR_RESULT*)(QGLCLoadShaderBinary:108)
    54. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at vulkan.QglShaderCompiler::LoadShaderFromCache(void*, QGLC_COMPILETOIR_RESULT*, QglProgram const*, QglShaderStage)(LoadShaderFromCache:124)
    55. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at vulkan.QglShaderCompiler::CompileToIrShader(QglProgram const*, QglShaderStage, char const*, unsigned int, char const*, QGLC_COMPILETOIR_RESULT*)(CompileToIrShader:492)
    56. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at vulkan.QglProgram::Compile(QglPipelineLayout const*)(Compile:108)
    57. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at vulkan.QglProgram::Create(QglProgramCreateData*)(Create:224)
    58. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at vulkan.QglPipeline::CreateProgram()(CreateProgram:204)
    59. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at vulkan.QglPipeline::Compile()(Compile:92)
    60. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at vulkan.QglPipeline::Init(QglPipelineCreateData*)(Init:88)
    61. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at vulkan.QglPipeline::Create(QglPipelineCreateData*)(Create:64)
    62. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at vulkan.qglinternal::vkCreateGraphicsPipelines(VkDevice_T*, VkPipelineCache_T*, unsigned int, VkGraphicsPipelineCreateInfo const*, VkAllocationCallbacks const*, VkPipeline_T**)(vkCreateGraphicsPipelines:4220)
    63. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libunity.0x73431c(Native Method)
    64. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libunity.0x753980(Native Method)
    65. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libunity.0x7223c0(Native Method)
    66. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libunity.0x729650(Native Method)
    67. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libunity.0x816c80(Native Method)
    68. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libunity.0x722288(Native Method)
    69. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libunity.0x818bb8(Native Method)
    70. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libunity.0x8684c8(Native Method)
    71. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libunity.0x3ae0e0(Native Method)
    72. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libunity.0x3b0170(Native Method)
    73. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libunity.0x3a7228(Native Method)
    74. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libunity.0x591520(Native Method)
    75. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libc.__pthread_start(void*)(__pthread_start:36)
    76. 10-05 09:25:51.065 10724 10724 E AndroidRuntime:     at libc.__start_thread(__start_thread:68)
     
  5. Unity_ChenXi

    Unity_ChenXi

    Joined:
    Oct 13, 2021
    Posts:
    6
    any idea?