dethrace icon indicating copy to clipboard operation
dethrace copied to clipboard

segfault when crashing with smoke against palm tree in Mayan Mayhem

Open madebr opened this issue 2 years ago • 0 comments

When crashing against a palm tree with a smoking (=broken) car in Mayan Mayhem (first map of Carmageddon Splat Pack), the game segfaults.

The following stack trace is print:

0: SmokeLine at /home/maarten/programming/dethrace/src/DETHRACE/common/spark.c:846
1: SmokeCircle at /home/maarten/programming/dethrace/src/DETHRACE/common/spark.c:949
2: SmokeCircle3D at /home/maarten/programming/dethrace/src/DETHRACE/common/spark.c:1084
3: DrawTheGlow at /home/maarten/programming/dethrace/src/DETHRACE/common/spark.c:1837 (discriminator 2)
4: RenderSmoke at /home/maarten/programming/dethrace/src/DETHRACE/common/spark.c:1176
5: RenderAFrame at /home/maarten/programming/dethrace/src/DETHRACE/common/graphics.c:1620 (discriminator 2)
6: MainGameLoop at /home/maarten/programming/dethrace/src/DETHRACE/common/mainloop.c:596
7: DoRace at /home/maarten/programming/dethrace/src/DETHRACE/common/mainloop.c:722
8: DoGame at /home/maarten/programming/dethrace/src/DETHRACE/common/structur.c:538
9: DoProgram at /home/maarten/programming/dethrace/src/DETHRACE/common/structur.c:646
10: GameMain at /home/maarten/programming/dethrace/src/DETHRACE/common/main.c:106
11: original_main at /home/maarten/programming/dethrace/src/DETHRACE/pc-dos/dossys.c:666
12: main at /home/maarten/programming/dethrace/src/DETHRACE/main.c:29
13: ?? ??:0

How to reproduce

  • Start DethRace with DETHRACE_ROOT_DIR pointing to a splat pack directory
  • Start a new game, select Max Damage, any difficulty, and start the Mayan Mayhem race
  • When in-race, Enter IBETYOUCANTPRINTCUNT for entering the edit mode
  • Press F4 until you enter "damage edit mode"
  • Make speed (but not too much to not trigger #131), drive a bit around in the grass and crash against a palm tree. Before you crash, make sure you have a damaged car that generates smoke. Use the the keys 0-6 (combined with SHIFT) for that.

madebr avatar Jun 03 '22 00:06 madebr