When provided sample project is run in PIE, crash occurs after call to SetMaterial() is made in code.
Downloadable Project:
[Link Removed]
CrashReporter:
[Link Removed]
Result:
Editor crashes immediately on PIE
Repro Rate:
3/3
Callstack from Linux
[2016.03.14-18.55.51:380][899]LogLinux: === Critical error: === Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000020 [2016.03.14-18.55.51:380][899]LogLinux: Fatal error! [Callstack] 03 0x00007f20543365f0 CommonLinuxCrashHandler(FGenericCrashContext const&) [Callstack] 04 0x00007f205f721c88 PlatformCrashHandler(int, siginfo_t*, void*) [Callstack] 05 0x00007f20602c7d10 /lib/x86_64-linux-gnu/libpthread.so.0(+0x10d10) [0x7f20602c7d10] [Callstack] 06 0x00007f205d609be5 physx::shdfnd::atomicDecrement(int volatile*) [Callstack] 07 0x00007f205d4f0b21 /home/doug/Documents/github/4.11_2898788/Engine/Binaries/Linux/libUE4Editor-Engine.so(+0x27c2b21) [0x7f205d4f0b21] [Callstack] 08 0x00007f205c73a61a FBodyInstance::ApplyMaterialToShape_AssumesLocked(physx::PxShape*, physx::PxMaterial*, TArray<UPhysicalMaterial*, FDefaultAllocator> const&, bool) [Callstack] 09 0x00007f205c73ac73 FBodyInstance::ApplyMaterialToInstanceShapes_AssumesLocked(physx::PxMaterial*, TArray<UPhysicalMaterial*, FDefaultAllocator>&) [Callstack] 10 0x00007f205c72142a FBodyInstance::ExecuteOnPhysicsReadWrite(TFunctionRef<void ()>) const [Callstack] 11 0x00007f205c721beb FBodyInstance::UpdatePhysicalMaterials() [Callstack] 12 0x00007f1fd79cfaa0 UFlareSpacecraftComponent::SetupComponentMesh() [Callstack] 13 0x00007f1fd79bdccc UFlareEngine::Initialize(FFlareSpacecraftComponentSave const*, UFlareCompany*, AFlareSpacecraftPawn*, bool) [Callstack] 14 0x00007f1fd79cb59e AFlareSpacecraft::Load(FFlareSpacecraftSave const&) [Callstack] 15 0x00007f1fd7954d46 UFlareSector::LoadSpacecraft(FFlareSpacecraftSave const&) [Callstack] 16 0x00007f1fd7954b58 UFlareSector::Load(UFlareSimulatedSector*, FFlareSectorSave const&) [Callstack] 17 0x00007f1fd7936f02 AFlareGame::ActivateSector(AController*, UFlareSimulatedSector*) [Callstack] 18 0x00007f1fd7982f96 AFlarePlayerController::BeginPlay() [Callstack] 19 0x00007f205ccddb5a AWorldSettings::NotifyBeginPlay() [Callstack] 20 0x00007f205c241866 AGameMode::HandleMatchHasStarted() [Callstack] 21 0x00007f205c2421ff AGameMode::SetMatchState(FName) [Callstack] 22 0x00007f1fd7936d71 AFlareGame::StartPlay() [Callstack] 23 0x00007f205ccc7d89 UWorld::BeginPlay() [Callstack] 24 0x00007f205c23b574 UGameInstance::StartPIEGameInstance(ULocalPlayer*, bool, bool, bool) [Callstack] 25 0x00007f2055cc7ced UEditorEngine::CreatePIEGameInstance(int, bool, bool, bool, bool, float) [Callstack] 26 0x00007f2055cbf9b3 UEditorEngine::PlayInEditor(UWorld*, bool) [Callstack] 27 0x00007f2055cb065c UEditorEngine::StartQueuedPlayMapRequest() [Callstack] 28 0x00007f20556e3ce7 UEditorEngine::Tick(float, bool) [Callstack] 29 0x00007f205604ec70 UUnrealEdEngine::Tick(float, bool) [Callstack] 30 0x00000000004236f0 FEngineLoop::Tick() [Runtime/Core/Public/Stats/Stats2.h, line 1651] [Callstack] 31 0x000000000042a863 GuardedMain(wchar_t const*) [/home/doug/Documents/github/4.11_2898788/Engine/Source/Runtime/Launch/Private/Launch.cpp, line 51] [Callstack] 32 0x00007f205433712e CommonLinuxMain(int, char**, int (*)(wchar_t const*)) [Callstack] 33 0x00007f20532b4a40 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f20532b4a40] [Callstack] 34 0x0000000000413a19 /home/doug/Documents/github/4.11_2898788/Engine/Binaries/Linux/UE4Editor(_start+0x29) [0x413a19]
Callstack from Windows
MachineId:9FA88CA44B7C623122B0039D6C8BA1B0 EpicAccountId:c807849e05a0413d99e379f2802cae9c Access violation - code c0000005 (first/second chance not available) PhysX3CommonPROFILE_x64 PhysX3PROFILE_x64 UE4Editor_Engine UE4Editor_Engine UE4Editor_Engine UE4Editor_Engine UE4Editor_Engine UE4Editor_Engine UE4Editor_MyProject!UFlareSpacecraftComponent::SetupComponentMesh() [d:\projects\userprojects\physxcompcrash\source\MyProject\spacecrafts\flarespacecraftcomponent.cpp:165] UE4Editor_MyProject!UFlareEngine::Initialize() [d:\projects\userprojects\physxcompcrash\source\MyProject\spacecrafts\flareengine.cpp:28] UE4Editor_MyProject!AFlareSpacecraftPawn::ReloadPart() [d:\projects\userprojects\physxcompcrash\source\MyProject\spacecrafts\flarespacecraftpawn.cpp:107] UE4Editor_MyProject!AFlareSpacecraft::Load() [d:\projects\userprojects\physxcompcrash\source\MyProject\spacecrafts\flarespacecraft.cpp:368] UE4Editor_MyProject!UFlareSector::LoadSpacecraft() [d:\projects\userprojects\physxcompcrash\source\MyProject\game\flaresector.cpp:158] UE4Editor_MyProject!UFlareSector::Load() [d:\projects\userprojects\physxcompcrash\source\MyProject\game\flaresector.cpp:31] UE4Editor_MyProject!AFlareGame::ActivateSector() [d:\projects\userprojects\physxcompcrash\source\MyProject\game\flaregame.cpp:126] UE4Editor_MyProject!AFlarePlayerController::BeginPlay() [d:\projects\userprojects\physxcompcrash\source\MyProject\player\flareplayercontroller.cpp:60] UE4Editor_Engine UE4Editor_Engine UE4Editor_Engine UE4Editor_Engine UE4Editor_Engine UE4Editor_Engine UE4Editor_UnrealEd UE4Editor_UnrealEd UE4Editor_UnrealEd UE4Editor_UnrealEd UE4Editor_UnrealEd UE4Editor UE4Editor UE4Editor UE4Editor UE4Editor kernel32 ntdll
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 4.11 |
Target Fix | 4.11 |
Created | Mar 14, 2016 |
---|---|
Resolved | Mar 17, 2016 |
Updated | Apr 27, 2018 |