EQ crashes IF MQ2 is running when I start EQ MQ2-20150115

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

tazmeister
orc pawn
orc pawn
Posts: 19
Joined: Thu Mar 18, 2004 8:16 pm

EQ crashes IF MQ2 is running when I start EQ MQ2-20150115

Post by tazmeister » Fri Jan 16, 2015 9:50 pm

using the the version from 20150115
If I have MQ2 running and then try to launch EQ, EQ crashes IMMEDIATELY with the error below. I don't get in to even the login screen or EULA, I go from clicking on the executable to having a crash dialog,

It does not crash with the previous version from Dec 2014


If make sure MQ2 is not running; then start EQ, and get to where I have a character going, then start MQ2 it seems to work
a lot of the basic functionality is there though I think netbots isn't working in this case, or ${Netbots.Client} always returns null even with 3 accounts going and conneect to eqbcs

Also I can't get MQ2Main built when I select the debug build option.
It builds fine if I select only the release version for MQ2Main. The build errors are after the eq/window crash


Win 7 - 64bit
Intel hardware and Nvidia GPU

Problem signature:
Problem Event Name: APPCRASH
Application Name: eqgame.exe
Application Version: 0.0.0.0
Application Timestamp: 547fa8ef
Fault Module Name: eqgame.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 547fa8ef
Exception Code: c0000005
Exception Offset: 003d08cd
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: c073
Additional Information 2: c0730293063130866a89d86a5a15889c
Additional Information 3: a644
Additional Information 4: a64462566184ecd73670d0c9f32ba529

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt


Build issues

------ Build started: Project: MQ2Main, Configuration: Debug Win32 ------
EQClasses.cpp
MQ2Auth.cpp
MQ2Benchmarks.cpp
MQ2ChatHook.cpp
MQ2CleanUI.cpp
MQ2CommandAPI.cpp
MQ2Commands.cpp
MQ2DInput.cpp
MQ2Data.cpp
MQ2DataAPI.cpp
MQ2DataTypes.cpp
MQ2DataVars.cpp
MQ2DetourAPI.cpp
MQ2Globals.cpp
MQ2KeyBinds.cpp
MQ2MacroCommands.cpp
MQ2Main.cpp
EQLIB_EXPORTS
MQ2Mouse.cpp
MQ2ParseAPI.cpp
MQ2PluginHandler.cpp
Generating Code...
Compiling...
MQ2Pulse.cpp
MQ2Spawns.cpp
MQ2Utilities.cpp
MQ2Windows.cpp
Generating Code...
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

