I'm not sure why this happens but this is what I did:
1. Made model #1, added to definitions, summoned it, gzdoom crashed
2. Made model #2, added to definitions, summoned it, gzdoom crashed
3. Made model #3, added to definitions
4. Summoned models #1 and #2, they appeared and didn't crash
5. Summoned model #3, gzdoom crashed
I attached the crash report that happened when I summoned the "Box" model in the attached models.zip
Model crash
Moderator: Graf Zahl
-
- Posts: 146
- Joined: Mon Oct 17, 2005 1:18
- Location: Tampa
Sounds like something is not set properly in the model code, and the fact you loaded two models before it somehow allowed the code to "work". Temp solution, make the last model something not needed, and put the useful models before it.
Although if it crashes when you summoned model 1 with a model 2 defined, then the temp solution may not work properly. It would only work if only the last model defined crashed when summoned when you have two models defined. So it may be a deeper bug in the code then in the loop that phrases the model data and loads it and......... Graf, feel free to continue the explination when you find one.
Although if it crashes when you summoned model 1 with a model 2 defined, then the temp solution may not work properly. It would only work if only the last model defined crashed when summoned when you have two models defined. So it may be a deeper bug in the code then in the loop that phrases the model data and loads it and......... Graf, feel free to continue the explination when you find one.
-
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
-
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
And since the crash is most likely the same as this one http://forum.drdteam.org/viewtopic.php?t=694
I'll close this report. If it still crashes for you with the next version please report again and send me everything you need to load to reproduce the crash.
I'll close this report. If it still crashes for you with the next version please report again and send me everything you need to load to reproduce the crash.