Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Game crashes with ProcGx and GxEmP errors

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Tech Support >> Game crashes with ProcGx and GxEmP errors Page: [1]
Login
Message << Older Topic   Newer Topic >>
Game crashes with ProcGx and GxEmP errors - 7/28/2013 8:21:09 AM   
blontzo

 

Posts: 4
Joined: 7/28/2013
Status: offline
Hi guys,

Since I installed Shadows, I frequently encounter random crashes throughout the game for which I could not find any solution in the forum or google (error message standing below, it's the same as in the crash dump file). I already tried to reinstall Shadows and the latest update to version 1.9.0.8, as well as .NET and XNA, but nothing seems to help.

For my system specs see the attached DxDiag file.

Does anyone else experience this or a similar issue?

Thanks for your help!




---------------------------
Error
---------------------------
An error has occurred. Distant Worlds will now exit.

Details of the error are below:

Error Code: ProcGx

System.OutOfMemoryException: Out of memory.

at System.Drawing.Graphics.CheckErrorStatus(Int32 status)

at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData)

at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr)

at DistantWorlds.Types.GraphicsHelper.ScaleImage(Bitmap unscaledBitmap, Int32 width, Int32 height, Single alpha, Boolean lowQuality)

at DistantWorlds.Types.GraphicsHelper.SmoothImage(Bitmap image)

at DistantWorlds.Controls.MainView.QvvlMd1CjA(Bitmap& , Bitmap& , Galaxy , Double )

at DistantWorlds.Main.ResetGalaxyBackdrops()

at DistantWorlds.Main.ResetGalaxyBackdropsBackgroundThread()

at DistantWorlds.Main.Aad0zttZGl()

at DistantWorlds.Main.ProgramLoop()
---------------------------
OK
---------------------------




---------------------------
Error
---------------------------
An error has occurred. Distant Worlds will now exit.

Details of the error are below:

Error Code: GxEmP

System.OutOfMemoryException: Out of memory.

at System.Drawing.Graphics.CheckErrorStatus(Int32 status)

at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData)

at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr)

at DistantWorlds.Types.GraphicsHelper.ScaleImage(Bitmap unscaledBitmap, Int32 width, Int32 height, Single alpha, Boolean lowQuality)

at DistantWorlds.Types.GraphicsHelper.SmoothImage(Bitmap image)

at DistantWorlds.Controls.MainView.QvvlMd1CjA(Bitmap& , Bitmap& , Galaxy , Double )

at DistantWorlds.Main.ResetGalaxyBackdrops()

at DistantWorlds.Main.ResetGalaxyBackdropsBackgroundThread()

at DistantWorlds.Main.Aad0zttZGl()

at DistantWorlds.Main.ProgramLoop()
---------------------------
OK
---------------------------


Attachment (1)
Post #: 1
RE: Game crashes with ProcGx and GxEmP errors - 7/29/2013 6:51:11 PM   
Erik Rutins

 

Posts: 37503
Joined: 3/28/2000
From: Vermont, USA
Status: offline
Hi Blontzo,

Could you also upload a sample save file from one of your games please? Instructions are pinned to the top of this forum.

As you are running a 32-bit operating system, you don't have access to your full 8GB of system memory. It's possible that if you are running very large and complex games with maximum galaxy size and empires, that you may be able to use up your memory. In any case, we'll see if we can figure anything out from these messages and your save file, once you upload it.

Regards,

- Erik


_____________________________

Erik Rutins
CEO, Matrix Games LLC




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

Freedom is not Free.

(in reply to blontzo)
Post #: 2
RE: Game crashes with ProcGx and GxEmP errors - 7/30/2013 4:14:40 PM   
blontzo

 

Posts: 4
Joined: 7/28/2013
Status: offline
Hi Erik,

I uploaded the savegame to your FTP server (file "Blontzo Game crashes with ProcGx and GxEmP errors.rar").

The galaxy is set up with only a 100 stars and 11 empires. Also, I never encountered this issue with Legends or any previous version, even with larger galaxies.

Regards, Blontzo

(in reply to Erik Rutins)
Post #: 3
RE: Game crashes with ProcGx and GxEmP errors - 8/21/2013 12:05:28 PM   
blontzo

 

Posts: 4
Joined: 7/28/2013
Status: offline
Hi,

I guess no reply after 3 weeks means no one else got this problem (or a solution to it)?

Grtz, Blontzo

< Message edited by blontzo -- 8/22/2013 7:10:58 AM >

(in reply to blontzo)
Post #: 4
RE: Game crashes with ProcGx and GxEmP errors - 8/22/2013 12:46:05 AM   
elliotg


Posts: 3597
Joined: 9/10/2007
Status: offline
Hi blontzo

