Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47431358726624 (LWP 23094)] 0x00000000004de302 in R_FogFactor (s=-nan(0x7fffff), t=-nan(0x7fffff)) at src/renderer/tr_image.c:2106 2106 d = tr.fogTable[ (int)(s * (FOG_TABLE_SIZE-1)) ]; (gdb) bt #0 0x00000000004de302 in R_FogFactor (s=Cannot access memory at address 0x7fff31f74c4 c ) at src/renderer/tr_image.c:2106 Cannot access memory at address 0x7fff31f74c68