[hard to reproduce] some q3map2 crashes on long builds with bounce enabled
I just got that on an insane long build (hours) with crazy options (See the whole build log):
--- Radiosity (bounce 2 of 5) ---
0...1...2...3...4...5...6...7...8...9... (1)
32596 diffuse surfaces
94754 total lights
14144 culled lights
--- BounceGrid ---
0...1...2...3...4...5...6...7...8...9... (374)
--- IlluminateRawLightmap ---
0************ ERROR ************
Light of undefined type!
Error: command failed: 'q3map2' '-light' '-fs_pakpath' '/home/illwieckz/dev/mapping/InterstellarOasis/src/map-arachnid2_src.dpkdir' '-fs_pakpath' '/home/illwieckz/dev/mapping/InterstellarOasis/src' '-fs_pakpath' '/home/illwieckz/dev/mapping/UnvanquishedAssets/src' '-srffile' '/mnt/tmpfs/tmp_0tzrifv_q3map2.srf' '-bspfile' '/mnt/tmpfs/tmp99kdwblu_arachnid2.bsp_transient.dir/maps/arachnid2.bsp' '-lightmapdir' '/mnt/tmpfs/tmp99kdwblu_arachnid2.bsp_transient.dir/maps/arachnid2' '-game' 'unvanquished' '-lightsubdiv' '100' '-fastallocate' '-shade' '-dirty' '-patchshadows' '-samples' '3' '-samplesize' '8' '-bouncegrid' '-bounce' '5' '-deluxe' '-lightmapsize' '1024' '-external' '/home/illwieckz/dev/mapping/InterstellarOasis/src/map-arachnid2_src.dpkdir/maps/arachnid2.map'
I got a similar crash yesterday, but instead of having q3map2 printing an error message and returning, it just crashed silently. See the whole build log. I got this in dmesg
:
[80340.766566] traps: q3map2[10571] general protection ip:7371c65ec sp:7f28ce9127d0 error:0 in q3map2[73716a000+f0000]
In both cases it happened on second bounce pass (the already produced files are fine).