These Out-Of-Memory crashes will unfortunately happen on 32-bit operating systems if you simply leave DW running for long enough. Though we've done a lot of work to minimize memory usage, we do not have complete control over this. This is a side effect of how memory is managed on Windows and in .Net.

The best way to avoid these crashes is to use a 64-bit version of Windows.

Failing that you can use the /3GB memory switch on 32-bit Windows as described in the links below:
http://support.microsoft.com/kb/833721
http://dwf.blogs.com/beyond_the_paper/2009/04/enabling-3gb-switch-on-windows-vista.html

This will give DW more memory to use and will eliminate these Out Of Memory errors.

Thanks
Elliot

(in reply to blontzo)
Post #: 5
RE: Game crashes with ProcGx and GxEmP errors - 8/28/2013 7:12:34 AM   
blontzo

 

Posts: 4
Joined: 7/28/2013
Status: offline
Hi Elliot!

I tried the 3GB switch and DW works now as a charm! Could play yesterday for about 2 hours without the game crashing.

So I suppose my problem is solved with this.

Thanks a lot!
Blontzo

(in reply to elliotg)
Post #: 6
RE: Game crashes with ProcGx and GxEmP errors - 5/28/2014 4:48:50 PM   
zakblood


Posts: 22687
Joined: 10/4/2012
Status: offline
glad it worked for you blontzo, but you really need a 64bit o/s, not for this game either, but your spec is way to good not to be using a 64bit o/s,

here are my reasons for the reply as well,

8gb of ram and windows 7 32bit? plus a 3gb+ video card, thats a lot of wasted ram your pc will never have access to either tbh.....

http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/does-windows-7-32bit-support-4gb-of-ram/76063e3e-1045-4908-9d21-3c6b94ce19b1

you can only use some of it then, use a 64bit version and you'd be better off, add your video memory into how much you have and then subtract the max a 32bit o/s will use, plus i think game has a memory leak as it seems to be a problem with long hours of use etc etc

quote for those who don't plan on going to the link,

"A 32Bit operation system supports up to 4GB of memory, however not all of it may be available for use by applications.

The 32-bit architecture has a memory access limit of 4GB (2^32 bytes). This permits you to use about 2.75-3.5GB of RAM after IO reservations are factored in, so minus your video ram and you get less

If you only have 4GB of memory max including video memory and do not plan to install any additional memory then I would install the 32Bit version as there is nothing to be gained by installing the 64Bit version. However if you plan to upgrade to 6 or more GB of memory sometime in the future then install the 64Bit version.
=================================================================================
In round numbers XP, Vista and Windows 7 32-Bit Versions of the Operating System can only address 4GB. Does not matter how much memory you have installed 4GB is the max. From that max your video card has XXXMB of ram on the card so that limits the operating system to 4GB minus the cards XXXMB of memory.
In addition other hardware also takes away additional amounts of memory (usually a small when compared to the video card)
and the remaining memory (address space) is available for Windows XP, Vista or Windows 7 OS and your applications.
So that 4th GB thru 16 GB of ram you installed or will install goes unused on a 32-Bit OS. Does not matter what the BIOS reports or what the OS shows as installed memory it still limited to that 4GB address barrier.
A link to the white paper titled "Gaming Performance Analysis" by Corsair
Memory Inc. provides a good clear explanation of how a video card effects
the amount of available memory in your PC. "end quote

just use the link for more info

so adding the 3gb switch works for you as thats all you can access anyway, anymore and you will get the error, as it can't use what it can't access, aka error, run out of memory, it will try and access what it can't use and throw a error code and crash the game / app in question.....

remove the amount, add the switch, or change the o/s, you won't regret it, but yes it's money, yes it's a fresh install to a 64bit o/s, but you already have a great spec, might as well use it, to it's full capacity tbh?

< Message edited by zakblood -- 5/28/2014 5:52:54 PM >

(in reply to blontzo)
Post #: 7
RE: Game crashes with ProcGx and GxEmP errors - 6/1/2014 10:37:58 PM   
jumpback1

 

Posts: 3
Joined: 6/1/2014
Status: offline
I am starting to get a GxEmP error, but it only occurs randomly while playing. I think it has something to do with an event or exploration item. I have turned off all monsters, and disaster events but still getting it on different games.


(in reply to zakblood)
Post #: 8
RE: Game crashes with ProcGx and GxEmP errors - 6/2/2014 4:08:29 PM   
Hannable

 

Posts: 93
Joined: 11/4/2013
Status: offline
EDIT: Never mind, I saw a thread about my issue further down the list and the problem will be addressed next patch. Curse my aging eyes for not seeing it before.

< Message edited by Hannable -- 6/2/2014 5:12:51 PM >

(in reply to jumpback1)
Post #: 9
RE: Game crashes with ProcGx and GxEmP errors - 6/3/2014 6:45:53 PM   
Zilkin

 

