Search Unity

Fatal signal 7 (SIGBUS), code 2, fault addr 0xbd5c3000 in tid 19389 (UnityMain)

Discussion in 'Android' started by stefmuel, Sep 21, 2017.

  1. stefmuel

    stefmuel

    Joined:
    Sep 5, 2017
    Posts:
    1
    Hello
    I have an exception that occurs once in a while when I start Unity on Android.
    In my app, I place images on a cube.

    Unity version: 2017.1.1p2
    Mobile device: Nexus 6p
    Exception:
    Code (CSharp):
    1. A/libc: Fatal signal 7 (SIGBUS), code 2, fault addr 0xbd5c3000 in tid 19389 (UnityMain)
    2. A/DEBUG: pid: 19370, tid: 19389, name: UnityMain  >>> com.app:unityplayer <<<
    3. A/DEBUG:     #00 pc 00073e74  /data/app/com.app==/lib/arm/libunity.so
    4. A/DEBUG:     #01 pc 00075f54  /data/app/com.app==/lib/arm/libunity.so
    5. A/DEBUG:     #02 pc 00075bf4  /data/app/com.app==/lib/arm/libunity.so
    6. A/DEBUG:     #03 pc 00075d04  /data/app/com.app==/lib/arm/libunity.so
    7. A/DEBUG:     #04 pc 0063fa08  /data/app/com.app==/lib/arm/libunity.so
    8. A/DEBUG:     #21 pc 005d79b8  /data/app/com.app==/lib/arm/libunity.so
    9. A/DEBUG:     #22 pc 005ad864  /data/app/com.app==/lib/arm/libunity.so
    10. A/DEBUG:     #23 pc 005ad78c  /data/app/com.app==/lib/arm/libunity.so
    11. A/DEBUG:     #24 pc 005bd298  /data/app/com.app==/lib/arm/libunity.so
    12. A/DEBUG:     #25 pc 005be72c  /data/app/com.app==/lib/arm/libunity.so
    13. A/DEBUG:     #26 pc 001c05fc  /data/app/com.app==/lib/arm/libunity.so
    14. A/DEBUG:     #27 pc 004a529c  /data/app/com.app==/lib/arm/libunity.so
    15. A/DEBUG:     #28 pc 00583f2c  /data/app/com.app==/lib/arm/libunity.so
    16. A/DEBUG:     #29 pc 00584d20  /data/app/com.app==/lib/arm/libunity.so
    17. A/DEBUG:     #30 pc 0034d6ec  /data/app/com.app==/lib/arm/libunity.so
    18. A/DEBUG:     #31 pc 00634bbc  /data/app/com.app==/lib/arm/libunity.so
    19. A/DEBUG:     #32 pc 006370cc  /data/app/com.app==/lib/arm/libunity.so
    I also used android ndk addr2line to get the methods:
    Code (CSharp):
    1. try_get_word
    2. dump_memory
    3. dump_memory_and_code_common
    4. dump_memory_and_code_signal
    5. NativeRuntimeException::signal_handler(int, siginfo*, void*)
    6. ApiGLES::CreateBuffer(gl::BufferTarget, long, void const*, unsigned int)
    7. DataBufferGLES::Upload(unsigned int, unsigned int, void const*)
    8. ConstantBuffersGLES::UpdateBuffers(MonoOrStereoscopicEye, bool)
    9. GfxDeviceGLES::BeforeDrawCall()
    10. GfxDeviceGLES::DrawBuffers(GfxBuffer*, VertexStreamSource const*, int, DrawBuffersRange const*, int, VertexDeclaration*, ShaderChannelMask)
    11. Skybox::RenderAllFaces(Material*)
    12. GenerateEnvironmentData(int, float*)
    13. EnlightenRuntimeManager::UpdateEnvironmentLighting()
    14. EnlightenRuntimeManager::Update()
    15. PlayerLoop()
    16. UnityPlayerLoop()
    17. nativeRender(_JNIEnv*, _jobject*)
    Can anyone help me?

    Thanks a lot!
     
  2. nandovilla

    nandovilla

    Joined:
    Jun 22, 2016
    Posts:
    9
    Same problem here. Only with Android 8 running in Nexus 5X and 6P.