sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory sometimes when starting bolt

Hi, I have an Oculus Quest project and most times I try to init the Photon Bolt My game gives me those errors and crashes with:
AndroidRuntime: FATAL EXCEPTION: main
AndroidRuntime: Process: com.vrmonkey.game, PID: 7154
AndroidRuntime: java.lang.Error: FATAL EXCEPTION [main]
AndroidRuntime: Unity version : 2019.1.1f1
AndroidRuntime: Device model : Oculus Quest
AndroidRuntime: Device fingerprint: oculus/vr_monterey/monterey:7.1.1/NGI77B/415630.6700.0:user/release-keys
AndroidRuntime:
AndroidRuntime: Caused by: java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
AndroidRuntime: Build fingerprint: 'oculus/vr_monterey/monterey:7.1.1/NGI77B/415630.6700.0:user/release-keys'
AndroidRuntime: Revision: '0'
AndroidRuntime: pid: 7154, tid: 7224, name: Thread-3 >>> com.vrmonkey.game <<<
AndroidRuntime: r0 00000000 r1 00000000 r2 000236d8 r3 00000000
AndroidRuntime: r4 00008f37 r5 00000147 r6 00000002 r7 eb573ce0
AndroidRuntime: r8 c9b904b8 r9 00000000 sl 00023758 fp 2c5f4b90
AndroidRuntime: ip 00000000 sp c907f5d8 lr cffcbe04 pc ec628cc0 cpsr 00001c38
AndroidRuntime:
AndroidRuntime: at libc.memset(memset:48)
AndroidRuntime: at libunity.ApiGLES::ClearBufferSubData(unsigned int, gl::BufferTarget, long, long)(ClearBufferSubData:144)
AndroidRuntime: at libunity.DataBufferGLES::DataBufferGLES(BufferManagerGLES&, unsigned int, DataBufferGLES::BufferUsage, bool)(E:292)
AndroidRuntime: at libunity.BufferManagerGLES::AcquireBuffer(unsigned int, DataBufferGLES::BufferUsage, bool)(AcquireBuffer:448)
AndroidRuntime: at libunity.BufferGLES::EnsureBuffer(DataBufferGLES*&, unsigned int, DataBufferGLES::BufferUsage)(EnsureBuffer:100)
AndroidRuntime: at libunity.BufferGLES::Initialize(void const*)(Initialize:32)
AndroidRuntime: at libunity.GfxDeviceGLES::InitializeBufferInternal(GfxBuffer*, void const*, GfxUpdateBufferFlags)(InitializeBufferInternal:28)
AndroidRuntime: at libunity.GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)(RunCommand:14876)
AndroidRuntime: at libunity.GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)(RunExt:68)
AndroidRuntime: at libunity.GfxDeviceWorker::Run()(Run:132)
AndroidRuntime: at libunity.GfxDeviceWorker::RunGfxDeviceWorker(void*)(RunGfxDeviceWorker:4)
AndroidRuntime: at libunity.Thread::RunThreadWrapper(void*)(RunThreadWrapper:736)
AndroidRuntime: at libc.__pthread_start(void*)(__pthread_start:22)
AndroidRuntime: at libc.__start_thread(__start_thread:6)
ActivityManager: Force finishing activity com.vrmonkey.game/com.unity3d.player.UnityPlayerActivity


From the errors messages it seems unrelated, but using photon bolt seems to cause it to happen. Sometimes when I start a multiplayer game and the game fails to render some assets.

Comments

  • hey @vshade, did you ever solved the issue? I am having the same crash logs even not using photon bolt
  • 0 libunity.so 0x0000007f8c559358 CrashReporting::Android::SignalHandler(int, siginfo*, void*)
    1 libunity.so 0x0000007f8c010234 NativeRuntimeException::signal_handler(int, siginfo*, void*)
    2 app_process64 0x0000005562f2f50c <system symbols missing>
    3 libart.so 0x0000007fa733a19c <system symbols missing>
    4 [vdso] 0x0000007fabcea4f0 <system symbols missing>
    5 libc.so 0x0000007fa93cc0a8 <system symbols missing>
    6 libunity.so 0x0000007f8c459ce0 ApiGLES::ClearBufferSubData(unsigned int, gl::BufferTarget, long, long)
    7 libunity.so 0x0000007f8c450830 BufferManagerGLES::AcquireBuffer(unsigned long, DataBufferGLES::BufferUsage, bool)
    8 libunity.so 0x0000007f8c44ae90 BufferGLES::EnsureBuffer(DataBufferGLES*&, unsigned long, DataBufferGLES::BufferUsage)
    9 libunity.so 0x0000007f8c448904 GfxDeviceGLES::SetComputeBufferData(GfxBuffer*, void const*, unsigned long, unsigned long)
    10 libunity.so 0x0000007f8bf186c0 GfxDevice::UpdateComputeSkinPoseBuffer(GfxBuffer*, MatrixArrayJobOutput*)
    11 libunity.so 0x0000007f8c59f600 GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)
    12 libunity.so 0x0000007f8c5a0258 GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)
    13 libunity.so 0x0000007f8c598d28 GfxDeviceWorker::RunGfxDeviceWorker(void*)
    14 libunity.so 0x0000007f8c0bfcd4 Thread::RunThreadWrapper(void*)
    15 libc.so 0x0000007fa9427458 <system symbols missing>
    16 libc.so 0x0000007fa93cf208 <system symbols missing>
    17 . 0x0000000000000000 <unknown>

Sign In or Register to comment.