ZoneLighter - segfault when using more threats
|Category:||Tools: Build Gamedata|
|Target version:||Version 0.9.0|
During using the build gamedata pipeline, the tool zone_lighter builds the lighted zone files. On my computer i used 6 cores to compute the files. In majority of the cases, the lighted zones were built correctly. But sometimes the tool stops with the error "patchInfo.Lumels.size()==lumelCount". After some time of debugging, i found out, that there is an issue with the different threats. Setting the CPUmask manually to use only one core, everything is fine. If 6 cores are used, one threat has a NULL-pointer and causes this error.
I'll look a little deeper in this issue. Perhaps this only happens if 6 or more cores are used.
#1 Updated by Krolock about 2 years ago
I've set the CPUmask to 4 and 5 cores. No issue. This is only happening with 6 cores.
#3 Updated by Naush about 2 years ago
Confirmed, with 6 and 8 cores crash occurs , Using 7 cores program run normally.