Results 1 to 5 of 5

Thread: Analyzing mdmp/crash/dump files: How, help and ideas?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Analyzing mdmp/crash/dump files: How, help and ideas?

    I have searched Twcenter and the internet high and low, I know modders have a way to hunt down the cause of battle crashes, but it seems to be a very closely guarded secret. Can anyone help me, I'm helping the creators of a certain mod and this is my task, I need some help getting started.

    Thanks

  2. #2
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Re: Analyzing mdmp/crash/dump files: How, help and ideas?

    Quote Originally Posted by Wolves In The Throne Room View Post
    I know modders have a way to hunt down the cause of battle crashes
    Um, don't break it?

    A mod which crashes is a dammed nightmare to debug, and being able to read the mdmp files is no help at all (attached image show their content, the exception is just about always the same for mods because a crash is normally caused by a floating db reference which is an unassigned memory location). .mdmp gives the exception details, OS version, and all .dll files running when the crash happened, thats it. Basically, there is no secret, just a lot of experience dealing with particular tables.

    You can delete tables until it stops happening, which gives you a good idea of which set of tables is causing it, but past that it's just triple checking all the linkages for typos.
    Attached Thumbnails Attached Thumbnails mdmp.JPG  
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

  3. #3

    Default Re: Analyzing mdmp/crash/dump files: How, help and ideas?

    Thank you, I feel like I've been hunting the holy grail lol. Well I'll abandon this mdmp goose chase now.

    Anyway to tell if it's a RAM/processor related crash vs hunting tables as you described?

    The problem I'm hunting happens to a lot of people, but only 1 in 5 battles roughly and happens to me mostly when my gpu is least taxed (small battles). If it was a typo in a table for example wouldn't it produce more consistent CTDs?

  4. #4
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Re: Analyzing mdmp/crash/dump files: How, help and ideas?

    Oh, that sort of crash. Those are even more annoying :p

    Those can be caused by the stupidest things. I made it happen in Rome 2 by reapplying inciendary damage too many times which caused a boat to *stop* burning, and then crash.

    The only help I can give is that the crash will be caused by a new or modified mechanic, almost guaranteed. Record matches, take pictures of army setups, start narrowing down the possible causes.
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

  5. #5

    Default Analyzing mdmp/crash/dump files: How, help and ideas?

    Thank you! I appreciate you saving me from wasting a lot of time looking in the wrong place and the wrong way!

    Hopefully I can get it narrowed down because a lot of people have had crashes thus I can get a lot of scenarios without relying on mine alone.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •