Download

Lightmass crash

I made a fresh 4.18 build and project, added a Lightmass Importance Volume to it and hit build.

Lightmass crashes with this swarm agent log:



    13:15:05: [Interface:TryOpenConnection] Local connection established
    13:15:05: [Job] Accepted Job 8B62E2C7-42C6E44A-1B43EF8B-BE75C957
    13:15:06: [Job] Launched Job UnrealLightmass_2017-10-17_08-52-36_1411072-64bit.exe
    13:15:06: [Job]     PID is 6456
    13:15:06: [Job]     GUID is "8B62E2C7-42C6E44A-1B43EF8B-BE75C957"
    13:15:06: LogLightmass: Display: Lightmass Win64 started on: XC0DEB10C. Command-line: 8B62E2C742C6E44A1B43EF8BBE75C957
    13:15:06: Failed to determine engine directory: Defaulting to ../../../Engine/
    13:15:06: Failed to load 'aqProf.dll' (GetLastError=126)
    13:15:06: File 'aqProf.dll' does not exist
    13:15:06: Failed to load 'VtuneApi.dll' (GetLastError=126)
    13:15:06: File 'VtuneApi.dll' does not exist
    13:15:06: Failed to load 'VtuneApi32e.dll' (GetLastError=126)
    13:15:06: File 'VtuneApi32e.dll' does not exist
    13:15:06: Lightmass Win64 started on: XC0DEB10C. Command-line: 8B62E2C742C6E44A1B43EF8BBE75C957
    13:15:06: LogLightmass: Display: Processing scene GUID: 8B62E2C742C6E44A1B43EF8BBE75C957 with 6 threads
    13:15:06: Processing scene GUID: 8B62E2C742C6E44A1B43EF8BBE75C957 with 6 threads
    13:15:06: Building static lighting...
    13:15:06: [OpenConnection] Registering TCP channel ...
    13:15:06: [OpenConnection] Connecting to agent ...
    13:15:07: [TryOpenConnection] Testing the Agent
    13:15:07: [TryOpenConnection] Opening Connection to Agent
    13:15:07: [TryOpenConnection] Local Process ID is 6456
    13:15:07: [Job] Found a parent connection for PID 6456
    13:15:07: [Job]     79CBF430 -> 1D35FA68
    13:15:07: [Interface:TryOpenConnection] Local connection established
    13:15:07: LogMemory: Warning: MemoryStats:
    13:15:07:     AvailablePhysical 8905236480
    13:15:07:      AvailableVirtual 140736694157312
    13:15:07:          UsedPhysical 38146048
    13:15:07:      PeakUsedPhysical 39337984
    13:15:07:           UsedVirtual 196657152
    13:15:07:       PeakUsedVirtual 196657152
    13:15:07: MemoryStats:
    13:15:07:     AvailablePhysical 8905236480
    13:15:07:      AvailableVirtual 140736694157312
    13:15:07:          UsedPhysical 38146048
    13:15:07:      PeakUsedPhysical 39337984
    13:15:07:           UsedVirtual 196657152
    13:15:07:       PeakUsedVirtual 196657152
    13:15:07: Allocator Stats for TBB: (not implemented)
    13:15:07: Windows GetLastError: The operation completed successfully. (0)
    13:15:07: Exception handled in main, crash report generated, re-throwing exception
    13:15:07: Exception handled in main, calling appHandleCriticalError
    13:15:07: LogLightmass: Error: === Critical error: ===
    13:15:07:
    13:15:07: Fatal error: [File:C:\Users\xC0DEB10C\Documents\Git\UnrealEngine\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 183]
    13:15:07: Ran out of memory allocating 18446744070209521004 bytes with alignment 0
    13:15:07:
    13:15:07:
    13:15:07:
    13:15:07:
    13:15:07: 0x00000000AD1E9E08 KERNELBASE.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x000000008F398A04 UnrealLightmass-ApplicationCore.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x0000000060880D1B UnrealLightmass-Core.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x00000000608243F8 UnrealLightmass-Core.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x00000000606FE2F5 UnrealLightmass-Core.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x0000000060730E02 UnrealLightmass-Core.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x00000000102AEDE4 UnrealLightmass.exe!TArray<wchar_t,FDefaultAllocator>::ResizeTo() [c:\users\xc0deb10c\documents\git\unrealengine\engine\source\runtime\core\public\containers\array.h:2265]
    13:15:07:
    13:15:07: 0x00000000102C20D8 UnrealLightmass.exe!Lightmass::FScene::Import() [c:\users\xc0deb10c\documents\git\unrealengine\engine\source\programs\unreallightmass\private\importexport\lightmassscene.cpp:109]
    13:15:07:
    13:15:07: 0x00000000102B4153 UnrealLightmass.exe!Lightmass::FLightmassImporter::ImportScene() [c:\users\xc0deb10c\documents\git\unrealengine\engine\source\programs\unreallightmass\private\importexport\importer.cpp:34]
    13:15:07:
    13:15:07: 0x00000000102ADAF1 UnrealLightmass.exe!Lightmass::BuildStaticLighting() [c:\users\xc0deb10c\documents\git\unrealengine\engine\source\programs\unreallightmass\private\cpusolver\cpusolver.cpp:179]
    13:15:07:
    13:15:07: 0x00000000102DCA8D UnrealLightmass.exe!Lightmass::LightmassMain() [c:\users\xc0deb10c\documents\git\unrealengine\engine\source\programs\unreallightmass\private\launch\unreallightmass.cpp:239]
    13:15:07:
    13:15:07: 0x00000000102DFF0A UnrealLightmass.exe!main() [c:\users\xc0deb10c\documents\git\unrealengine\engine\source\programs\unreallightmass\private\launch\unreallightmass.cpp:508]
    13:15:07:
    13:15:07: 0x0000000010391059 UnrealLightmass.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
    13:15:07:
    13:15:07: 0x00000000ADF72774 KERNEL32.DLL!UnknownFunction ]
    13:15:07:
    13:15:07: 0x00000000B0050D61 ntdll.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x00000000B0050D61 ntdll.dll!UnknownFunction ]
    13:15:07:
    13:15:07:
    13:15:07: === Critical error: ===
    13:15:07:
    13:15:07: Fatal error: [File:C:\Users\xC0DEB10C\Documents\Git\UnrealEngine\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 183]
    13:15:07: Ran out of memory allocating 18446744070209521004 bytes with alignment 0
    13:15:07:
    13:15:07:
    13:15:07:
    13:15:07:
    13:15:07: 0x00000000AD1E9E08 KERNELBASE.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x000000008F398A04 UnrealLightmass-ApplicationCore.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x0000000060880D1B UnrealLightmass-Core.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x00000000608243F8 UnrealLightmass-Core.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x00000000606FE2F5 UnrealLightmass-Core.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x0000000060730E02 UnrealLightmass-Core.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x00000000102AEDE4 UnrealLightmass.exe!TArray<wchar_t,FDefaultAllocator>::ResizeTo() [c:\users\xc0deb10c\documents\git\unrealengine\engine\source\runtime\core\public\containers\array.h:2265]
    13:15:07:
    13:15:07: 0x00000000102C20D8 UnrealLightmass.exe!Lightmass::FScene::Import() [c:\users\xc0deb10c\documents\git\unrealengine\engine\source\programs\unreallightmass\private\importexport\lightmassscene.cpp:109]
    13:15:07:
    13:15:07: 0x00000000102B4153 UnrealLightmass.exe!Lightmass::FLightmassImporter::ImportScene() [c:\users\xc0deb10c\documents\git\unrealengine\engine\source\programs\unreallightmass\private\importexport\importer.cpp:34]
    13:15:07:
    13:15:07: 0x00000000102ADAF1 UnrealLightmass.exe!Lightmass::BuildStaticLighting() [c:\users\xc0deb10c\documents\git\unrealengine\engine\source\programs\unreallightmass\private\cpusolver\cpusolver.cpp:179]
    13:15:07:
    13:15:07: 0x00000000102DCA8D UnrealLightmass.exe!Lightmass::LightmassMain() [c:\users\xc0deb10c\documents\git\unrealengine\engine\source\programs\unreallightmass\private\launch\unreallightmass.cpp:239]
    13:15:07:
    13:15:07: 0x00000000102DFF0A UnrealLightmass.exe!main() [c:\users\xc0deb10c\documents\git\unrealengine\engine\source\programs\unreallightmass\private\launch\unreallightmass.cpp:508]
    13:15:07:
    13:15:07: 0x0000000010391059 UnrealLightmass.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
    13:15:07:
    13:15:07: 0x00000000ADF72774 KERNEL32.DLL!UnknownFunction ]
    13:15:07:
    13:15:07: 0x00000000B0050D61 ntdll.dll!UnknownFunction ]
    13:15:07:
    13:15:07: 0x00000000B0050D61 ntdll.dll!UnknownFunction ]
    13:15:07:
    13:15:07:
    13:15:07: LogWindows: Warning: CreateProc failed: The system cannot find the file specified. (0x00000002)
    13:15:07: CreateProc failed: The system cannot find the file specified. (0x00000002)
    13:15:07: LogWindows: Warning: URL: ../DotNET/AutoReporter.exe 6456 "UE4AutoReportDump.txt" "UnrealLight_XC0DEB10C_1E9020C842338142F2FD739F6E1F0E2C.log" "UE4AutoReportIniDump.txt" "" -unattended
    13:15:07: URL: ../DotNET/AutoReporter.exe 6456 "UE4AutoReportDump.txt" "UnrealLight_XC0DEB10C_1E9020C842338142F2FD739F6E1F0E2C.log" "UE4AutoReportIniDump.txt" "" -unattended
    13:15:07: LogLightmass: Error: Couldn't start up the Auto Reporting process!
    13:15:07: Couldn't start up the Auto Reporting process!
    13:15:07: *** CRITICAL ERROR! Machine: XC0DEB10C
    13:15:07: *** CRITICAL ERROR! Logfile: UnrealLight_XC0DEB10C_1E9020C842338142F2FD739F6E1F0E2C.log
    13:15:07: *** CRITICAL ERROR! Crash report:
    13:15:07: [CloseConnection] Closing connection 1D35FA68 using handle 1D35FA68
    13:15:07: [CloseConnection] Connection confirmed for disconnection 1D35FA68
    13:15:07: [CloseConnection] Connection disconnected 1D35FA68
    13:15:07: [GetMessage] Safely returning to 1D35FA68 with no message
    13:15:07: [MaintainConnections] Local connection has closed (1D35FA68)
    13:15:07: [MaintainConnections] Removed connection 1D35FA68
    13:15:08: [Job] Job has failed! Job executable didn't exit cleanly. Exit code: 1
    13:15:08: [CloseConnection] Closing connection 79CBF430 using handle 79CBF430
    13:15:08: [CloseConnection] Connection confirmed for disconnection 79CBF430
    13:15:08: [CloseConnection] Closing orphaned Job (8B62E2C7-42C6E44A-1B43EF8B-BE75C957)
    13:15:08: [MaintainConnections] Connection 79CBF430 is DISCONNECTING
    13:15:08: [MaintainConnections] Connection 79CBF430 is DISCONNECTING
    13:15:09: [MaintainConnections] Connection 79CBF430 is DISCONNECTING
    13:15:09: [MaintainConnections] Connection 79CBF430 is DISCONNECTING
    13:15:10: [MaintainConnections] Connection 79CBF430 is DISCONNECTING
    13:15:10: [MaintainConnections] Connection 79CBF430 is DISCONNECTING
    13:15:11: [MaintainConnections] Connection 79CBF430 is DISCONNECTING
    13:15:11: [MaintainConnections] Connection 79CBF430 is DISCONNECTING
    13:15:12: [MaintainConnections] Connection 79CBF430 is DISCONNECTING
    13:15:12: [CloseConnection] Connection disconnected 79CBF430
    13:15:12: [GetMessage] Safely returning to 79CBF430 with no message
    13:15:12: [MaintainConnections] Local connection has closed (79CBF430)
    13:15:12: [MaintainConnections] Removed connection 79CBF430
    13:15:12: [MaintainConnections] All connections have closed


