Description

As reported by user, using foliage tool in a first person project eventually crashes it.

"Currently, any attempt to render objects created with the foliage tool crashes the UE4 editor on my machine. To reproduce the issue, all I need to do is create a new first person project and attempt to place foliage - It crashes with default settings."

"This crash can occur instantly if the instanced rendering is enabled in the viewport, or it can be postponed until I attempt to play the game if I turn off the instanced rendering in the editor viewport, so the crash appears to be related to rendering the foliage, rather than merely placing it."

More info in the AnswerHub issue (https://answers.unrealengine.com/questions/223202/nvidia-crash-on-instanced-foliage-render.html)

[2015.05.05-20.39.24:243][815]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x0004b7d8

[2015.05.05-20.39.24:243][815]LogLinux: Fatal error!

[Callstack] 02 0x00007fd421b15151 ReportCrash(FLinuxCrashContext const&)
[Callstack] 03 0x000000000042a70b EngineCrashHandler(FGenericCrashContext const&)
[Callstack] 04 0x00007fd421b18485 PlatformCrashHandler(int, siginfo_t*, void*)
[Callstack] 05 0x00007fd4170fd180 /lib/x86_64-linux-gnu/libc.so.6(+0x35180) [0x7fd4170fd180]
[Callstack] 06 0x00007fd3fde149bc /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.349.16(+0x180c9bc) [0x7fd3fde149bc]
[Callstack] 07 0x00007fd3fde1a082 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.349.16(+0x1812082) [0x7fd3fde1a082]
[Callstack] 08 0x00007fd3fdfb10c6 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.349.16(+0x19a90c6) [0x7fd3fdfb10c6]
[Callstack] 09 0x00007fd3fdfbd058 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.349.16(+0x19b5058) [0x7fd3fdfbd058]
[Callstack] 10 0x00007fd3fdb943a9 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.349.16(+0x158c3a9) [0x7fd3fdb943a9]
[Callstack] 11 0x00007fd41c8ab769 DrawIndexedPrimitive_Internal(FRHIIndexBuffer*, unsigned int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)
[Callstack] 12 0x00007fd40730d180 FMeshDrawingPolicy::DrawMesh(FRHICommandList&, FMeshBatch const&, int) const
[Callstack] 13 0x00007fd4072ead77 void FDrawBasePassDynamicMeshAction::Process<FCachedPointIndirectLightingPolicy>(FRHICommandList&, FProcessBasePassMeshParameters const&, FCachedPointIndirectLightingPolicy const&, FCachedPointIndirectLightingPolicy::ElementDataType const&) const
[Callstack] 14 0x00007fd40728c6fb void ProcessBasePassMesh<FDrawBasePassDynamicMeshAction>(FRHICommandList&, FProcessBasePassMeshParameters const&, FDrawBasePassDynamicMeshAction const&)
[Callstack] 15 0x00007fd407257175 FBasePassOpaqueDrawingPolicyFactory::DrawDynamicMesh(FRHICommandList&, FViewInfo const&, FBasePassOpaqueDrawingPolicyFactory::ContextType, FMeshBatch const&, bool, bool, FPrimitiveSceneProxy const*, FHitProxyId)
[Callstack] 16 0x00007fd40725b1c1 FDeferredShadingSceneRenderer::RenderBasePassDynamicData(FRHICommandList&, FViewInfo const&, bool&)
[Callstack] 17 0x00007fd40726ac42 FDeferredShadingSceneRenderer::RenderBasePass(FRHICommandListImmediate&)
[Callstack] 18 0x00007fd40725ec9e FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&)
[Callstack] 19 0x00007fd40742a121 /dirkson/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Renderer.so(+0x462121) [0x7fd40742a121]
[Callstack] 20 0x00007fd4074540c0

Callstack

[Callstack] 02 0x00007fd421b15151 ReportCrash(FLinuxCrashContext const&)
[Callstack] 03 0x000000000042a70b EngineCrashHandler(FGenericCrashContext const&)
[Callstack] 04 0x00007fd421b18485 PlatformCrashHandler(int, siginfo_t*, void*)
[Callstack] 05 0x00007fd4170fd180 /lib/x86_64-linux-gnu/libc.so.6(+0x35180) [0x7fd4170fd180]
[Callstack] 06 0x00007fd3fde149bc /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.349.16(+0x180c9bc) [0x7fd3fde149bc]
[Callstack] 07 0x00007fd3fde1a082 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.349.16(+0x1812082) [0x7fd3fde1a082]
[Callstack] 08 0x00007fd3fdfb10c6 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.349.16(+0x19a90c6) [0x7fd3fdfb10c6]
[Callstack] 09 0x00007fd3fdfbd058 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.349.16(+0x19b5058) [0x7fd3fdfbd058]
[Callstack] 10 0x00007fd3fdb943a9 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.349.16(+0x158c3a9) [0x7fd3fdb943a9]
[Callstack] 11 0x00007fd41c8ab769 DrawIndexedPrimitive_Internal(FRHIIndexBuffer*, unsigned int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)
[Callstack] 12 0x00007fd40730d180 FMeshDrawingPolicy::DrawMesh(FRHICommandList&, FMeshBatch const&, int) const
[Callstack] 13 0x00007fd4072ead77 void FDrawBasePassDynamicMeshAction::Process<FCachedPointIndirectLightingPolicy>(FRHICommandList&, FProcessBasePassMeshParameters const&, FCachedPointIndirectLightingPolicy const&, FCachedPointIndirectLightingPolicy::ElementDataType const&) const
[Callstack] 14 0x00007fd40728c6fb void ProcessBasePassMesh<FDrawBasePassDynamicMeshAction>(FRHICommandList&, FProcessBasePassMeshParameters const&, FDrawBasePassDynamicMeshAction const&)
[Callstack] 15 0x00007fd407257175 FBasePassOpaqueDrawingPolicyFactory::DrawDynamicMesh(FRHICommandList&, FViewInfo const&, FBasePassOpaqueDrawingPolicyFactory::ContextType, FMeshBatch const&, bool, bool, FPrimitiveSceneProxy const*, FHitProxyId)
[Callstack] 16 0x00007fd40725b1c1 FDeferredShadingSceneRenderer::RenderBasePassDynamicData(FRHICommandList&, FViewInfo const&, bool&)
[Callstack] 17 0x00007fd40726ac42 FDeferredShadingSceneRenderer::RenderBasePass(FRHICommandListImmediate&)
[Callstack] 18 0x00007fd40725ec9e FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&)
[Callstack] 19 0x00007fd40742a121 /dirkson/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Renderer.so(+0x462121) [0x7fd40742a121]
[Callstack] 20 0x00007fd4074540c0

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Platform - Linux
Affects Versions4.7.6
Target Fix4.8
Fix Commit2553104
Release Commit2554001
CreatedMay 7, 2015
ResolvedMay 15, 2015
UpdatedApr 27, 2018
View Jira Issue