Bug #1992
Load console command segfaults (needs retesting)
0%
Description
In the latest unstable, the load console command causes a segfault when it tries to load a file.
Not the most technical description, but still.
Related issues
History
#1 Updated by vermil almost 10 years ago
Specifically, the seg fault occurs if the player has entered any map since starting the game mode (i.e if they use the console command while in any map or when they have returned to the games title loop after ending a game).
#2 Updated by vermil almost 10 years ago
I was originally going to write this as another report, but I debate if it may be related.
I'll make clear that I did attempt to load a Map01 replacing Doom2 pwad in TNT that also replaced the first sky and includes a TEXTURE1 and PNAMES lump (to create a texture named after the mentioned SKY patch)
If one uses the load console command to load a pwad which contains skies of different dimensions, Dday doesn't correctly update them to the new dimensions.
i.e TNT by default has 1024x128 skies, but many pwads have 256x128 skies. This particular case leads to three quarters of the sky being black.
I also got this crash when attempting to warp to a map on TNT that uses SKY2 or SKY3, after loading the above mentioned pwad.
CallbackThread: Uncaught exception: (LumpIndex::lump) Invalid lump index -1, valid range:
[0..3280)
Game ended
#3 Updated by danij almost 10 years ago
Most likely this is a specific issue triggered by something in the add-on, as I've been using the load command extensively over the past few weeks without issue.
#4 Updated by vermil almost 10 years ago
I've tested it with two add-ons myself, both feature Doom2 derived TEXTURE1 and PNAME lumps that add at least one texture and affect the sky.
One of the add-ons doesn't use the single new texture it defines (though it does use it's associated new patch for a replacement sky), while the other does use it's new texture and also features a DD_DEFNS lump that remaps the sky textures.
#5 Updated by vermil almost 10 years ago
This is one of the two add-ons
http://www.doomworld.com/idgames/index.php?file=levels/doom2/m-o/muskadet.zip
It is meant for Doom2 certainly, but loading it in TNT produces the above mentioned issues for me.
#6 Updated by skyjake almost 8 years ago
- Tags set to Console, Resources
- Subject changed from Load console command segfaults to Load console command segfaults (needs retesting)
- Status changed from New to Feedback
#7 Updated by skyjake almost 8 years ago
- Assignee set to vermil
#8 Updated by skyjake about 5 years ago
- Related to Bug #2209: Materials do not get correctly reset when loading/unloading data files while a game is loaded added