Description

This is an infrequent but longstanding Linux crash that has occurred since 4.11. This is not a Linux-specific crash and can happen on Windows too (see UE-50237).

Steps to Reproduce

Have TGlobalResource initialized in a DLL that is unloaded after the RHI.

Callstack
SIGSEGV: invalid attempt to write memory at address 0x0000000000000003

Unknown!PlatformCrashHandler()
Unknown!/lib/x86_64-linux-gnu/libpthread.so.0() [0x7faa4c8f80c:0]
Unknown!FRenderResource::ReleaseResource()
Unknown!TGlobalResource<FDummyPaperSpriteVertexBuffer>::~TGlobalResource()
Unknown!/lib/x86_64-linux-gnu/libc.so.6() [0x7faa3a4b:920]
Unknown!/lib/x86_64-linux-gnu/libc.so.6() [0x7faa3a4b497a:0]
Unknown!/usr/lib/x86_64-linux-gnu/libX11.so.6() [0x7faa381c90f:0]
Unknown!/usr/lib/x86_64-linux-gnu/libX11.so.6() [0x7faa381c922d:0]
Unknown!/usr/lib/x86_64-linux-gnu/libX11.so.6() [0x7faa381c:157]
Unknown!/usr/lib/x86_64-linux-gnu/libX11.so.6() [0x7faa381c722d:0]
Unknown!/usr/lib/x86_64-linux-gnu/libGL.so.1() [0x7fa95aa128ea:0]
Unknown!/usr/lib/x86_64-linux-gnu/libGL.so.1() [0x7fa95aa12c:7]
Unknown!/usr/lib/x86_64-linux-gnu/dri/i965_dri.so() [0x7fa95947d8c:0]
Unknown!/usr/lib/x86_64-linux-gnu/dri/i965_dri.so() [0x7fa95947dda:0]
Unknown!/usr/lib/x86_64-linux-gnu/dri/i965_dri.so() [0x7fa9594be35d:0]
Unknown!/usr/lib/x86_64-linux-gnu/dri/i965_dri.so() [0x7fa959174d:1]
Unknown!/usr/lib/x86_64-linux-gnu/primus/libGL.so.1() [0x7fa95b63e9d:0]
Unknown!/lib/x86_64-linux-gnu/libpthread.so.0() [0x7faa4c8ee:24]
Unknown!/lib/x86_64-linux-gnu/libc.so.6() [0x7faa3a5679bf:0]

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-49808 in the post.

0
Login to Vote

Cannot Reproduce
ComponentRendering
Affects Versions4.114.164.17
Target Fix4.19
CreatedSep 14, 2017
ResolvedJan 13, 2018
UpdatedApr 27, 2018