[gzdoom-x86-g3.8pre-650-g04bf97579] Mod Crashes on startup

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Batandy
Posts: 1277
Joined: Tue Jul 19, 2011 2:56 am

[gzdoom-x86-g3.8pre-650-g04bf97579] Mod Crashes on startup

Post by Batandy »

First of all, let me say that you're doing a fantastic job. If you remember well, I wrote that thread about performance being worse on AMD, and i'm seeing huge fps gains with this new version, and even when it runs at lower framerates, it's super responsive compared to before. Keep it up!

Now, onto the bug:

Try downloading this demo of The Crimson Deed: http://www.mediafire.com/file/q8nce9h51 ... ta_V2.ipk3
If you run it with this build, it instantly crashes with an "Access Violation - Tried to read address 00000000000000

I've uploaded my crash report just in case.
Attachments
CrashReport.zip
(18.66 KiB) Downloaded 29 times
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49071
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [gzdoom-x86-g3.8pre-650-g04bf97579] Mod Crashes on start

Post by Graf Zahl »

This may be the same font related problem that already got reported and fixed.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [gzdoom-x86-g3.8pre-650-g04bf97579] Mod Crashes on start

Post by _mental_ »

It's a different one.

userinfo is empty while GetGender() doesn't expect that. Not sure if it's related to a static event handler from where it was called.

Code: Select all

userinfo_t::GetGender() Line 253
FStringTable::GetString(const char * name, unsigned int * langtable, int gender) Line 473
FStringTable::operator[](const char * name) Line 97
FStringTable::operator()(const char * name) Line 528
LocalizeString(const FString & label, bool prefixed, FString * result) Line 68
AF_FStringTable_Localize(VMValue * param, int numparam, VMReturn * ret, int numret, const unsigned char * reginfo) Line 80
VMExec_Checked::ExecScriptFunc(VMFrameStack * stack, VMReturn * ret, int numret) Line 700
VMExec_Checked::Exec(VMFunction * func, VMValue * params, int numparams, VMReturn * ret, int numret) Line 2005
VMScriptFunction::FirstScriptCall(VMFunction * func, VMValue * params, int numparams, VMReturn * ret, int numret) Line 297
VMCall(VMFunction * func, VMValue * params, int numparams, VMReturn * results, int numresults) Line 569
DStaticEventHandler::OnRegister() Line 698
EventManager::RegisterHandler(DStaticEventHandler * handler) Line 58
EventManager::InitHandler(PClass * type) Line 219
EventManager::InitStaticHandlers(FLevelLocals * l, bool map) Line 240
PClassActor::StaticInit() Line 399
D_DoomMain() Line 2494
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49071
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [gzdoom-x86-g3.8pre-650-g04bf97579] Mod Crashes on start

Post by Graf Zahl »

At this point the game isn't fully initialized yet, so I guess the GetGender call needs to handle this case because it is needed for localization.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [gzdoom-x86-g3.8pre-650-g04bf97579] Mod Crashes on start

Post by _mental_ »

Fixed in c0d843b.
Post Reply

Return to “Closed Bugs [GZDoom]”