Please refer to
this thread, for which Graf provided a temporary fix by reverting the change; I have also experienced crashes when using SKINs and SBARINFO at the same time.
The underlying cause is that the texture manager includes a search algorithm at line 105 of texturemanager.cpp and this fails to find a graphic if it is a face image provided by a skin. In the case of SBARINFO, DrawMugShot calls the texture manager, which cannot find the status face in the texure collection and returns a null pointer -- which gets returned into the "face" variable at line 1244 of sbarinfo_display.cpp and the rest of the mugshot code duly tries to dereference
This problem does NOT occur if the skin is not in force and the DOOM2 IWAD STFs are thus used.
To reproduce:
1) Download
this SKIN wad.
2) Download
this SBARINFO wad.
3) Start ZDoom without the HUD wad, and set the player to use the CUTMANMIKE skin then quit ZDoom.
4) Start ZDoom again but with the HUD wad.
5) Result = access violation in GetScaledWidth() on line 817 of r_defs.h
I don't know the heck about the internals of the texture manager, so sorry Graf/Randy - this one's your baby

Please refer to [url=http://forum.zdoom.org/viewtopic.php?f=7&t=16715]this[/url] thread, for which Graf provided a temporary fix by reverting the change; I have also experienced crashes when using SKINs and SBARINFO at the same time.
The underlying cause is that the texture manager includes a search algorithm at line 105 of texturemanager.cpp and this fails to find a graphic if it is a face image provided by a skin. In the case of SBARINFO, DrawMugShot calls the texture manager, which cannot find the status face in the texure collection and returns a null pointer -- which gets returned into the "face" variable at line 1244 of sbarinfo_display.cpp and the rest of the mugshot code duly tries to dereference :evil:
This problem does NOT occur if the skin is not in force and the DOOM2 IWAD STFs are thus used.
To reproduce:
1) Download [url=http://www.martinsobservationpost.net/system/cutman.zip]this[/url] SKIN wad.
2) Download [url=http://forum.zdoom.org/download/file.php?id=4968]this[/url] SBARINFO wad.
3) Start ZDoom without the HUD wad, and set the player to use the CUTMANMIKE skin then quit ZDoom.
4) Start ZDoom again but with the HUD wad.
5) Result = access violation in GetScaledWidth() on line 817 of r_defs.h
I don't know the heck about the internals of the texture manager, so sorry Graf/Randy - this one's your baby :)