Results 1 to 18 of 18

How to find out what caused a sudden CTD?

  1. #1
    Member Sataman's Avatar
    Join Date
    Aug 2010
    Location
    Serbia

    How to find out what caused a sudden CTD?

    Hi all,

    I know about logs that appear after a game crashees,but when a sudden CTD(crash to desktop) appears,there is no warning log :s
    What are all the things that can cause a sudden ctd?
    The game crashed at 15:57 and the last log was from 15:43(when the game started).

    P.s. I added veteran vanguard unit today to my mod,maybe that is the reason..but if the game starts fine with that new unit added,then there should be no errors..at least I think

    Any ideas?



    Edit:
    Nevermind..I fixed it
    Last edited by Sataman; 4th Feb 12 at 8:31 AM.

  2. #2
    Member Jaguar-Lord's Avatar
    Join Date
    Feb 2007
    Location
    france
    why don' you told us what it was it could be useful to other?

  3. #3
    Member RT2's Avatar
    Join Date
    Feb 2011
    Location
    GmT+10:00 In the Future"
    you could always check the windows error logs?

  4. #4
    Member Sataman's Avatar
    Join Date
    Aug 2010
    Location
    Serbia
    @Jaguar-Lord
    Apperantly,the vanguard caused some errors..the game stoped crashing after I deleted them..I don't realy know what was wong. :s

  5. #5
    Member Jaguar-Lord's Avatar
    Join Date
    Feb 2007
    Location
    france
    most frequent cause of CTD when adding unit coming from another mod :

    +missing weapons
    +missing prequisite for a unit (be it a research ,a building, .....)
    +missing ability for a unit.

    in this case a good alternative the the Game log is the Mission Editor debug console,

    if you can't load the unit ebps then the ME wont start and debug window will tell you what cause the launch-step to fail.

    just look at the error and implement or get rid if the incriminated files then restart your ME until everything runs as expected and you can add your new unit to a test map.

    JL

  6. #6
    Member Sataman's Avatar
    Join Date
    Aug 2010
    Location
    Serbia
    I'm pretty sure that none of that is wrong.
    The game couldn't start if there was a mising prerequest,or a weapon or anything like that..
    It just crashed after about 20 minuts of playing.Unit works fine in mission editor...I test all units that way
    I know it wasn't an AI error because I havn't added that unit to AIs build list...

    And how exactly do I check windows error logs? Where are they located?

  7. #7
    Member Jaguar-Lord's Avatar
    Join Date
    Feb 2007
    Location
    france
    open the ingame console, take a look at your grid key if the (CTRL+shift+รน) or (CTRL+shift+%) don't pop it up

  8. #8
    Member Sataman's Avatar
    Join Date
    Aug 2010
    Location
    Serbia
    Here is an error log that appeared when the last crash occured:
    Code:
    Registers:
    EAX=00000000 CS=001b EIP=0f240d18 EFLGS=00210202
    EBX=1000c150 SS=0023 ESP=00b5f3fc EBP=00000002
    ECX=00000000 DS=0023 ESI=2f8efb90 FS=003b
    EDX=2f8efba8 ES=0023 EDI=07f20118 GS=0000
    Bytes at CS:EIP:
    8b 80 88 01 00 00 83 c4 04 5e c2 04 00 cc cc cc 
    
    Call Stack:
    0x0F240D18: GetDllVersion         (D:\Program Files\THQ\Dawn of War - Dark Crusade\WXPMod.dll)
    
    Stack dump:
    Exception encountered during stack dump.
    
    
    Module list: names, addresses, sizes, time stamps and file times:
    D:\Program Files\THQ\Dawn of War - Dark Crusade\Debug.dll, loaded at 0x00250000 - 38488 bytes - 45fb2ae6 - file date is 3/16/2007 18:37:48
    D:\Program Files\THQ\Dawn of War - Dark Crusade\STLPort.dll, loaded at 0x00290000 - 503384 bytes - 45fb2b4f - file date is 3/16/2007 18:38:14
    D:\Program Files\THQ\Dawn of War - Dark Crusade\Memory.dll, loaded at 0x00320000 - 66648 bytes - 45fb2aec - file date is 3/16/2007 18:38:02
    D:\Program Files\THQ\Dawn of War - Dark Crusade\Filesystem.dll, loaded at 0x00350000 - 206936 bytes - 45fb2b69 - file date is 3/16/2007 18:37:54
    D:\Program Files\THQ\Dawn of War - Dark Crusade\Platform.dll, loaded at 0x003a0000 - 94808 bytes - 45fb2b59 - file date is 3/16/2007 18:38:06
    D:\Program Files\THQ\Dawn of War - Dark Crusade\Util.dll, loaded at 0x003d0000 - 135768 bytes - 45fb2b7f - file date is 3/16/2007 18:38:16
    D:\Program Files\THQ\Dawn of War - Dark Crusade\DarkCrusade.exe, loaded at 0x00400000 - 3112536 bytes - 45fb2f0b - file date is 3/16/2007 18:37:44
    D:\Program Files\THQ\Dawn of War - Dark Crusade\GSLobby.dll, loaded at 0x00b70000 - 331352 bytes - 45fb2c92 - file date is 3/16/2007 18:37:56
    D:\Program Files\THQ\Dawn of War - Dark Crusade\Localizer.dll, loaded at 0x00be0000 - 58968 bytes - 45fb2b7e - file date is 3/16/2007 18:37:58
    D:\Program Files\THQ\Dawn of War - Dark Crusade\seInterface.dll, loaded at 0x00c10000 - 245336 bytes - 45fb2b8a - file date is 3/16/2007 18:38:10
    D:\Program Files\THQ\Dawn of War - Dark Crusade\DivxMediaLib.dll, loaded at 0x00c70000 - 86016 bytes - 40299282 - file date is 9/17/2006 02:27:04
    D:\Program Files\THQ\Dawn of War - Dark Crusade\DivxDecoder.dll, loaded at 0x00c90000 - 413696 bytes - 40299280 - file date is 9/17/2006 02:27:04
    D:\Program Files\THQ\Dawn of War - Dark Crusade\FileParser.dll, loaded at 0x00d00000 - 86016 bytes - 40299281 - file date is 9/17/2006 02:27:04
    D:\Program Files\THQ\Dawn of War - Dark Crusade\UserInterface.dll, loaded at 0x00d20000 - 979032 bytes - 45fb2bb7 - file date is 3/16/2007 18:38:14
    D:\Program Files\THQ\Dawn of War - Dark Crusade\MathBox.dll, loaded at 0x00e30000 - 40024 bytes - 45fb2b4b - file date is 3/16/2007 18:38:02
    D:\Program Files\THQ\Dawn of War - Dark Crusade\SimEngine.dll, loaded at 0x00e60000 - 766552 bytes - 45fb2c6b - file date is 3/16/2007 18:38:10
    D:\Program Files\SweetIM\Messenger\mgAdaptersProxy.dll, loaded at 0x01a70000 - 26928 bytes - 4e368e9b - file date is 8/1/2011 14:35:44
    D:\WINDOWS\system32\xpsp2res.dll   , loaded at 0x01f40000 - 2897920 bytes - 4802454c - file date is 4/14/2008 08:00:00
    D:\Program Files\THQ\Dawn of War - Dark Crusade\luabind.dll, loaded at 0x08440000 - 106584 bytes - 45fb2b9f - file date is 3/16/2007 18:37:58
    D:\Program Files\THQ\Dawn of War - Dark Crusade\spDx9.dll, loaded at 0x0f000000 - 755800 bytes - 45fb2cdb - file date is 3/16/2007 18:38:12
    D:\Program Files\THQ\Dawn of War - Dark Crusade\PlatHook.dll, loaded at 0x0f100000 - 11352 bytes - 45fb2fe1 - file date is 3/16/2007 18:38:06
    D:\Program Files\THQ\Dawn of War - Dark Crusade\WXPMod.dll, loaded at 0x0f200000 - 2835032 bytes - 45fb2e22 - file date is 3/16/2007 18:38:18
    D:\Program Files\THQ\Dawn of War - Dark Crusade\LuaConfig.dll, loaded at 0x10000000 - 187480 bytes - 45fb2b72 - file date is 3/16/2007 18:38:00
    D:\Program Files\THQ\Dawn of War - Dark Crusade\dbghelp.dll, loaded at 0x32980000 - 894464 bytes - 4047b322 - file date is 9/17/2006 02:27:04
    D:\WINDOWS\system32\WINHTTP.dll    , loaded at 0x4d4f0000 - 354304 bytes - 49479f6a - file date is 12/16/2008 13:30:34
    D:\WINDOWS\system32\d3d9.dll       , loaded at 0x4fdd0000 - 1689088 bytes - 4802a0a9 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\uxtheme.dll    , loaded at 0x5ad70000 - 218624 bytes - 4802a11e - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\umdmxfrm.dll   , loaded at 0x5b0a0000 - 13312 bytes - 3b7dfeb9 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\netapi32.dll   , loaded at 0x5b860000 - 337408 bytes - 48f61b90 - file date is 10/15/2008 17:34:24
    D:\WINDOWS\system32\serwvdrv.dll   , loaded at 0x5cd70000 - 14848 bytes - 3b7dfebb - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\comctl32.dll   , loaded at 0x5d090000 - 617472 bytes - 4c729dd4 - file date is 8/23/2010 17:12:04
    D:\Program Files\THQ\Dawn of War - Dark Crusade\ijl15.dll, loaded at 0x60000000 - 352256 bytes - 3b15682b - file date is 9/17/2006 02:27:04
    D:\WINDOWS\system32\hnetcfg.dll    , loaded at 0x662b0000 - 344064 bytes - 4802a0ca - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\rsaenh.dll     , loaded at 0x68000000 - 208384 bytes - 47dfd424 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\d3d8thk.dll    , loaded at 0x6d990000 -  8192 bytes - 4802a0a8 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\mswsock.dll    , loaded at 0x71a50000 - 245248 bytes - 485bec29 - file date is 7/12/2008 19:09:44
    D:\WINDOWS\System32\wshtcpip.dll   , loaded at 0x71a90000 - 19456 bytes - 4802a16e - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\WS2HELP.dll    , loaded at 0x71aa0000 - 19968 bytes - 4802a164 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\WS2_32.dll     , loaded at 0x71ab0000 - 82432 bytes - 4802a163 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\WSOCK32.dll    , loaded at 0x71ad0000 - 22528 bytes - 4802a170 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\SensApi.dll    , loaded at 0x722b0000 -  7168 bytes - 4802a107 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\msacm32.drv    , loaded at 0x72d10000 - 20480 bytes - 3b7dfe2a - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\wdmaud.drv     , loaded at 0x72d20000 - 23552 bytes - 4802a12c - file date is 4/14/2008 09:42:46
    D:\WINDOWS\system32\KsUser.dll     , loaded at 0x73ee0000 -  4096 bytes - 4802a0d6 - file date is 4/14/2008 09:41:58
    D:\WINDOWS\system32\dsound.dll     , loaded at 0x73f10000 - 367616 bytes - 4802a0f6 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\MSCTF.dll      , loaded at 0x74720000 - 297984 bytes - 4802a12c - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\msctfime.ime   , loaded at 0x755c0000 - 177152 bytes - 4802a12d - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\cryptnet.dll   , loaded at 0x75e60000 - 64512 bytes - 4802a0db - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\IMM32.dll      , loaded at 0x76390000 - 110080 bytes - 4802a0e7 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\userenv.dll    , loaded at 0x769c0000 - 727040 bytes - 4802a11c - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\WINMM.dll      , loaded at 0x76b40000 - 176128 bytes - 4e984b81 - file date is 10/14/2011 15:47:30
    D:\WINDOWS\system32\PSAPI.DLL      , loaded at 0x76bf0000 - 23040 bytes - 4802a102 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\WINTRUST.dll   , loaded at 0x76c30000 - 177664 bytes - 4b33115c - file date is 12/24/2009 07:59:40
    D:\WINDOWS\system32\IMAGEHLP.dll   , loaded at 0x76c90000 - 144384 bytes - 4802a0d8 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\iphlpapi.dll   , loaded at 0x76d60000 - 94720 bytes - 4802a0d0 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\DNSAPI.dll     , loaded at 0x76f20000 - 149504 bytes - 4d6f3afd - file date is 3/3/2011 07:53:50
    D:\WINDOWS\system32\WLDAP32.dll    , loaded at 0x76f60000 - 172032 bytes - 4802a12e - file date is 4/14/2008 08:00:00
    D:\WINDOWS\System32\winrnr.dll     , loaded at 0x76fb0000 - 16896 bytes - 4802a122 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\rasadhlp.dll   , loaded at 0x76fc0000 -  7680 bytes - 4802a0fe - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\CLBCATQ.DLL    , loaded at 0x76fd0000 - 498688 bytes - 4802a0b9 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\COMRes.dll     , loaded at 0x77050000 - 792064 bytes - 4802a0ce - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\OLEAUT32.dll   , loaded at 0x77120000 - 551936 bytes - 4d0f931f - file date is 12/20/2010 18:32:16
    D:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll, loaded at 0x773d0000 - 1054208 bytes - 4c729dd1 - file date is 8/23/2010 17:12:02
    D:\WINDOWS\system32\ole32.dll      , loaded at 0x774e0000 - 1288704 bytes - 4eb0192e - file date is 11/1/2011 17:07:10
    D:\WINDOWS\system32\CRYPT32.dll    , loaded at 0x77a80000 - 599040 bytes - 4e82c78a - file date is 9/28/2011 08:06:50
    D:\WINDOWS\system32\MSASN1.dll     , loaded at 0x77b20000 - 58880 bytes - 4aa180a8 - file date is 9/4/2009 22:03:36
    D:\WINDOWS\system32\midimap.dll    , loaded at 0x77bd0000 - 18944 bytes - 4802a0ec - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\MSACM32.dll    , loaded at 0x77be0000 - 71680 bytes - 4802a117 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\VERSION.dll    , loaded at 0x77c00000 - 18944 bytes - 4802a11d - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\msvcrt.dll     , loaded at 0x77c10000 - 343040 bytes - 4802a188 - file date is 4/14/2008 08:00:00
    D:\WINDOWS\system32\ADVAPI32.dll   , loaded at 0x77dd0000 - 617472 bytes - 49901d48 - file date is 2/9/2009 13:10:48
    D:\WINDOWS\system32\RPCRT4.dll     , loaded at 0x77e70000 - 590848 bytes - 4c68fa8c - file date is 8/16/2010 09:45:00
    D:\WINDOWS\system32\GDI32.dll      , loaded at 0x77f10000 - 286720 bytes - 49006fbe - file date is 10/23/2008 13:36:14
    D:\WINDOWS\system32\SHLWAPI.dll    , loaded at 0x77f60000 - 474112 bytes - 4b1e1b10 - file date is 12/8/2009 10:23:28
    D:\WINDOWS\system32\Secur32.dll    , loaded at 0x77fe0000 - 56832 bytes - 4a433476 - file date is 6/25/2009 09:25:26
    D:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCR80.dll, loaded at 0x78130000 - 632656 bytes - 4a594c79 - file date is 7/12/2009 01:12:06
    D:\Program Files\SweetIM\Messenger\MSVCR71.dll, loaded at 0x7c360000 - 348160 bytes - 44b451e8 - file date is 7/11/2006 18:35:38
    D:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCP80.dll, loaded at 0x7c420000 - 554832 bytes - 4a594cd0 - file date is 7/12/2009 01:09:20
    D:\WINDOWS\system32\kernel32.dll   , loaded at 0x7c800000 - 989696 bytes - 49c4f482 - file date is 3/21/2009 15:06:58
    D:\WINDOWS\system32\ntdll.dll      , loaded at 0x7c900000 - 718336 bytes - 4d00f27d - file date is 12/9/2010 16:15:10
    D:\WINDOWS\system32\SHELL32.dll    , loaded at 0x7c9c0000 - 8462336 bytes - 4d399bd5 - file date is 1/21/2011 15:44:38
    D:\WINDOWS\system32\USER32.dll     , loaded at 0x7e410000 - 578560 bytes - 4802a11b - file date is 4/14/2008 08:00:00
    I don't know if there is anything useful here..but that's all I've found

    I also have a question:
    Can files such as weapons,abilities and some whe,whm and other rdg files cause errors,even if they aren't actualy used by a unit,or they have not been related to anything?

  9. #9
    If the error happened after you successfully loaded a mod, and particularly if it happened during gameplay, the the problem was caused by something that was being used.

    My bet would be faulty scar code.

  10. #10
    Member Sataman's Avatar
    Join Date
    Aug 2010
    Location
    Serbia
    I think it was an AI thing..I modified one of the tactic ai files by adding a research to chaos faction..Now that I removed that research from that ai file,the game seems to be working without crashes so far..

  11. #11
    Member Jaguar-Lord's Avatar
    Join Date
    Feb 2007
    Location
    france
    My bet would be faulty scar code.
    scar code return fatal scar error not CTD

  12. #12
    Member RT2's Avatar
    Join Date
    Feb 2011
    Location
    GmT+10:00 In the Future"
    did you load the new units into army painter and it loaded?
    It might seem inconsequential, but every check is work it.

    If it loads correctly then that reduces some of the possible issues you are having.

    The only area of interest with the warning log in the winter assault dll, wxp.dll
    I cant see how that would be an issue. unless something from wxp is used in the vanguard,
    I don't have that level of adding to game about that model.

  13. #13
    Member Sataman's Avatar
    Join Date
    Aug 2010
    Location
    Serbia
    Everithing works fine in the army painter,I tested it...
    But it seem that the game stoped crashing when I removed a custom research from the chaos AI tactics..Now I'm not quite sure myself that that was what caused all those CTDs,cause if it was an AI thing,there should have been a Fatal AI Error screen,and a warning log after that..

  14. #14
    Member RT2's Avatar
    Join Date
    Feb 2011
    Location
    GmT+10:00 In the Future"
    It doesnt always make sense straight away. LoL.

    I have had that problem many times.

  15. #15
    Member Sataman's Avatar
    Join Date
    Aug 2010
    Location
    Serbia
    It doesnt always make sense straight away. LoL.

    I have had that problem many times.
    It's very annoying..

  16. #16
    But it seem that the game stoped crashing when I removed a custom research from the chaos AI tactics..Now I'm not quite sure myself that that was what caused all those CTDs,cause if it was an AI thing,there should have been a Fatal AI Error screen,and a warning log after that..
    A spelling error in AI files can cause CTD without Fatal AI error or warnings log, so I think it was the AI, try to check your new research for spelling errors.

  17. #17
    Member Sataman's Avatar
    Join Date
    Aug 2010
    Location
    Serbia
    @archivist: I didn't know that..thanks I'll keep an eye for those.

  18. #18
    Yeah, AI files are probably the culprit. Scar code that is subtly flawed can CTD too, I've written more than a few myself.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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