Game crashed

Post bug reports and ask for help with issues here.
Post Reply
User avatar
gingerbread
Posts: 3075
Joined: Thu Jan 04, 2007 1:25 am
Location: Sweden

Game crashed

Post by gingerbread »

Caught a crash:

************* Exception Text **************
System.InvalidOperationException: BufferedGraphicsContext cannot be disposed of because a buffer operation is currently in progress.
at System.Drawing.BufferedGraphicsContext.Dispose(Boolean disposing)
at System.Drawing.BufferedGraphicsContext.Dispose()
at System.Drawing.BufferedGraphicsContext.AllocBufferInTempManager(Graphics targetGraphics, IntPtr targetDC, Rectangle targetRectangle)
at System.Drawing.BufferedGraphicsContext.Allocate(IntPtr targetDC, Rectangle targetRectangle)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version:
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Armada2526
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///C:/Matrix%20Games/Armada%202526/bin/Armada2526.exe
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version:
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version:
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SlimDX
Assembly Version: 2.0.4.38
Win32 Version:
CodeBase: file:///C:/Matrix%20Games/Armada%202526/bin/SlimDX.DLL
----------------------------------------
msvcm90
Assembly Version: 9.0.21022.8
Win32 Version: 9.00.21022.8
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91/msvcm90.dll
----------------------------------------
irrKlang.NET2.0
Assembly Version: 1.1.3.0
Win32 Version:
CodeBase: file:///C:/Matrix%20Games/Armada%202526/bin/irrKlang.NET2.0.DLL
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.1434
Win32 Version: 8.00.50727.1434
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1434_none_d08b6002442c891f/msvcm80.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version:
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

g
User avatar
Erik Rutins
Posts: 39759
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

RE: Game crashed

Post by Erik Rutins »

Thanks. Can you provide any info on what you were doing when the crash happened and do you have a save from right before it perchance?
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
User avatar
gingerbread
Posts: 3075
Joined: Thu Jan 04, 2007 1:25 am
Location: Sweden

RE: Game crashed

Post by gingerbread »

Hi,

I was "just playing" and this happened in mid turn.

As for saves, I cannot save the game. When I try, I get the crash UI, but chosing "Continue" works.

g
User avatar
gingerbread
Posts: 3075
Joined: Thu Jan 04, 2007 1:25 am
Location: Sweden

RE: Game crashed

Post by gingerbread »

I'm running the stock 12 player scenario on an AMD Phenom, Vista SP1 w. 4GB RAM

This is from trying to save: Typing in save file name works OK, but when pressing save game this is seen

************** Exception Text **************
System.MissingMethodException: Method not found: 'System.GCNotificationStatus System.GC.WaitForFullGCComplete()'.
   at Armada2526.CoreGame.Game.SaveGame(String fileName)
   at Armada2526.SharedUI.SaveGameDialog.Save()
   at Armada2526.SharedUI.SaveGameDialog.saveButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at Armada2526.SharedUI.CustomButton.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at Armada2526.SharedUI.CustomButton.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Armada2526
    Assembly Version: 1.0.1.0
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Matrix%20Games/Armada%202526/bin/Armada2526.exe
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SlimDX
    Assembly Version: 2.0.4.38
    Win32 Version:
    CodeBase: file:///C:/Matrix%20Games/Armada%202526/bin/SlimDX.DLL
----------------------------------------
msvcm90
    Assembly Version: 9.0.21022.8
    Win32 Version: 9.00.21022.8
    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91/msvcm90.dll
----------------------------------------
irrKlang.NET2.0
    Assembly Version: 1.1.3.0
    Win32 Version:
    CodeBase: file:///C:/Matrix%20Games/Armada%202526/bin/irrKlang.NET2.0.DLL
----------------------------------------
msvcm80
    Assembly Version: 8.0.50727.1434
    Win32 Version: 8.00.50727.1434
    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1434_none_d08b6002442c891f/msvcm80.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************

/g
syndicate101
Posts: 2
Joined: Fri Dec 11, 2009 4:07 am

