Download

UE4 Linux Crash

UE4Editor-Cmd /path/to/MyProject.uproject -ExecutePythonScript="/path/to/test.py"

causes

[2021.06.30-11.08.07:640][  0]LogContentStreaming: Texture pool size now 1000 MB
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
[2021.06.30-11.08.09:215][  0]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x00000000851edfa8

[2021.06.30-11.08.09:215][  0]LogCore: Fatal error!

0x00007ff45937d9a9 libc.so.6!vsnprintf(+0x59)
0x00007ff45935a0cf libc.so.6!__snprintf(+0x8e)
0x00007ff4622774ce libUE4Editor-Core.so!_ZN26FGenericWidePlatformString10GetVarArgsEPDsmRPKDsP13__va_list_tag(+0x36d)
0x00007ff4621f9c00 libUE4Editor-Core.so!_ZN7FString10PrintfImplEPKDsz(+0xaf)
0x00007ff45c8b5948 libUE4Editor-ApplicationCore.so!_ZN15FDisplayMetrics21RebuildDisplayMetricsERS_(+0x247)
0x00007ff45c8c7158 libUE4Editor-ApplicationCore.so!_ZN29FLinuxPlatformApplicationMisc24GetDPIScaleFactorAtPointEff(+0x77)
0x00007ff45bfc21f2 libUE4Editor-SlateCore.so!_ZN7SWindow27GetWindowSizeFromClientSizeE9FVector2D9TOptionalIfE(+0x91)
0x00007ff45bfc87c7 libUE4Editor-SlateCore.so!_ZN7SWindow6ResizeE9FVector2D(+0x16)
0x00007ff45c3fbab1 libUE4Editor-Slate.so!UnknownFunction(0x251ab0)
0x00007ff45c3fb5f7 libUE4Editor-Slate.so!_ZN17FSlateApplication11DrawPrepassE10TSharedPtrI7SWindowL7ESPMode0EE(+0x376)
0x00007ff45c3f986f libUE4Editor-Slate.so!_ZN17FSlateApplication18PrivateDrawWindowsE10TSharedPtrI7SWindowL7ESPMode0EE(+0x37e)
0x00007ff45c430b4c libUE4Editor-Slate.so!_ZN17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xeb)
0x00007ff45c430e1d libUE4Editor-Slate.so!_ZThn304_N17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xc)
0x00007ff45c8cc0d4 libUE4Editor-ApplicationCore.so!_ZN12FLinuxWindow13ReshapeWindowEiiii(+0x253)
0x00007ff45bfc313b libUE4Editor-SlateCore.so!_ZN7SWindow16ResizeWindowSizeE9FVector2D(+0x19a)
0x00007ff45bfc87cf libUE4Editor-SlateCore.so!_ZN7SWindow6ResizeE9FVector2D(+0x1e)
0x00007ff45c3fbab1 libUE4Editor-Slate.so!UnknownFunction(0x251ab0)
0x00007ff45c3fb5f7 libUE4Editor-Slate.so!_ZN17FSlateApplication11DrawPrepassE10TSharedPtrI7SWindowL7ESPMode0EE(+0x376)
0x00007ff45c3f986f libUE4Editor-Slate.so!_ZN17FSlateApplication18PrivateDrawWindowsE10TSharedPtrI7SWindowL7ESPMode0EE(+0x37e)
0x00007ff45c430b4c libUE4Editor-Slate.so!_ZN17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xeb)
0x00007ff45c430e1d libUE4Editor-Slate.so!_ZThn304_N17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xc)
0x00007ff45c8cc0d4 libUE4Editor-ApplicationCore.so!_ZN12FLinuxWindow13ReshapeWindowEiiii(+0x253)
0x00007ff45bfc313b libUE4Editor-SlateCore.so!_ZN7SWindow16ResizeWindowSizeE9FVector2D(+0x19a)
0x00007ff45bfc87cf libUE4Editor-SlateCore.so!_ZN7SWindow6ResizeE9FVector2D(+0x1e)
0x00007ff45c3fbab1 libUE4Editor-Slate.so!UnknownFunction(0x251ab0)
0x00007ff45c3fb5f7 libUE4Editor-Slate.so!_ZN17FSlateApplication11DrawPrepassE10TSharedPtrI7SWindowL7ESPMode0EE(+0x376)
0x00007ff45c3f986f libUE4Editor-Slate.so!_ZN17FSlateApplication18PrivateDrawWindowsE10TSharedPtrI7SWindowL7ESPMode0EE(+0x37e)
0x00007ff45c430b4c libUE4Editor-Slate.so!_ZN17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xeb)
0x00007ff45c430e1d libUE4Editor-Slate.so!_ZThn304_N17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xc)
0x00007ff45c8cc0d4 libUE4Editor-ApplicationCore.so!_ZN12FLinuxWindow13ReshapeWindowEiiii(+0x253)
0x00007ff45bfc313b libUE4Editor-SlateCore.so!_ZN7SWindow16ResizeWindowSizeE9FVector2D(+0x19a)
0x00007ff45bfc87cf libUE4Editor-SlateCore.so!_ZN7SWindow6ResizeE9FVector2D(+0x1e)
0x00007ff45c3fbab1 libUE4Editor-Slate.so!UnknownFunction(0x251ab0)
0x00007ff45c3fb5f7 libUE4Editor-Slate.so!_ZN17FSlateApplication11DrawPrepassE10TSharedPtrI7SWindowL7ESPMode0EE(+0x376)
0x00007ff45c3f986f libUE4Editor-Slate.so!_ZN17FSlateApplication18PrivateDrawWindowsE10TSharedPtrI7SWindowL7ESPMode0EE(+0x37e)
0x00007ff45c430b4c libUE4Editor-Slate.so!_ZN17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xeb)
0x00007ff45c430e1d libUE4Editor-Slate.so!_ZThn304_N17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xc)
0x00007ff45c8cc0d4 libUE4Editor-ApplicationCore.so!_ZN12FLinuxWindow13ReshapeWindowEiiii(+0x253)
0x00007ff45bfc313b libUE4Editor-SlateCore.so!_ZN7SWindow16ResizeWindowSizeE9FVector2D(+0x19a)
0x00007ff45bfc87cf libUE4Editor-SlateCore.so!_ZN7SWindow6ResizeE9FVector2D(+0x1e)
0x00007ff45c3fbab1 libUE4Editor-Slate.so!UnknownFunction(0x251ab0)
0x00007ff45c3fb5f7 libUE4Editor-Slate.so!_ZN17FSlateApplication11DrawPrepassE10TSharedPtrI7SWindowL7ESPMode0EE(+0x376)
0x00007ff45c3f986f libUE4Editor-Slate.so!_ZN17FSlateApplication18PrivateDrawWindowsE10TSharedPtrI7SWindowL7ESPMode0EE(+0x37e)
0x00007ff45c430b4c libUE4Editor-Slate.so!_ZN17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xeb)
0x00007ff45c430e1d libUE4Editor-Slate.so!_ZThn304_N17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xc)
0x00007ff45c8cc0d4 libUE4Editor-ApplicationCore.so!_ZN12FLinuxWindow13ReshapeWindowEiiii(+0x253)
0x00007ff45bfc313b libUE4Editor-SlateCore.so!_ZN7SWindow16ResizeWindowSizeE9FVector2D(+0x19a)
0x00007ff45bfc87cf libUE4Editor-SlateCore.so!_ZN7SWindow6ResizeE9FVector2D(+0x1e)
0x00007ff45c3fbab1 libUE4Editor-Slate.so!UnknownFunction(0x251ab0)
0x00007ff45c3fb5f7 libUE4Editor-Slate.so!_ZN17FSlateApplication11DrawPrepassE10TSharedPtrI7SWindowL7ESPMode0EE(+0x376)
0x00007ff45c3f986f libUE4Editor-Slate.so!_ZN17FSlateApplication18PrivateDrawWindowsE10TSharedPtrI7SWindowL7ESPMode0EE(+0x37e)
0x00007ff45c430b4c libUE4Editor-Slate.so!_ZN17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xeb)
0x00007ff45c430e1d libUE4Editor-Slate.so!_ZThn304_N17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xc)
0x00007ff45c8cc0d4 libUE4Editor-ApplicationCore.so!_ZN12FLinuxWindow13ReshapeWindowEiiii(+0x253)
0x00007ff45bfc313b libUE4Editor-SlateCore.so!_ZN7SWindow16ResizeWindowSizeE9FVector2D(+0x19a)
0x00007ff45bfc87cf libUE4Editor-SlateCore.so!_ZN7SWindow6ResizeE9FVector2D(+0x1e)
0x00007ff45c3fbab1 libUE4Editor-Slate.so!UnknownFunction(0x251ab0)
0x00007ff45c3fb5f7 libUE4Editor-Slate.so!_ZN17FSlateApplication11DrawPrepassE10TSharedPtrI7SWindowL7ESPMode0EE(+0x376)
0x00007ff45c3f986f libUE4Editor-Slate.so!_ZN17FSlateApplication18PrivateDrawWindowsE10TSharedPtrI7SWindowL7ESPMode0EE(+0x37e)
0x00007ff45c430b4c libUE4Editor-Slate.so!_ZN17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xeb)
0x00007ff45c430e1d libUE4Editor-Slate.so!_ZThn304_N17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xc)
0x00007ff45c8cc0d4 libUE4Editor-ApplicationCore.so!_ZN12FLinuxWindow13ReshapeWindowEiiii(+0x253)
0x00007ff45bfc313b libUE4Editor-SlateCore.so!_ZN7SWindow16ResizeWindowSizeE9FVector2D(+0x19a)
0x00007ff45bfc87cf libUE4Editor-SlateCore.so!_ZN7SWindow6ResizeE9FVector2D(+0x1e)
0x00007ff45c3fbab1 libUE4Editor-Slate.so!UnknownFunction(0x251ab0)
0x00007ff45c3fb5f7 libUE4Editor-Slate.so!_ZN17FSlateApplication11DrawPrepassE10TSharedPtrI7SWindowL7ESPMode0EE(+0x376)
0x00007ff45c3f986f libUE4Editor-Slate.so!_ZN17FSlateApplication18PrivateDrawWindowsE10TSharedPtrI7SWindowL7ESPMode0EE(+0x37e)
0x00007ff45c430b4c libUE4Editor-Slate.so!_ZN17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xeb)
0x00007ff45c430e1d libUE4Editor-Slate.so!_ZThn304_N17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xc)
0x00007ff45c8cc0d4 libUE4Editor-ApplicationCore.so!_ZN12FLinuxWindow13ReshapeWindowEiiii(+0x253)
0x00007ff45bfc313b libUE4Editor-SlateCore.so!_ZN7SWindow16ResizeWindowSizeE9FVector2D(+0x19a)
0x00007ff45bfc87cf libUE4Editor-SlateCore.so!_ZN7SWindow6ResizeE9FVector2D(+0x1e)
0x00007ff45c3fbab1 libUE4Editor-Slate.so!UnknownFunction(0x251ab0)
0x00007ff45c3fb5f7 libUE4Editor-Slate.so!_ZN17FSlateApplication11DrawPrepassE10TSharedPtrI7SWindowL7ESPMode0EE(+0x376)
0x00007ff45c3f986f libUE4Editor-Slate.so!_ZN17FSlateApplication18PrivateDrawWindowsE10TSharedPtrI7SWindowL7ESPMode0EE(+0x37e)
0x00007ff45c430b4c libUE4Editor-Slate.so!_ZN17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xeb)
0x00007ff45c430e1d libUE4Editor-Slate.so!_ZThn304_N17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xc)
0x00007ff45c8cc0d4 libUE4Editor-ApplicationCore.so!_ZN12FLinuxWindow13ReshapeWindowEiiii(+0x253)
0x00007ff45bfc313b libUE4Editor-SlateCore.so!_ZN7SWindow16ResizeWindowSizeE9FVector2D(+0x19a)
0x00007ff45bfc87cf libUE4Editor-SlateCore.so!_ZN7SWindow6ResizeE9FVector2D(+0x1e)
0x00007ff45c3fbab1 libUE4Editor-Slate.so!UnknownFunction(0x251ab0)
0x00007ff45c3fb5f7 libUE4Editor-Slate.so!_ZN17FSlateApplication11DrawPrepassE10TSharedPtrI7SWindowL7ESPMode0EE(+0x376)
0x00007ff45c3f986f libUE4Editor-Slate.so!_ZN17FSlateApplication18PrivateDrawWindowsE10TSharedPtrI7SWindowL7ESPMode0EE(+0x37e)
0x00007ff45c430b4c libUE4Editor-Slate.so!_ZN17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xeb)
0x00007ff45c430e1d libUE4Editor-Slate.so!_ZThn304_N17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xc)
0x00007ff45c8cc0d4 libUE4Editor-ApplicationCore.so!_ZN12FLinuxWindow13ReshapeWindowEiiii(+0x253)
0x00007ff45bfc313b libUE4Editor-SlateCore.so!_ZN7SWindow16ResizeWindowSizeE9FVector2D(+0x19a)
0x00007ff45bfc87cf libUE4Editor-SlateCore.so!_ZN7SWindow6ResizeE9FVector2D(+0x1e)
0x00007ff45c3fbab1 libUE4Editor-Slate.so!UnknownFunction(0x251ab0)
0x00007ff45c3fb5f7 libUE4Editor-Slate.so!_ZN17FSlateApplication11DrawPrepassE10TSharedPtrI7SWindowL7ESPMode0EE(+0x376)
0x00007ff45c3f986f libUE4Editor-Slate.so!_ZN17FSlateApplication18PrivateDrawWindowsE10TSharedPtrI7SWindowL7ESPMode0EE(+0x37e)
0x00007ff45c430b4c libUE4Editor-Slate.so!_ZN17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xeb)
0x00007ff45c430e1d libUE4Editor-Slate.so!_ZThn304_N17FSlateApplication13OnSizeChangedERK10TSharedRefI14FGenericWindowL7ESPMode0EEiib(+0xc)
0x00007ff45c8cc0d4 libUE4Editor-ApplicationCore.so!_ZN12FLinuxWindow13ReshapeWindowEiiii(+0x253)

[2021.06.30-11.08.09:225][  0]LogExit: Executing StaticShutdownAfterError

but

UE4Editor-Cmd /path/to/MyProject.uproject -Run=pythonscript -Script="/path/to/test.py"

works