Light Style© by Fisana

Jump to content


Photo

Had an Atlas crash


  • Please log in to reply
8 replies to this topic

#1 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,965 posts

Posted 03 January 2012 - 07:16 AM

And it really messed up a huge map I was working on. Lost a bunch of progress. :(

Attached Files


  • 0

#2 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 588 posts

Posted 03 January 2012 - 07:42 AM

Isn't it better to have an autosave option for atlas? I've had such problems too.
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#3 janwas

janwas

    Primus Pilus

  • WFG Retired
  • 2,733 posts

Posted 03 January 2012 - 09:31 PM

Bummer, sorry to hear that.
Presumably you were running with the latest binaries from SVN?
Unfortunately we don't have symbols for AtlasUI.dll in SVN.
@Philip - would you please add them?
  • 0
Jan Wassenberg [aka janwas]

Wildfire Games General Programming lead and code monkey
Contact me: jan@wildfiregames.com

#4 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,965 posts

Posted 03 January 2012 - 09:35 PM

Yup. Latest binaries from SVN. Difficult to reproduce. I do know I've had similar crashes.
  • 0

#5 janwas

janwas

    Primus Pilus

  • WFG Retired
  • 2,733 posts

Posted 03 January 2012 - 09:36 PM

OK. If it's difficult to repro, perhaps we can see the problem from this crashdump once the symbols are available.
It's great that you posted it :)
  • 0
Jan Wassenberg [aka janwas]

Wildfire Games General Programming lead and code monkey
Contact me: jan@wildfiregames.com

#6 Ykkrosh

Ykkrosh

    Primus Pilus

  • WFG Programming Team
  • 4,921 posts

Posted 04 January 2012 - 01:35 PM

Unfortunately we don't have symbols for AtlasUI.dll in SVN.
@Philip - would you please add them?

Hmm, not sure whether I can. The autobuilder doesn't save that .pdb file anywhere, and I think that recompiling it would probably produce a version that's incompatible with the crash dump (since it won't have the same timestamp etc) (though I could be wrong about that - haven't tested it).

I don't remember why I set the autobuilder to not upload AtlasUI.pdb - maybe because it was large (though with wx 2.9 on VS2010 it's only ~20MB and I assume the wx2.8/VS2008 autobuilder won't be much different), or maybe I thought it wouldn't be useful unless the wxWidgets symbols were included too (the full libraries/wxwidgets/ is 450MB so it would still be painful to add it to SVN), or something like that. I could change the autobuilder now, but I don't remember wanting the .pdb in any case other than this one, and it's too late for this one.

Anyway, I tried debugging it without the symbols just by setting a breakpoint in the offending function and seeing what input triggered it, and it was the tool selection buttons. Then I found I could randomly reproduce the crash by clicking repeatedly through the terrain tool buttons, then tried that in Valgrind, which found the problem, so I fixed it.
  • 0
Philip Taylor [aka Ykkrosh]

Wildfire Games Programmer
Contact me: philip@wildfiregames.com

#7 feneur

feneur

    Cartographer of imaginary worlds

  • 0 A.D. Project Leader
  • 7,823 posts

Posted 04 January 2012 - 02:45 PM

so I fixed it.

(y) That's the main thing after all :)
  • 0

Erik Johansson [ aka feneur ]

Wildfire Games
Contact me: feneur@wildfiregames.com



Support Wildfire Games!


#8 janwas

janwas

    Primus Pilus

  • WFG Retired
  • 2,733 posts

Posted 04 January 2012 - 09:34 PM

Cool, glad you fixed it (y)
I am a big believer in symbol information in general.
It is apparently possible to force a PDB to match:
http://stackoverflow...-match-properly
That looks too crazy even for my taste, though, so it'd
be nicer to always commit PDBs of any code of ours that
might possibly crash :)
I don't think the AtlasUI symbols depend on wxW -
did you have any particular problem in mind?
  • 0
Jan Wassenberg [aka janwas]

Wildfire Games General Programming lead and code monkey
Contact me: jan@wildfiregames.com

#9 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,415 posts

Posted 04 January 2012 - 09:53 PM

Isn't it better to have an autosave option for atlas?

Yes
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com