r19 This map causes a crash

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

r19 This map causes a crash

Post by Enjay »

I don't know why, but something in this little test map that I posted the other day causes my build of r19 to crash when starting the map

http://www.zen64060.zen.co.uk/3d_floor.zip

edit:
r17 and 18 also crash. r16 does not.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

I'm guessing it's the same thing: every map in my Burghead release causes a crash sooner or later - most of them fairly early. I does seem to coincide with when certain 3D floors come in to view - but not all 3D floors seem to be causing a problem.

Also, that WAD refuses to start complaining about the syntax of SBARINFO but I think that is my fault.

The fix is easy anyway, either remove SBARINFO or change line 66 from

drawmugshot "STF", 5, 0, 143, 168;

to

drawmugshot "STF", 5, 143, 168;

GZdoom didn't complain about it before, but I'm pretty sure what I had in the WAD was wrong. :(
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Nice map. ;)

But no crash for me.
RazTK
Posts: 52
Joined: Sun Jan 15, 2006 16:02
Location: Israel
Contact:

Post by RazTK »

Nice map indeed. I especially liked the "water-cube". :>

No crash here either.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Bugger!

[edit] Hang on, I think I may have it. X/Y Billboarding again. Somehow that got turned back on for me. If I turn it off, no crash. Back on, immediate crash when stating the map.

With X/Y billboarding on...

If I delete all the items on the map, no crash.

If I move all the items on the map until they are not on/above/under a 3D floor, no crash.

However, I *think* it will then crash when something walks under a 3D floor or if I look at something from a strange Z angle.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Yup, definitely, I can wander around the map with Y billboarding on. If I go to the menu, it crashes as soo as I turn X/Y on.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Dammit. Even with X/Y Billboarding off, my Burghead stuff crashes. Go to map 110 and walk forward a bit. It should crash just before the house comes into view.

This is with RazTK's builds and mine BTW.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

OK, I've tried as many changes to my OpenGL settings as I can think of and I always seem to get a crash on map110 of the Burghead thing. It's a bit hard to keep track of because, obviously, the game crashes every time I change my settings and try something else.

As soon as the house comes into view - bang! GZdoom dies. I can walk backwards along the road to the house and, provided I keep looking away from it, I can pass right by the front of it but as soon as I turn around - crash!
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

fixed
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Phew! I was begining to think it was going to be another thing that only I was able to experience.

What was wrong (and did you try the BH levels and get the crash there)?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

I didn't test the code to properly light models under 3D floors. It compiled without warning because it referenced a global variable that happened to have the same name as one intended function parameter.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

So models being on the BH map made it crash even with X/Y billboarding off I guess.

Anyway, r20 has indeed cured the crash. Thanks.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Indeed. It was the same problem there.
Locked

Return to “Closed Bugs”