Its trying to allocate 18446744070209521004 bytes, thats 18446744 terabytes, that cant be right…
Any ideas?

Also getting errors.
Its not in the same place every time either, i think i got to 80-something % yesterday, but, mainly gets to 30-something % and i get this.

<None> === Lightmass crashed: ===Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffff
Fatal error: [File:D:\Build++UE4+Release-4.18+Compile\Sync\Engine\Source\Programs\UnrealLightmass\Private\Lighting\LightingSystem.cpp] [Line: 1338]
Static lighting thread exception:
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffff

0x00000000EFD0DF7A UnrealLightmass.exe!UnknownFunction ]
0x00000000EFD0E011 UnrealLightmass.exe!UnknownFunction ]
0x00000000EFD0E011 UnrealLightmass.exe!UnknownFunction ]
0x00000000EFD0E011 UnrealLightmass.exe!UnknownFunction ]
0x00000000EFCCB9B6 UnrealLightmass.exe!UnknownFunction ]
0x00000000EFCF1C60 UnrealLightmass.exe!UnknownFunction ]
0x00000000EFD22A42 UnrealLightmass.exe!UnknownFunction ]
0x00000000EFCE9609 UnrealLightmass.exe!UnknownFunction ]
0x00000000EFD3EAB7 UnrealLightmass.exe!UnknownFunction ]
0x00000000EFD32D29 UnrealLightmass.exe!UnknownFunction ]
0x0000000087656F0C UnrealLightmass-Core.dll!UnknownFunction ]
0x0000000087647AD3 UnrealLightmass-Core.dll!UnknownFunction ]
0x00000000E41E2774 KERNEL32.DLL!UnknownFunction ]
0x00000000E6320D51 ntdll.dll!UnknownFunction ]
0x00000000E6320D51 ntdll.dll!UnknownFunction ]

EDIT:
Fixed my issue, i found a random “foliage” that was at 0,0,0 for some random reason and deleted it. Lighting seems to be building for the time being. It took me about an hour to get to 99%. This 1% is taking over 5 hours and its still scrolling across… not sure if this is supposed to happen, or … not.