Posts: 11
Joined: 5/30/2014
Status: offline
I think this was ProGX error code too:

Distant Worlds - Crash Dump - 1.9.5.1

21:39:54 3. kesäkuuta 2014


System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at DistantWorlds.ItemListCollectionPanel.DrawPanelToImage()
at DistantWorlds.Controls.MainView.DrawMainViewXna()
at DistantWorlds.Main.ProgramLoop()


--- COMPLETE ---

(in reply to Hannable)
Post #: 10
RE: Game crashes with ProcGx and GxEmP errors - 9/1/2015 11:32:35 PM   
rwood

 

Posts: 5
Joined: 9/1/2015
Status: offline
In the past week Universe has started crashing with first the ProcGx and now the GxEmP errors. After getting the ProcGx error I updated the video driver since it looked like the error was a null reference to the video card (this is from the IT guy at work). It took about 30 seconds to crash with the GxEmP error. I don't know where to find any crash logs to load or copy here. Game is unplayable now. What do I do?

(in reply to Zilkin)
Post #: 11
RE: Game crashes with ProcGx and GxEmP errors - 9/2/2015 1:44:46 PM   
Bingeling

 

Posts: 5186
Joined: 8/12/2010
Status: offline
Crash logs are in:

Documents\My Games\Distant Worlds Universe

That is, start at the windows documents folder.

If there is a crash log, it should be pretty obvious inside there, as there is just a few files and folders. dwcrash.txt or something like that. No crash on this computer, so I don't have a file like that :)

(in reply to rwood)
Post #: 12
RE: Game crashes with ProcGx and GxEmP errors - 9/4/2015 1:18:05 AM   
rwood

 

Posts: 5
Joined: 9/1/2015
Status: offline
I found the crash log but I can't copy it here because I have not posted enough. Apparently it contains a link, phone number or email.

(in reply to Bingeling)
Post #: 13
RE: Game crashes with ProcGx and GxEmP errors - 9/4/2015 6:19:31 AM   
Bingeling

 

Posts: 5186
Joined: 8/12/2010
Status: offline
Can't you post it like Zilkin did a few posts above? The date is not important, so remove that if it actually complains.

(in reply to rwood)
Post #: 14
RE: Game crashes with ProcGx and GxEmP errors - 9/4/2015 2:14:06 PM   
rwood

 

Posts: 5
Joined: 9/1/2015
Status: offline
Thanks for the suggestion.Here is the crash file:

Distant Worlds - Crash Dump - 1.9.5.12




System.NullReferenceException: Object reference not set to an instance of an object.
at DistantWorlds.Types.Galaxy.ResolveDescription(Empire empire, BuiltObjectMission mission)
at DistantWorlds.HoverPanel.YoAtUaaeoQMoX89lyr7c(Object , Object )
at DistantWorlds.HoverPanel.g3yP0eCMngf(Graphics , BuiltObject , Point )
at DistantWorlds.HoverPanel.Mp7P0jHdQUT(Graphics , BuiltObject , Rectangle )
at DistantWorlds.HoverPanel.DrawHoverInfo(Graphics graphics, Rectangle rectangle)
at DistantWorlds.HoverPanel.DrawHoverInfoToImage(Int32 width, Int32 height)
at DistantWorlds.Controls.MainView.DrawMainViewXna()
at DistantWorlds.Main.ProgramLoop()


--- COMPLETE ---

Any ideas?

(in reply to Bingeling)
Post #: 15
RE: Game crashes with ProcGx and GxEmP errors - 9/4/2015 2:44:24 PM   
Bingeling

 

Posts: 5186
Joined: 8/12/2010
Status: offline
It could be a genuine crash, but if it is always that way it is not something random.

How to read: It is nested program calls the "original" at the bottom. With is the Main Loop (makes sense).

It crashes in a method (function) called "...Galaxy.ResolveDescription".

Which leads to the question: Do you run a mod or a custom galaxy? That could possibly cause a crash in a method like that.

It can be misleading, but it does not look graphics related to me.

(in reply to rwood)
Post #: 16
RE: Game crashes with ProcGx and GxEmP errors - 9/4/2015 3:10:10 PM   
rwood

 

Posts: 5
Joined: 9/1/2015
Status: offline
No mods or custom anything. Also, I have been playing Universe for 2-3 months with no issues. It just started 2 weeks ago. I did not update it or make any other changes. The previous, to this crash, crashes were all ProcGx errors but the one I took a picture of had exactly the same description as this one. They occurred at various playing times, from a few minutes after starting to maybe a half hour. This crash was a GxEmP error.
Thank you for your answers. I appreciate your taking the time.

< Message edited by rwood -- 9/4/2015 4:16:12 PM >

(in reply to Bingeling)
Post #: 17
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Tech Support >> Game crashes with ProcGx and GxEmP errors Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

3.000