Crash during playtesting - skytexture load?

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
User avatar
camaxide
Posts: 388
Joined: Thu Jun 11, 2015 8:38 am

Crash during playtesting - skytexture load?

Post by camaxide »

So I just did some playtesting on levels I've played many times before - close to the end of one map it just suddenly crashed with Code: C0000005 (Access Violation - tried to write address 0000023E97898000) Adress: 00007FF6BB9E1DEF
The only thing new on the map would be the skytexture.. and it should have loaded about the time it crashed so I have a hunch it's related to that.. but not sure why it would crash.

https://pastebin.com/JPkymEXL

This is the full report

Any means of figuring out what went wrong?
User avatar
Rachael
Posts: 13914
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: Crash during playtesting - skytexture load?

Post by Rachael »

Can you post a full CrashLog.zip, and also the map in question causing the crash?
User avatar
camaxide
Posts: 388
Joined: Thu Jun 11, 2015 8:38 am

Re: Crash during playtesting - skytexture load?

Post by camaxide »

edit: it has nothing to do with the new sky.. it seem to be caused by a series of 10 sectors in a row being 1 unit apart- they make a ladder.. and it seem this triggers the crash - I tried remaking the ladder in an empty map - and only these 10 sectors alone crash the game

I just posted the map files in discord under technical-issues-no-threads - is that ok? or should I upload somewhere and link also?
User avatar
camaxide
Posts: 388
Joined: Thu Jun 11, 2015 8:38 am

Re: Crash during playtesting - skytexture load?

Post by camaxide »

https://norconsult365-my.sharepoint.com ... A?e=a58sni

files here - MAP01 - crash4 will crash
MAP01 - crash5 will not crash - but looking towards the ladder will lower FPS a lot at least if on high res
User avatar
camaxide
Posts: 388
Joined: Thu Jun 11, 2015 8:38 am

Re: Crash during playtesting - skytexture load?

Post by camaxide »

Crash log is also now found in the same link
User avatar
Rachael
Posts: 13914
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: Crash during playtesting - skytexture load?

Post by Rachael »

The files in Discord will help, thanks.
User avatar
camaxide
Posts: 388
Joined: Thu Jun 11, 2015 8:38 am

Re: Crash during playtesting - skytexture load?

Post by camaxide »

Hi sorry, no need to look at those... I figured out the issue... I had by mistake made each of the steps reflective...
The vent before and after is reflective - but when each step also is that crashes things..
User avatar
camaxide
Posts: 388
Joined: Thu Jun 11, 2015 8:38 am

Re: Crash during playtesting - skytexture load?

Post by camaxide »

I think it's a bit weird that 5-6 steps of floor with reflective surface causes a drop to 90 fps .. and 10 steps cause a crash - is there something in gzdoom that causes small sectors close to eachothers with reflective floor / ceiling to cause a mayham?
or is it perhaps something that happens when a floor and a ceiling close to each others with a reflective ceiling and a reflective floor meets - that causes issues?
anyway.. for my situation I was never meant to have the steps reflective... so that is an easy fix - but - might be worth looking into why such a simple situation caused such an extreme load on the hardware..?
Professor Hastig
Posts: 256
Joined: Mon Jan 09, 2023 2:02 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Crash during playtesting - skytexture load?

Post by Professor Hastig »

Keep in mind that each reflective step creates a portal, and rendering those is not cheap.
Looking at the map, your problem is not the steps but the reflective ceiling in one sector. This will end up in portal recursion and with 5 or 10 reflective steps can quickly create an avalanche of portals. You have to be extremely careful when using reflective planes on both floor and ceiling in the same area.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Crash during playtesting - skytexture load?

Post by Graf Zahl »

Yeah, bad reflecting plane setup really can bring down the engine. I've seen extreme slowdowns with maps where there was one reflective ceiling and two reflective floors with different height in the same area.

Return to “Bugs [GZDoom]”