bugBattle for Wesnoth - Bugs: bug #19970, Wesnoth crashing right on start....

Show feedback again

bug #19970: Wesnoth crashing right on start. Deleting preferences file makes it work again.

Submitted by:  lfgr <lfgr>
Submitted on:  Sun Jul 22 11:27:30 2012  
Category: BugSeverity: 2 - Minor
Priority: 5 - NormalItem Group:  None of the others
Status: FixedPrivacy: Public
Assigned to: Mark de Wever <mordante>Open/Closed: Closed
Release: 1.10.3Operating System: Windows

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Feb 10 09:52:18 2013, SVN revision 56271:

Fixes terminating due to corrupt preferences.

(Fixes bug #19970, partly fixes FR #20366, backported from revision #56270.)

(Browse SVN revision 56271)

Mark de Wever <mordante>
Project MemberIn charge of this item.
Sun Feb 10 09:46:45 2013, SVN revision 56270:

Fixes terminating due to corrupt preferences.

(Fixes bug #19970, partly fixes FR #20366.)

(Browse SVN revision 56270)

Mark de Wever <mordante>
Project MemberIn charge of this item.
Tue Jul 24 17:56:23 2012, comment #3:

Got this Message in the Console, when I started Wesnoth from UMC dev:

Battle for Wesnoth v1.10.3
Started on Tue Jul 24 19:53:44 2012

Overriding data directory with C:/Program Files (x86)/Battle for Wesnoth 1.10.3//
Unexpected characters at line start, value 'homepage' at <unknown>:1

lfgr <lfgr>
Sun Jul 22 14:16:29 2012, comment #2:

Yes, Windows 7. I didn't try wesnoth on other windows versions.

lfgr <lfgr>
Sun Jul 22 12:22:46 2012, comment #1:

Just to be sure, you get this on win 7 and only there ?

Anonymissimus <anonymissimus>
Project Member
Sun Jul 22 11:27:30 2012, original submission:

I got this problem (Wesnoth crashing right on start) several times, mostly after restarting the computer, one time even while I was playing Multiplayer (The game crashed and didn't start anymore) and (maybe, I'm not sure) after using the Wesnoth UMC Eclipse plugin.

I found out that the preferences file seemed to be corrupted after the crash and the restart of the computer, because after deleting it, the game ran fine.
I copied the preferences file after closing wesnoth one time, and when I inserted the backup after a crash, the game ran fine, too.
I compared the "corrupted" and the working pref file, and the only noticeable difference (besides my changes) was the different line-endings ("\n" for the working and "\r\n" for the corrupted file).

I attached two working pref files, one generated after deleting the old, and one after successfully playing wesnoth (the backup I use); and one corrupted, after the in-game crash.

I had some further problems with the Windows 7 user management and wesnoth, so maybe the problem can be located there.

I hope I could help, and thank you all for this great game!

lfgr <lfgr>


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #16164:  preferences_after_crash_not_working added by lfgr (7kB - application/octet-stream)
file #16165:  preferences_bak_working added by lfgr (6kB - application/octet-stream)
file #16166:  preferences_generated_by_wesnoth_working added by lfgr (463B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by shadowmaster (Updated the item)
  • -unavailable- added by mordante (Updated the item)
  • -unavailable- added by anonymissimus (Posted a comment)
  • -unavailable- added by lfgr (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Mar 26 12:38:55 2013shadowmasterOpen/ClosedOpen=>Closed
    Sun Feb 10 09:52:50 2013mordanteStatusNone=>Fixed
      Assigned toNone=>mordante
    Sun Jul 22 11:27:30 2012lfgrAttached File-=>Added preferences_after_crash_not_working, #16164
      Attached File-=>Added preferences_bak_working, #16165
      Attached File-=>Added preferences_generated_by_wesnoth_working, #16166
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup