[g3.4pre-240-g7a11be861] Legacy GL crashes on wall sorting

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Rachael
Posts: 13531
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

[g3.4pre-240-g7a11be861] Legacy GL crashes on wall sorting

Post by Rachael »

This one is immediately obvious. Run "gl_rendermode 4" after using "-glversion 2" at the command prompt will crash GZDoom every single time.

I discovered this while trying to test this commit: Pull #464

I cleaned my master in order to confirm that the problem wasn't my work.

The crash occurs in gl_drawinfo.cpp line 905 when attempting to access the walls[] array (*walls == NULL).

(_mental_ discovered below that it requires dynamic lights to reproduce this crash - can easily load with lights.pk3)
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [g3.4pre-240-g7a11be861] Legacy GL crashes on wall sorti

Post by _mental_ »

It doesn't crash for me. Switching render modes with -glversion 2 works fine, no matter what initial mode was.
Is it some particular IWAD+PWAD combination?

EDIT: Managed to reproduce it with Castlevania after entering the first door on MAP01.
User avatar
Rachael
Posts: 13531
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [g3.4pre-240-g7a11be861] Legacy GL crashes on wall sorti

Post by Rachael »

I managed to get it to crash on Ultimate Doom E1M1.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [g3.4pre-240-g7a11be861] Legacy GL crashes on wall sorti

Post by _mental_ »

I see, it needs dynamic lights in order to reproduce but I didn't have lights.pk3 loaded.
User avatar
Rachael
Posts: 13531
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [g3.4pre-240-g7a11be861] Legacy GL crashes on wall sorti

Post by Rachael »

Thanks - edited that into my OP.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [g3.4pre-240-g7a11be861] Legacy GL crashes on wall sorti

Post by _mental_ »

Fixed in a4a4abe.
Post Reply

Return to “Closed Bugs [GZDoom]”