Immediately Crashing on Startup?

jwvanderbeck's Avatar


09 Dec, 2009 01:40 AM

If every time you run the application, it crashes immediately on startup, chances are it is due to a corrupted AddIns.xml file.

If you are having this problem, please attach a copy of your AddIns.xml file, which can be found in:
My Documents\Bioware\Dragon Age\Settings

  1. 1 Posted by Andrew Curtis on 09 Dec, 2009 05:35 AM

    Andrew Curtis's Avatar

    I'm trying to use the newest version of DAModder and it keeps crashing on me. I have quite a few mods added to my DA and it may have caused a corruption in my Addins.xml file. The file is attached.

    I am unable to run DAModder and daupdater because of this.

  2. Support Staff 2 Posted by jwvanderbeck on 09 Dec, 2009 11:20 AM

    jwvanderbeck's Avatar

    Thank you for the file. Definitely some issues with the file, i'm taking a look at it to see how I can make DAModder be able to handle it even with the problems in the file.

  3. 3 Posted by Chris on 09 Dec, 2009 06:20 PM

    Chris's Avatar

    I'm having the same issue with a fresh install of DA. As you can see, my addin file is more or less blank.

    What gives?

  4. Support Staff 4 Posted by jwvanderbeck on 09 Dec, 2009 06:25 PM

    jwvanderbeck's Avatar

    Chris, no you're definitely having some other issue. That file is fine, and works fine.

    When it crashes are you getting any sort of error message? Is DAModder asking you to report the error?

    Are you seeing anythign at all before the crash? Any information you can provide would be useful, because that xml file is not your problem.

  5. 5 Posted by Chris on 09 Dec, 2009 06:30 PM

    Chris's Avatar

    It opens a window that says "One moment please" in the title bar, saying it's going to create a backup. I then receive a microsoft error report window. The details show the error "".

    I'm running windows xp sp2, if that matters.

  6. Support Staff 6 Posted by jwvanderbeck on 09 Dec, 2009 06:39 PM

    jwvanderbeck's Avatar

    Ok that gives me some information. Somewhere i'm trying to open a file or path that doesn't exist. Although I thought I had all those wrapped, its possible I missed one.

    Question is if its in the backup system, or not. Can you please look in My Documents and see if there is a DAModder folder. If there is, look in My Documents\DAModder\Backup and see if there are any files in there. If so, let me know what files.

  7. 7 Posted by Chris on 09 Dec, 2009 06:57 PM

    Chris's Avatar

    Nope, there's no DaModder folder in my documents folder.

    Currently running some windows updates, namely SP3, hopefully this helps.

    It crashes as soon as that window I described opens up.

  8. Support Staff 8 Posted by jwvanderbeck on 09 Dec, 2009 07:42 PM

    jwvanderbeck's Avatar

    Interesting. That implies that its failing to create the directory, though it shouldn' t be.

    I'll wrap up some debug code into the next build, see if we can track it down.

  9. Support Staff 9 Posted by jwvanderbeck on 10 Dec, 2009 01:52 AM

    jwvanderbeck's Avatar

    Chris when you get a chance, please download Beta 2.1. It will most likely still crash, but I have added huge amounts of logging that will help me track down what is going wrong. After running it you will find a file called "damodder.log" in the same folder you have the program in. Post that as an attachment here for me please.

  10. 10 Posted by Michael on 10 Dec, 2009 04:17 AM

    Michael's Avatar

    I am also having problems with DAModder crashing whenever I try to run it. This is true with both v2.0 and v2.1 beta. I am attaching a copy of my AddIns.xml file. Also a copy of the error screen I receive is attached. Also, I looked in My Documents and verified that there is a DAModder folder there. I looked in My Documents\DAModder\Backup to see if there are any files in there, but it was empty. Also, I have attached my damodder.log as well. Hope that this helps.

  11. 11 Posted by Michael Squire on 10 Dec, 2009 04:19 AM

    Michael Squire's Avatar

    Here's the error screen capture file.

  12. 12 Posted by Michael on 10 Dec, 2009 04:20 AM

    Michael's Avatar

    Here's the damodder.log file.

  13. 13 Posted by kken on 10 Dec, 2009 09:58 AM

    kken's Avatar

    DAModder.exe - Application Error

    Application has generated an exception that could not be handled.

    Process ID=0xad8 (2776), Thread ID=0xf60 (3936).

    Click OK to terminate the application.

    Click CANCEL to debug the application.

    OK Cancel

    when starting the application

    included appins.xml
    i cannot use daupdater either

  14. 14 Posted by Thomas on 10 Dec, 2009 02:30 PM

    Thomas's Avatar

    Crash immediately on startup.
    Backup folder has been created but is empty.
    XP SP3 German

  15. Support Staff 15 Posted by jwvanderbeck on 10 Dec, 2009 03:11 PM

    jwvanderbeck's Avatar

    Ok both Thomas and Michael are showing a crash in the same spot in the log. I'm taking a look now.

  16. Support Staff 16 Posted by jwvanderbeck on 10 Dec, 2009 03:29 PM

    jwvanderbeck's Avatar

    Hmm ok this is odd. There is like nothing that should be causing a crash where it is crashing in the log :(

  17. Support Staff 17 Posted by jwvanderbeck on 10 Dec, 2009 04:22 PM

    jwvanderbeck's Avatar

    Please update to Beta 2.1.1, just released, to see if it helps this problem any. Honestly I don't know if it will because I couldn't really find any bad code in the area shown in the log, but I cleaned some stuff up and re-arranged the code a bit to be more efficient. Maybe we'll get lucky :D

    @kken Can you please post your damodder.log file?

  18. 18 Posted by kken on 10 Dec, 2009 06:49 PM

    kken's Avatar

    @jwvanderbeck: where can i find this .log file ? its not in same place the program is

  19. Support Staff 19 Posted by jwvanderbeck on 10 Dec, 2009 06:51 PM

    jwvanderbeck's Avatar

    Hmm it should be. Did you update to beta 2.1? That is when I added the logging.

  20. Support Staff 20 Posted by jwvanderbeck on 10 Dec, 2009 06:57 PM

    jwvanderbeck's Avatar

    Just to update on the progress of this issue, there actually appears to be two different bugs happening here.

    The first is the invalid XML problem, which the more I research appears to be a Microsoft bug that is annoying the hell out of me. The XML parser aborts saying certain characters are not valid XML, yet when I look at the characters, they are valid Unicode characters, and they are in the valid range for the XML 1.0 spec.

    The problem with this though is that if I can't get the XML parser to work, i'm faced with having to write my own parser from scratch which really sucks. But if that is what I end up having to do, then I will. It will just take some time.

    The other issue at hand here is a really odd issue with the application crashing when performing the automatic backup. I say odd because I can't see any reason for the crash. At present i'm really hoping that 2.1.1 fixes it, but I doubt it. Michael and Thomas are both experiencing this issue so I need to find out if it still happens or not in 2.1.1 before proceeding.

  21. 21 Posted by kken on 10 Dec, 2009 07:39 PM

    kken's Avatar

    here is my log file

  22. Support Staff 22 Posted by jwvanderbeck on 10 Dec, 2009 07:50 PM

    jwvanderbeck's Avatar

    Ok you appear to be having the exact same issue with crashing during the backup session. Is this log from 2.1 or 2.1.1?

  23. 23 Posted by kken on 10 Dec, 2009 08:06 PM

    kken's Avatar

    here is my log with 2.1.1 its larger now but still crashes

  24. Support Staff 24 Posted by jwvanderbeck on 10 Dec, 2009 08:10 PM

    jwvanderbeck's Avatar

    Looks like really the same problem exists (The log is bigger because its appended rather than overwritten currently).

    Very odd indeed.

  25. 25 Posted by Thomas on 10 Dec, 2009 08:16 PM

    Thomas's Avatar

    2.1.1 did not work it behaves like 2.1
    I attach a new error log and a filemon log maybe you can narrow the problem with it.

  26. Support Staff 26 Posted by jwvanderbeck on 10 Dec, 2009 08:35 PM

    jwvanderbeck's Avatar

    I have to say that this has me completely perplexed. There is literally no code between the point last recorded in the log file and the next point that should be recorded, but isn't.

    What I am going to do for now is DISABLE the creation of a backup session when the program first starts. This should allow you to at least use the program, but you won't have the backup :(

    I wish I could reproduce this error then it would be a lot easier to fix :(

  27. 27 Posted by kken on 10 Dec, 2009 08:37 PM

    kken's Avatar

    what does the backing up feature exactly do ? i would be very grateful for a version with no backup option so i can run this :)

    what version of dotNet framework do you have ?

  28. Support Staff 28 Posted by jwvanderbeck on 10 Dec, 2009 08:41 PM

    jwvanderbeck's Avatar

    Well the backup system is very robust, and can do lots of things, but when the program first starts it automatically creates a very basic backup session to backup your game settings. Specifically the files: AddIns.xml, Offers.xml, DAModder.xml & DragonAge.ini If you look in the log near the end where it crashes you can actually see the file references. Beyond that once you are actually in the program, you can create new backup sessions that are customizable and allow you to backup things like saved games and installed mods.

    I have the latest version of .NET , which I believe is 3.5

  29. 29 Posted by kken on 10 Dec, 2009 08:44 PM

    kken's Avatar

    Sounds impressive!
    looks like i have 2.5 version of .NET

    Downloading 3.5 from MS right now. Il post when i know if it fixes it

  30. Support Staff 30 Posted by jwvanderbeck on 10 Dec, 2009 08:54 PM

    jwvanderbeck's Avatar

    I have a version ready to go that skips the auto backup, but i'm going to hold off until you test with .NET 3.5

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac