GP4 crashing [error log attached]

Posted by kedy89 
GP4 crashing [error log attached]
Date: August 16, 2018 09:22AM
Posted by: kedy89
So, I get this slightly annoying crash each time I exit the game. Only happens when I actually went on track, if I stay in the menus it closes normally. Guess it's related to one of the files in the mod, since the one I've based it on doesn't give any troubles.

Also noticed extremely long loading times for the second and following times I enter the track, i.e. first session I start loads at normal speed, if I pause and return to cockpit, or start another session it takes ages to load. Not sure if that's also related to the crash.

[pastebin.com]




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: GP4 crashing [error log attached]
Date: August 16, 2018 02:02PM
Posted by: EricMoinet
I'm not René (by far) and I'm probably wrong but I found this in the log :

[09:16:21.332] >>  **WARNING** D3D_DrawLoadProgress() called more than expected :: Increase gsMaxProgress in hw_io.cpp

It could explain the long loading times.

Also found issues while loading cockpit meshes and flags Japan (??), and a bunch of textures with 0x0 in sizes.

I don't know if it makes sense at all, but I hope it can help.







Edited 1 time(s). Last edit at 08/16/2018 02:02PM by EricMoinet.
Re: GP4 crashing [error log attached]
Date: August 16, 2018 09:04PM
Posted by: kedy89
No idea what that line could possible mean.

Some of these 0x0 textures are not in the mod, no clue where those come from. Some exist, but they definitely are not 0x0. No idea about the cockpit mesh and Japan flags.




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: GP4 crashing [error log attached]
Date: August 18, 2018 08:58PM
Posted by: EricMoinet
No clue, sorry mate.
Let's wait for René and his invaluable help



Re: GP4 crashing [error log attached]
Date: August 19, 2018 11:10PM
Posted by: SDI
There's a problem with the cockpit:

[09:16:06.555] >> * A generic error occured while exporting this mesh
[09:16:06.616] >> CGP4Cockpit::LoadMesh() No object found for name - Water_CapT_On
[09:16:06.617] >> CGP4Cockpit::LoadMesh() No object found for name - Water_C_06
[09:16:06.617] >> CGP4Cockpit::LoadMesh() No object found for name - Fuel_F_on
[09:16:06.617] >> CGP4Cockpit::LoadMesh() No object found for name - Fuel_B_on
[09:16:06.617] >> CGP4Cockpit::LoadMesh() No object found for name - Fuel_F_-
[09:16:06.617] >> CGP4Cockpit::LoadMesh() No object found for name - Position_P_on
etc.

There's heap (memory) corruption going on, which is detected when you exit.

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: GP4 crashing [error log attached]
Date: August 20, 2018 05:00PM
Posted by: kedy89
Thanks for the info, cockpit doesn't seem to be the cause of it though. I put in the cockpit files of another mod that runs without any problems, but I still got the crash when closing and long loading times.




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: GP4 crashing [error log attached]
Date: August 20, 2018 06:55PM
Posted by: tommy90
I have the same problem like you kedy
Re: GP4 crashing [error log attached]
Date: August 22, 2018 08:41PM
Posted by: kedy89
@René: does the log show anything related to the helmets? I tried removing the files from the mod separately, once I had the helmets out I no longer had the crashs, plus the loading times were back to normal.




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: GP4 crashing [error log attached]
Date: August 22, 2018 09:04PM
Posted by: gezere
Could it be linked at the multi shape setting of the helmets?
Tbh, I didn't know that this feature Was possible, but there are so much things I still don't know.....

Re: GP4 crashing [error log attached]
Date: August 22, 2018 10:16PM
Posted by: kedy89
Do you mean that I put 4 different shapes in the mod?




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: GP4 crashing [error log attached]
Date: August 22, 2018 10:34PM
Posted by: gezere
Yep....

Re: GP4 crashing [error log attached]
Date: August 23, 2018 06:52AM
Posted by: kedy89
Only one of them should end up in the wad though, depending on driver selection. Unless I messed up somewhere, better check later.




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: GP4 crashing [error log attached]
Date: August 24, 2018 11:01AM
Posted by: SDI
It's hard to see the root cause for heap corruption, but if it runs fine when you changed the helmets I think you found it.

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: GP4 crashing [error log attached]
Date: August 25, 2018 09:02AM
Posted by: kedy89
It appears that having a driver1_2 texture assigned is essential for helmet shapes. I tried renaming on of the other generic textures to driver1_2, that seemed to fix both the loading times and the crashes.




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Sorry, only registered users may post in this forum.

Click here to login

Maintainer: mortal, stephan | Design: stephan, Lo2k | Moderatoren: mortal, TomMK, Noog, stephan | Downloads: Lo2k | Supported by: Atlassian Experts Berlin | Forum Rules | Policy