| 1 |
DESCRIPTION OF PROBLEM: |
| 2 |
======================= |
| 3 |
|
| 4 |
The example map, maps/segmentation_fault.map, contains an example of this |
| 5 |
bug. q3map2 might segfault while compiling this map. This sort of thing |
| 6 |
might happen in certain intermediate versions of q3map2 while work is being |
| 7 |
done on fixing the math accuracy. The bug may not have happened in older |
| 8 |
version of q3map2, before the math accuracy issues were addressed. |
| 9 |
|
| 10 |
To trigger the bug, compile the map; you don't need -vis or -light. Only |
| 11 |
-bsp (the first q3map2 stage) is necessary to trigger the bug. The only |
| 12 |
entities in the map are a light and a info_player_deathmatch, so the map will |
| 13 |
compile for any Q3 mod. |
| 14 |
|
| 15 |
Here is a description of the problem brush (brush #0): |
| 16 |
|
| 17 |
side 0: -z face |
| 18 |
side 1: +z face |
| 19 |
side 2: -y face |
| 20 |
side 3: +x face |
| 21 |
side 4: +y face |
| 22 |
side 5: -x face |
| 23 |
side 6: problem side "accidentally showed up" :-) |
| 24 |
|
| 25 |
Side 6 is actually a superfluous plane and will be NULL'ed out in the code. |
| 26 |
If the code does not handle a NULL'ed out winding correctly, it will |
| 27 |
segfault. |