g1.8.1-303-gcb74dd9 various crashes with my files

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:

g1.8.1-303-gcb74dd9 various crashes with my files

Post by Enjay »

Not sure if anyone can help, but here goes...

With my own (slightly) modified version of g1.8.1-303-gcb74dd9, when I quit GZDoom, there is a crash dialogue waiting for me at the desktop.

Probably useless crash report:
CrashReportNJ.zip
(29.2 KiB) Downloaded 56 times
If I load all the mod project files on top of doom2.wad using ZDL, an unmodified GZDoom (same version as the one posted on the git builds site) crashes in a similar way:
CrashReportGZD.zip
(28.87 KiB) Downloaded 53 times
So far I haven't been able to isolate things any better but I will try. If I can get a cut down file that shows the problem, I will post it.

[edit] Hmmm... loading all the files and then removing them one by one doesn't get rid of the crash until I only have one file loaded. Problem is, I can't get a situation where the same files, and only those files, consistently cause the crash. When everything is loaded, I always get the crash. When one file is loaded, I never get the crash. Working out which files need to be loaded, however, seems to be tricky. Unfortunately, some files depend on others. GZDoom can't start with some of them loaded without others also being loaded so that's muddying the waters too. [/edit]
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: g1.8.1-303-gcb74dd9 various crashes with my files

Post by Enjay »

Just in case it means anything (probably not), I compiled a copy from 29th September with VS2005 and it worked. I then converted the project to 2008 (using the tool that came with VS2008 express) and compiled with VS2008. It also worked without crashing.

So, it looks like the crash might be due to something that has changed since the above version rather than just the migration to the new compiling environment.

gzdoom-g1.8.1-285-g834678a.7z from the nightly builds does not crash either.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: g1.8.1-303-gcb74dd9 various crashes with my files

Post by Enjay »

I *think* I have identified where the problem crept in (bearing in mind that I'm not particularly adept with git). Reverting the changes made here:

Code: Select all

SHA-1: a72b94e80caf80da3049fbf8a388159f5b8d9f70

* - fixed: Warped textures were recreated each time they were bound.
- fixed: Models were never freed.
Stops the crash happening.

This is what I did...

Image

Then compiled and the crash stopped.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: g1.8.1-303-gcb74dd9 various crashes with my files

Post by Graf Zahl »

It's obviously the models. The warping texture thing can't produce crashes. Do you have a small demo mod that produces the crash?
Obviously I don't want the memory leak to stay in the code.
User avatar
Kappes Buur
Persecution Complex
Posts: 176
Joined: Tue Apr 05, 2011 4:30
Location: British Columbia

Re: g1.8.1-303-gcb74dd9 various crashes with my files

Post by Kappes Buur »

303 crashes for me when quitting Rex's Paranoid, Tormentor's strnghld_v1 and one of my example pwads with models.
Attachments
Model_Chairs_CrashReport.zip
(28.33 KiB) Downloaded 56 times
strnghld_v1_CrashReport.zip
(29.28 KiB) Downloaded 51 times
Paranoid_CrashReport.zip
(30.08 KiB) Downloaded 47 times
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: g1.8.1-303-gcb74dd9 various crashes with my files

Post by Enjay »

Yup, that chair example PK3 gives me the exit crash too. Thanks.
Attachments
CrashReport.zip
(28.1 KiB) Downloaded 49 times
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: g1.8.1-303-gcb74dd9 various crashes with my files

Post by Graf Zahl »

Now it's fixed. Some data in the models was deleted twice and of course this couldn't work.
Locked

Return to “Closed Bugs”