RE: Game crashed

Post by syndicate101 »

I'm having the same issue. Any guidance on how to resolve ?
Thank you.
User avatar
Ntronium
Posts: 161
Joined: Fri Oct 23, 2009 5:38 am
Contact:

RE: Game crashed

Post by Ntronium »

Update your version of .Net to either 3.5 or 2.0 SP 1

syndicate101
Posts: 2
Joined: Fri Dec 11, 2009 4:07 am

RE: Game crashed

Post by syndicate101 »

Wanted to say thank you Ntronium and also provide a little more detail on how I ended up solving my problem....in case it might be helpful to anyone else.

1) http://www.ghacks.net/2008/08/01/why-cannot-i-uninstall-the-microsoft-net-framework/
As per the advice found on this link I uninstalled my .Net versions one by one from most recent to oldest version using 'Add/Remove Programs' in the Control Panel.

2) http://blogs.msdn.com/astebner/archive/2006/05/30/611355.aspx
I used the tool mentioned on this site as a secondary measure to ensure .Net cleanup

3) http://www.microsoft.com/downloads/details.aspx?FamilyID=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en
Reinstalled .Net version 3.5 SP1.

and voila ! 

Restarted the computer, went back into Armada 2526, started a new game and was able to successfully save the game right away.
Can't wait to get back into the game now and have fun :)

Thanks for a great game Matrix !
Mac Linehan
Posts: 1518
Joined: Sun Dec 19, 2004 9:08 pm
Location: Denver Colorado

RE: Game crashed

Post by Mac Linehan »

Hi, Ntronium -

First of all, thank you for a fun and enjoyable game. I have SE:V, MOO2/3 and others - each has a different design focus. While I usually like to micromanage, Armada 2526 is a nice change, giving me a HUGE map with lots of planets, the ability to edit AND hot seat (not seen since MOO2). Of course, who knows what goodies await in future patches....<gin>

My initial game issue (would not run well) was resolved by downloading new drivers for my Nvidia Geforce 9500GT. The original drivers were long out of date - I should have thought of that right off the bat.

Am unable to save the game, so I deleted the old Microsoft Net Framework 2.0 (or so) and downloaded 3.5

The problem is this: Install starts fairly quickly, but then really slows down. Eventualy the load bar will be full; it then seems to hang. I gave it eight hours last nite (to make up it's mind!), but no go. I have tried this several times since. Obviously I am going up against a conflict of some kind. I have help calls into several locations, but thought I would ask you.

Problem Resolved! Downloaded Net Framework 3.5 SP1; very quick install, rebooted and Armada now saves. I think that the other (multiple!) downloads from the Microsoft Site may have been corrupt or incomplete? Thus the hours spent during an incomplete install. Thanks to all of you for posting on the forums.

Mac





LAV-25 2147
Raion
Posts: 13
Joined: Thu Dec 17, 2009 3:10 am

RE: Game crashed

Post by Raion »

As explained in the other thread if you have Windows XP SP 2 (although I could download SP 3 a few months ago, it seems now I can not from windowsupdate) than all you need is NET.Framework 2 with the SP 2 for that. (as explained in the last post (#14) on the other thread. Vista I do not know about, or Windows 7. But whatever is going on also at windowsupdate has lately gotten me perturbed as I know nothing as changed in regards to being able to download updates on my computer at least. Your computer I do not know about. 3.0gHz dual core (each core 3.0gHz Pentimum 4, 2gBmemory, 3.5gb vitural memory, Geforce 9600GT 512mB, and yes, it is getting old as a computer, but so is Microsoft and their Critical Updates and OS's. Bring back ms-dos. No humor? Goodbye).
&nbsp;
User avatar
gingerbread
Posts: 3075
Joined: Thu Jan 04, 2007 1:25 am
Location: Sweden

RE: Game crashed

Post by gingerbread »

Updating to .Net 3.5 (actually 3.5 SP 1 and no less that 3 extra fixes) does the job for me too, thanks!

/g
Post Reply

Return to “Tech Support”