[r168] r_smoothlighting causes fatal crash

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Rachael
Developer
Developer
Posts: 3651
Joined: Sat May 13, 2006 10:30

[r168] r_smoothlighting causes fatal crash

Post by Rachael »

http://sp.drdteam.org/r168crash.zip

Included in the zip is my compiled version of the executable, with the MAP file, and the crash report. You may not need it.

Suspected function is wallscan_striped, in r_segs.cpp. It appears that when the GL renderer is enabled, it does not like this CVAR enabled. This problem may appear elsewhere in the code, as well.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

No, crashing function is side_t::GetLightLevel, which coincidentally is the only place in the code where smoothlighting is used.
User avatar
Rachael
Developer
Developer
Posts: 3651
Joined: Sat May 13, 2006 10:30

Post by Rachael »

Ah, ok. I'm still trying to figure out how to read crash dumps and MAP files. :)
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

If you want to find the function look for the latest 'call' that might result in the address where it crashes and then look up that value in the map file.
User avatar
Rachael
Developer
Developer
Posts: 3651
Joined: Sat May 13, 2006 10:30

Post by Rachael »

Thank you, Graf. :)
Locked

Return to “Closed Bugs”