My project was working fine for months. Switched from 4.27 to UE5.1 and it still was working fine. Suddenly I had to rebuild lighting in the project and i cannot get further as lightmass crash happens when rebuilding lighting. Here are some crash logs:
Unix hardware info:
- we are the first instance of this executable
- this process' id (pid) is 70283, parent process' id (ppid) is 65447
- we are not running under debugger
- we're logged in locally
- we're running with rendering
- CPU: GenuineIntel 'Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz' (signature: 0x906EC)
- Number of physical cores available for the process: 6
- Number of logical cores available for the process: 6
- Cache line size: 64
- GPU Brand Info: NVIDIA GeForce RTX 2070 (NVIDIA UNIX x86_64 Kernel Module 525.60.11 Wed Nov 23 23:04:03 UTC 2022)
- Memory allocator used: Mimalloc
- This binary is optimized with LTO: no, PGO: no, instrumented for PGO data collection: no
- This is an internal build.
Skipped benchmarking clocks because the engine is running in a standalone program mode - CLOCK_MONOTONIC will be used.
Unix-specific commandline switches:
-ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence)
-jemalloc - use jemalloc for all memory allocation
-binnedmalloc - use binned malloc for all memory allocation
-filemapcachesize=NUMBER - set the size for case-sensitive file mapping cache
-useksm - uses kernel same-page mapping (KSM) for mapped memory (OFF)
-ksmmergeall - marks all mmap'd memory pages suitable for KSM (OFF)
-preloadmodulesymbols - Loads the main module symbols file into memory (OFF)
-sigdfl=SIGNAL - Allows a specific signal to be set to its default handler rather then ignoring the signal
-crashhandlerstacksize - Allows setting crash handler stack sizes (204800)
-noexclusivelockonwrite - disables marking files created by the engine as exclusive locked while the engine has them opened
-httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl)
-reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl)
-virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini)
- Physical RAM available (not considering process quota): 16 GB (15919 MB, 16301528 KB, 16692764672 bytes)
- VirtualMemoryAllocator pools will grow at scale 1.4
- MemoryRangeDecommit() will be a no-op (re-run with -vmapoolevict to change)
- PageSize 4096
- BinnedPageSize 65536
259 objects as part of root set at end of initial load.
44720 out of 0 bytes used by permanent object pool.
CloseDisregardForGC: 0/0 objects in disregard for GC pool
Using OS detected language (en-US).
Using OS detected locale (en-US).
No specific localization for 'en-US' exists, so 'en' will be used for the language.
Using OS detected language (en-US).
Using OS detected locale (en-US).
No localization for 'en-US' exists, so 'en' will be used for the language.
No localization for 'en-US' exists, so 'en' will be used for the locale.
Processed 2 localized package path(s) for 1 prioritized culture(s) in 0.000043 seconds
Initializing bridge on interface 0.0.0.0:0 to multicast group 230.0.0.1:6666.
Added local interface '192.168.2.64' to multicast group '230.0.0.1:6666'
Lightmass Linux started on: HellMachine. Command-line: A8D3B6BA616248ACADAF399691967A76 -Messaging -nostdout
Processing scene GUID: A8D3B6BA616248ACADAF399691967A76 with 6 threads
Building static lighting...
Measured CPU frequency: 3.70 GHz
FStaticLightingSystem started using GKDOPMaxTrisPerLeaf: 4
Number of texture mappings: 228
Number of fluid mappings: 0
Number of landscape mappings: 16
Number of BSP mappings: 0
Number of static mesh instance mappings: 228
Scene surface area calculated at 303.624 million units (31.035% of the estimated 978.321 million units)
Importance volume surface area calculated at 48.380 million units (139.389% of the estimated 34.709 million units)
Embree Build 0.1s
Collision Mesh Overview:
Num Triangles : 240851
MeshInfos : 0.0Mb
UVs : 1.9Mb
LightmapUVs : 1.9Mb
Embree Used Memory : 21.7Mb
Processing...
EmitDirectPhotons complete, 0.012 million photons emitted in 0.0 seconds
Built photon segment map in 0.0 seconds
EmitIndirectPhotons complete, 0.029 million photons emitted in 0.0 seconds
Marking Irradiance Photons complete, 0.005 million photons marked in 0.0 seconds
Caching Irradiance Photons complete, 1.557 million cache samples in 1.1 seconds
Calculate Irradiance Photons complete, 0.005 million irradiance calculations in 0.0 seconds
UnrealLightmass: /home/bschaefer/UnrealEngine/Engine/Source/ThirdParty/Intel/Embree/Embree2140/src/kernels/bvh/bvh_intersector1.cpp:62: static void embree::avx2::BVHNIntersector1<8, 1, false, embree::avx2::ArrayIntersector1<embree::avx2::TriangleMIntersector1Moeller<4, 4, true> > >::intersect(const embree::avx2::BVHNIntersector1::BVH *__restrict, embree::Ray &__restrict, embree::IntersectContext *) [N = 8, types = 1, robust = false, PrimitiveIntersector1 = embree::avx2::ArrayIntersector1<embree::avx2::TriangleMIntersector1Moeller<4, 4, true> >]: Assertion `ray.valid()' failed.
Signal 6 caught.
Malloc Size=262146 LargeMemoryPoolOffset=262162
Malloc Size=262146 LargeMemoryPoolOffset=524338
=== Lightmass crashed (Signal=6): ===
[2022.12.05-19.23.54:501][535]LogUObjectHash: