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

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

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

Postby Batandy » Wed Mar 13, 2019 9:02 am

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 12 times
User avatar
Batandy
"If it's not fun, why bother?"
 
Joined: 19 Jul 2011

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

Postby Graf Zahl » Wed Mar 13, 2019 10:08 am

This may be the same font related problem that already got reported and fixed.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

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

Postby _mental_ » Wed Mar 13, 2019 10:28 am

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 allExpand view
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
_mental_
 
 
 
Joined: 07 Aug 2011

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

Postby Graf Zahl » Wed Mar 13, 2019 11:59 am

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.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

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

Postby _mental_ » Fri Mar 15, 2019 6:13 am

Fixed in c0d843b.
_mental_
 
 
 
Joined: 07 Aug 2011


Return to Closed Bugs

Who is online

Users browsing this forum: wildweasel and 0 guests