LoneGazebo / Community-Patch-DLL

Community Patch for Civilization V - Brave New World
Other
285 stars 158 forks source link

ExCE CTDs and MiniDump #1432

Closed JFDaly closed 7 years ago

JFDaly commented 8 years ago

Good ol' ExCE is causing a CTD again, somewhere, but this time its impersistent. Could you please take a look at the MiniDump here and tell me if its decompiling to Lua or if its something else. Thanks.

This is with only ExCE, CP (12/03), and IGE.

LoneGazebo commented 7 years ago

do not do it.

LoneGazebo commented 7 years ago

Just make sure you still have VS 2010 (or 2008) installed

JFDaly commented 7 years ago

I have both still installed.

When I click cancel, it brings up this:

s

JFDaly commented 7 years ago

This look better?

s

After the previous error, I selected a 'fix errors' option and then the project appeared in the solution explorer. After rebuilding, I got this output, which, although looking intimidating to me, reckons that it was successful.

LoneGazebo commented 7 years ago

picture link is broken if it is 56 errors, that is good.

JFDaly commented 7 years ago

Yea, dunno why they had to change imgur. Pic should be fixed now. That looks like 56 million errors, yea.

LoneGazebo commented 7 years ago

In 'error list' do you get o errors, 56 warnings?

JFDaly commented 7 years ago

Yeap

LoneGazebo commented 7 years ago

You are good to go, then.

JFDaly commented 7 years ago

Awesome, thank you for your help.

LoneGazebo commented 7 years ago

C++ easier than you think to read/work - you'd be a pro at it (as you are skilled with lua).

LoneGazebo commented 7 years ago

Very same concept(s), just slightly different vocabulary.

JFDaly commented 7 years ago

Civ VI might be an opportunity to get into it, yea.

LoneGazebo commented 7 years ago

Yeah, no need currently when you have me to write your code for you! :)

LoneGazebo commented 7 years ago

btw all latest requests from you worked, ja?

JFDaly commented 7 years ago

This is true :p

Yes, everything is working perfectly. I'm nearing the finishing stages of Sovereignty, so I don't think there's really anything more that I'd need, short of fixing anything that might be causing CTDs.

LoneGazebo commented 7 years ago

Sounds good.

JFDaly commented 7 years ago

Okay, so I got a CTD, but I'm not really sure where to find info about it. The old way of doing this had more info, that is, it would point to somewhere in the DLL where the crash occured (which often gave me some idea where in the lua/database the crash came from). But the call stack seems a lot less informative this time. Thoughts?

a

LoneGazebo commented 7 years ago

Did you build a new DLL and then put that in your CP folder in MODS? If not, do that. If you did, then this is a pure lua crash - not a lua crash as a result of a DLL pull.

JFDaly commented 7 years ago

Yea, I did. Hm, I'll have to comb the Lua then. Thanks.

LoneGazebo commented 7 years ago

Yeah, that's an unfortunate crash. Are you 'hooking in' VS to civ while it runs? Sometimes it grabs an error that the minidump misses.

JFDaly commented 7 years ago

By way of 'Attach to Process'? yea.

LoneGazebo commented 7 years ago

Yeah, that's the best way to test. You might also copy->paste the .pdb file from where the DLL is made into your CP folder. That's where 'symbols' are stored that let you read crashdumps.

JFDaly commented 7 years ago

I'll give it a shot. The CTD seems consistent from the turn that it last did it, and I previously did four tests without a CTD before I added ExCE onto the lot - so I should have somewhere to start.

JFDaly commented 7 years ago

Adding the pdb file didn't tell me anything more, unfortunately.

LoneGazebo commented 7 years ago

was afraid so - definitely a pure lua issue.