"/OUT:..\Release\MQ2Main.dll" /INCREMENTAL:NO /LIBPATH:..\Detours\lib wsock32.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST "/ManifestFile:.\Intermediate\MQ2Main.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:N:\games\eq\mq2\MQ2-20150115\Release\MQ2Main.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF /TLBID:1 "/BASE:0x03000000" /DYNAMICBASE /NXCOMPAT "/IMPLIB:..\Release\MQ2Main.lib" /MACHINE:X86 /DLL .\Intermediate\EQClasses.obj
.\Intermediate\MQ2Auth.obj
.\Intermediate\MQ2Benchmarks.obj
.\Intermediate\MQ2ChatHook.obj
.\Intermediate\MQ2CleanUI.obj
.\Intermediate\MQ2CommandAPI.obj
.\Intermediate\MQ2Commands.obj
.\Intermediate\MQ2DInput.obj
.\Intermediate\MQ2Data.obj
.\Intermediate\MQ2DataAPI.obj
.\Intermediate\MQ2DataTypes.obj
.\Intermediate\MQ2DataVars.obj
.\Intermediate\MQ2DetourAPI.obj
.\Intermediate\MQ2Globals.obj
.\Intermediate\MQ2KeyBinds.obj
.\Intermediate\MQ2MacroCommands.obj
.\Intermediate\MQ2Main.obj
.\Intermediate\MQ2Mouse.obj
.\Intermediate\MQ2ParseAPI.obj
.\Intermediate\MQ2PluginHandler.obj
.\Intermediate\MQ2Pulse.obj
.\Intermediate\MQ2Spawns.obj
.\Intermediate\MQ2Utilities.obj
.\Intermediate\MQ2Windows.obj /OPT:NOICF
Creating library ..\Release\MQ2Main.lib and object ..\Release\MQ2Main.exp
libcpmtd.lib(stdthrow.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW
MQ2MacroCommands.obj : error LNK2001: unresolved external symbol __CrtDbgReportW
MQ2PluginHandler.obj : error LNK2001: unresolved external symbol __CrtDbgReportW
MQ2Utilities.obj : error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function _GetLanguageIDByName
MQ2Windows.obj : error LNK2001: unresolved external symbol __CrtDbgReportW
MQ2DataTypes.obj : error LNK2001: unresolved external symbol __CrtDbgReportW
MQ2DataVars.obj : error LNK2001: unresolved external symbol __CrtDbgReportW
MQ2Globals.obj : error LNK2001: unresolved external symbol __CrtDbgReportW
MQ2KeyBinds.obj : error LNK2001: unresolved external symbol __CrtDbgReportW
MQ2ChatHook.obj : error LNK2001: unresolved external symbol __CrtDbgReportW
MQ2Commands.obj : error LNK2001: unresolved external symbol __CrtDbgReportW
MQ2Data.obj : error LNK2001: unresolved external symbol __CrtDbgReportW
MQ2DataAPI.obj : error LNK2001: unresolved external symbol __CrtDbgReportW
..\Release\MQ2Main.dll : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by EqMule » Fri Jan 16, 2015 11:17 pm

From changes.txt
- This is a pretty extensive patch, please do a FULL Rebuild.
I suggest you do a full clean then a Full rebuild.

Also it looks like you have Unicode set instead of multibyte in your build settings for debug...

Are you building for test server or live?

Also can I get someone else to reply to this thread if you managed to build and successfully enter the game with this version. Thanks.
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

tazmeister
orc pawn
orc pawn
Posts: 19
Joined: Thu Mar 18, 2004 8:16 pm

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by tazmeister » Sat Jan 17, 2015 2:46 am

I did a full rebuild from the start
I created a brand new directory for the code
I keep all the extra plugins stored seperately as source only (plus MS proj files)
so I don't accidentally pickup any intermediate compilation files
ect

The only things shared between the 2 builds were

VS and the source files for the extra plugins

I moved the old directory where I "installed" the release files as well so I wouldn't pick up strays either.

JJ
a hill giant
a hill giant
Posts: 227
Joined: Thu Nov 11, 2004 5:50 am

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by JJ » Sat Jan 17, 2015 9:33 am

Current build works fine even with custom plugins running. Then again, I always build clean/full.

tazmeister
orc pawn
orc pawn
Posts: 19
Joined: Thu Mar 18, 2004 8:16 pm

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by tazmeister » Sat Jan 17, 2015 3:34 pm

I tried doing a clean and a build and got the same results.

So I tried an extra level of cleaning and wiped the project files and started from scratch.

No build errors this time *fingers crossed*

The probable culprit is that I tried to reuse the sln file to avoid having to readd all the plugins. I used to be able to do this a few years ago, but it doesn't seem to work now.

So on a tangent is there a way to quickly add a number of plugins to be built without having to manually added each one each time a new release is made?

via File->Add->Existing Project
(and for the keyboard preferers Alt-f d e)

tazmeister
orc pawn
orc pawn
Posts: 19
Joined: Thu Mar 18, 2004 8:16 pm

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by tazmeister » Sat Jan 17, 2015 3:39 pm

And it still crashes EQ when EQ tries to start.

Guess it's time to try a new build without any plugins and see if one of them isn't playing nice.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by EqMule » Sat Jan 17, 2015 4:05 pm

Are you building for test server or for live?
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

tazmeister
orc pawn
orc pawn
Posts: 19
Joined: Thu Mar 18, 2004 8:16 pm

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by tazmeister » Sat Jan 17, 2015 4:29 pm

(building for live)

Same occurred building from scratch and not including plugins
Tried rebooting to clear any potential crap out of windows
Still crashes

Started EQ Launcher, and clicked on Play to launch EQ
(vs using InnerSpace)

BINGO - it works now

Launching EQ via InnerSpace using either Default Profile or EQ No Patcher results in an immediate crash

Launching EQ via the Launcher but not with IS launching it but with IS still running works (no surprise just tested it since it was easy and has very predictable results)

Launching eqgame.exe with "patchme" as the argument works as well (with or without IS running, shouldn't matter since IS won't touch the process at all since it didn't start it)


So the one thing that makes it break 100% of the time now is launching via InnerSpace.

Any ideas about this? I think it better to not post to the isboxer site asking for help on this though. I could but the post might be removed and IMO it would be dick thing to do anyways since isboxer needs to remain fully legit to keep companies from pulling out the banhammer or lawsuit hammer (think mmo/wow glider)

I was barely relying on IS as I got MQ setup better so really its loss might be a little painful here but not a showstopper.
The one thing I used it for was fast window swapping.

tazmeister
orc pawn
orc pawn
Posts: 19
Joined: Thu Mar 18, 2004 8:16 pm

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by tazmeister » Sat Jan 17, 2015 4:40 pm

Ok crashes with WinEQ2 as well.
I wasn't optimistic but it seemed worth a try.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by EqMule » Sat Jan 17, 2015 4:58 pm

Do you get the a crash has occurred messagebox?
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

tazmeister
orc pawn
orc pawn
Posts: 19
Joined: Thu Mar 18, 2004 8:16 pm

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by tazmeister » Sun Jan 18, 2015 11:24 am

I don't get an EQ or MQ "crash has occured" dialog.
I only get a purely windows crash dialog.

Neither InnerSpace nor MQ2 nor WinEQ2 report anything about a crash.

I don't see a log file the non-mq2 apps, of course there many other places I need to check other than the install dirs so they might exist, and I can search if it might help

I turned on debugspew for MQ2 and don't see much, so I think it might not be much help.

Code: Select all

MQ2Labels Module Loaded

Initializing MQ2Labels

MQ2CustomBinds Module Loaded

Initializing MQ2CustomBinds

MQ2HUD Module Loaded

Initializing MQ2HUD

MQ2ItemDisplay Module Loaded

Initializing MQ2ItemDisplay

MQ2Bzsrch Module Loaded

Initializing MQ2Bzsrch

MQ2ChatWnd Module Loaded

Initializing MQ2ChatWnd

MQ2Map Module Loaded

Initializing MQ2Map

MQ2EQBugFix Module Loaded

Initializing MQ2EQBugFix


EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by EqMule » Sun Jan 18, 2015 12:56 pm

I downloaded and run wineq2 and I see the crash as well, unfortunately I can't get a goof stack trace on it cause it crashes in the exception handler itself...
Will continue to investigate I don't know yet but I suspect maybe wineq2 uses some detour we are using or something. It might have something to do with the new crash detour ironically...
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by EqMule » Sun Jan 18, 2015 3:00 pm

Fixed in MQ2-20150118.zip (I think)

Please try and report back, I only tested with wineq2, not innerspace but fix hopefully works for both, let me know.

Basically if anyone is interested in why the crash happens, I have no idea, but I suspect a racecondition so to "fix" it , I just check if Lavish.dll exist in the process and if so, I give it some time to do its thing before I move on and add our detours and so on, and that seems to work...
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

tazmeister
orc pawn
orc pawn
Posts: 19
Joined: Thu Mar 18, 2004 8:16 pm

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by tazmeister » Mon Jan 19, 2015 9:34 am

Great and thanks.
I'll try it after work today.

tazmeister
orc pawn
orc pawn
Posts: 19
Joined: Thu Mar 18, 2004 8:16 pm

Re: EQ crashes IF MQ2 is running when I start EQ MQ2-2015011

Post by tazmeister » Mon Jan 19, 2015 3:57 pm

Awesome thanks for fixing this.

I just tried the 20150119 version since I saw it there.
No crash.