[Logged] Game running problem-can't load DB viewer and save (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support



Message


cristianwj -> [Logged] Game running problem-can't load DB viewer and save (9/22/2020 1:56:51 AM)

I've played this game for many year, but recently since June, I found my game always got some problems.
The most distrub thing is my game collapse every 20 minutes after I running any scenario, no matter huge scenario or small.
At the beginning, I found that I can't check any information in DB viewer, and no text on the pop message. When I tried to save my game, the game got stuck and didn't running.
I have re-install it yesterday, and updated to the 147.10version, the problem didn't solved.
Please let me know if you have same problem or how to solve it.

I run another test and found when the memory use exceed 2500MB, the problem occured.
My laptop's physical memory is 8.00 GB.




Rory Noonan -> RE: [Logged] Game running problem-can't load DB viewer and save (9/22/2020 4:34:50 AM)

Logged for investigation.

0014148




SteveMcClaire -> RE: [Logged] Game running problem-can't load DB viewer and save (9/24/2020 11:56:22 PM)

Hi cristianwj,

How did you install the 1147.10 version? By downloading the update ZIP file and copying it into the game folder?

It sounds like the problem you're seeing is graphics related? After you play the game for a time things stop displaying properly on the screen?

When you tried to save the game, did the game became unresponsive / freeze? Or were you able to exit the game normally at this point?

Please run the game in the way that usually causes the problem. After the problem occurs, quit the game and check the 'Logs' folder under the game install directory. You should see a file in the Logs folder named 'ExceptionLog.txt' If you can post here and attach that file it will help trouble shoot the issue.





cristianwj -> RE: [Logged] Game running problem-can't load DB viewer and save (9/25/2020 2:46:49 PM)

Hi, Steve,
Thank you for your help, I have another test tonight.
The scenario I test is Northern Inferno's 1. Opening Moves.
After 20 minutes I played, the text of pop up message were gone, and I've checked the DB viewer, no pictures and details can be displayed. When I meet this happened, I click the save button, but nothing happened, and the game became freeze, so I need to quit the program.

I updated the 147.10 version as instructions.

here is my ExceptionLog:


Successfully loaded Sim Configuration.

DPI registry setting, HKEY_CURRENT_USER\Control Panel\Desktop\LogPixels:0.

DPI registry setting, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontDPI\LogPixels:96.

DPI scale: 1.

Showing splash screen.

Initialization started.

Starting initializing Sim Core.

Successfully started database scan.

Successfully loaded terrain grids and initialized store.

Successfully created Sim World.

Done initializing Sim Core.

Successfully initialized Sim Core.

Successfully switched to High Performance power plan.

Successfully loaded Lua UI Handlers.

Successfully created new game.

Successfully set database hash value.

Successfully completed Set Current Scenario.

Successfully initialized Lua.

Successfully created scenario.

Initialization completed.

Wait for terrain to load.

Terrain loaded.

Starting loading MainForm.

Configured MainForm working area

License: Command full version

Configured range ring colors

Done loading MainForm.

Calling MainForm_Shown.

Populated CanalList.

Added World Window panel.

Built database list.

Preparing Wold Window.

Preparing BMNGv2.

Preparing BMNGv2 done.

Preparing SHP_ColdWar.

Preparing SHP_ColdWar done.

Preparing SHP_NewWorldOrder.

Preparing SHP_NewWorldOrder done.

Preparing SHP_Ice_Arctic.

Preparing SHP_Ice_Arctic done.

Preparing MapScaleLayer.

Preparing MapScaleLayer done.

Preparing CommandLayer.

Preparing CommandLayer done.

Preparing Wold Window done.

Prepared Wold Window.

Calling MainForm_Shown: Show window.

Closed splash screen.

Showed Start Game window.

Finished MainForm_Shown.

2020/9/25 22:27:29 -- B1147.10 -- unable to find edge to compute depths at DotSpatial.Topology.Coordinate
Exception: unable to find edge to compute depths at DotSpatial.Topology.Coordinate
Stack Trace: 在 ..(Boolean , String )
在 ..€( )
在 ..( )
在 ..(Int32 )
在 ..(IList ,  )
在 ..(IGeometry , Double )
在 ..()
在 ..()
在 ..(Double )
在 ..(Geometry , Double , Int32 )
在 DotSpatial.Topology.Geometry.(Double , Int32 )
在 Command_Core.ActiveUnit_Navigator.(Single , List`1& , List`1& , List`1& )
Call Stack & Error details:
Error at 200305, unable to find edge to compute depths at DotSpatial.Topology.Coordinate

2020/9/25 22:28:12 -- B1147.10 -- 集合已修改;可能无法执行枚举操作。
Exception: 集合已修改;可能无法执行枚举操作。
Stack Trace: 在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Collections.Generic.List`1.Enumerator.MoveNextRare()
在 System.Collections.Generic.List`1.Enumerator.MoveNext()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 Command_Core.Math2.(IEnumerable`1 )
在 Command_Core.ActiveUnit_Navigator.(Single , Boolean )
Call Stack & Error details:
Error at 100221,

2020/9/25 22:33:12 -- B1147.10 -- 集合已修改;可能无法执行枚举操作。
Exception: 集合已修改;可能无法执行枚举操作。
Stack Trace: 在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Collections.Generic.List`1.Enumerator.MoveNextRare()
在 System.Collections.Generic.List`1.Enumerator.MoveNext()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 Command_Core.Math2.(IEnumerable`1 )
在 Command_Core.ActiveUnit_Navigator.(Single , Boolean )
Call Stack & Error details:



Error at 100221,

2020/9/25 22:33:16 -- B1147.10 -- unable to find edge to compute depths at DotSpatial.Topology.Coordinate
Exception: unable to find edge to compute depths at DotSpatial.Topology.Coordinate
Stack Trace: 在 ..(Boolean , String )
在 ..€( )
在 ..( )
在 ..(Int32 )
在 ..(IList ,  )
在 ..(IGeometry , Double )
在 ..()
在 ..()
在 ..(Double )
在 ..(Geometry , Double , Int32 )
在 DotSpatial.Topology.Geometry.(Double , Int32 )
在 Command_Core.ActiveUnit_Navigator.(Single , List`1& , List`1& , List`1& )
Call Stack & Error details:
Error at 200305, unable to find edge to compute depths at DotSpatial.Topology.Coordinate

2020/9/25 22:33:19 -- B1147.10 -- 未将对象引用设置到对象的实例。
Exception: 未将对象引用设置到对象的实例。
Stack Trace: 在 Command_Core.Scenario.()
Call Stack & Error details:
Error at 200053, 未将对象引用设置到对象的实例。

2020/9/25 22:33:21 -- B1147.10 -- 集合已修改;可能无法执行枚举操作。
Exception: 集合已修改;可能无法执行枚举操作。
Stack Trace: 在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Collections.Generic.List`1.Enumerator.MoveNextRare()
在 System.Collections.Generic.List`1.Enumerator.MoveNext()
在 System.Linq.Buffer`1..ctor(IEnumerable`1 source)
在 System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 Command_Core.Math2.(IEnumerable`1 )
在 Command_Core.ActiveUnit_Navigator.(Single , Boolean )
Call Stack & Error details:
Error at 100221,




gennyo -> RE: [Logged] Game running problem-can't load DB viewer and save (9/25/2020 9:22:45 PM)

oh, chinese system[:D]
some tranlations if anybody needs them:

在=at
未将对象引用设置到对象的实例=Object reference not set to an instance of an object
集合已修改;可能无法执行枚举操作=Collection was modified; enumeration operation may not execute

BTW, These are the same errors when I failed to save anything while playing my insane scenarios. It's related with an almost full memory space for the program.
But small scenarios should not bring up these, maybe you have a slow CPU like me (6200U)?
A save file before saving failure happens may help.




SteveMcClaire -> RE: [Logged] Game running problem-can't load DB viewer and save (9/26/2020 5:32:44 AM)

Thanks for your quick response. I am investigating.




SteveMcClaire -> RE: [Logged] Game running problem-can't load DB viewer and save (9/28/2020 9:48:12 PM)

Hi cristianwj -- the fact that it doesn't seem to matter if you are playing a large scenario or a small one suggests that Command may not be running out of memory. The log does show several exceptions but no actual 'out of memory' errors of the sort that would occur if the game couldn't allocate more memory.

Does the problem happen when your laptop is plugged in, on battery, or both?

Also could you try it with the laptop plugged in and check your power settings to make sure there isn't some sort of feature that is reducing video card / CPU power at a certain time interval (like 20 minutes?) Perhaps try it with the laptop plugged in and Windows power settings set to 'high performance' to see if that makes a difference.






cristianwj -> RE: [Logged] Game running problem-can't load DB viewer and save (9/29/2020 2:31:40 AM)

Hi,steve.
I've checked my configurations this morning. I always use my laptop with plugged in, and settings already set to "high performance".
I found something new, it seems have relationship with different scenarios, when I played the scenario I mentioned above, it will jump out every 20 minutes, and the memory usage reach 2600MB simultaneously when freeze happened.
But I played scenario "Iron hand", everything seems goes well after 20 minutes.
I considered it was probably some scenario setting just like DB version or Lua causes this problem?
By the way, I am not the only one meet this problem, I have receiced some friend told me they encountered same situation.
Is there any possible to fix this problem?
I've called this "anti-addiction system" because I need take a break every 20 minutes, it's good for my health but not good for my game :)




SteveMcClaire -> RE: [Logged] Game running problem-can't load DB viewer and save (9/29/2020 5:10:16 AM)

Thank you for the quick response.

We've been looking over the issue and one thing that's been noted is that your exception log seems to have cut off by the forum post size limit. Could you please re-post your ExceptionLog.txt file, but instead of pasting it into a forum message, ZIP/compress it and attach it to your post? There is a link below the composition window when you're posting that says "Click here to upload!" and allows you to attach files.

Also, in the interest of trying to understand exactly what you're seeing when the problem occurs, is it possible to take a screenshot or even a short video of what your game looks like when it stops working?

Thanks!




cristianwj -> RE: [Logged] Game running problem-can't load DB viewer and save (9/29/2020 6:57:14 AM)

OK, I uploaded the exceptionlog with zip file.




SteveMcClaire -> RE: [Logged] Game running problem-can't load DB viewer and save (11/18/2020 9:16:29 PM)

Hi christianwj -- I wasn't able to reproduce the problem you described but there were several changes made to try and mitigate possible causes for it. Are you still seeing this in the current (1.02.114714) build?




cristianwj -> RE: [Logged] Game running problem-can't load DB viewer and save (11/19/2020 8:35:43 AM)

Hi, steve! Thank you for your reply and continuous help.
The problem still occured in 114714, when I played some scenarios, it broken every 20 minutes.




Geoffropi -> RE: [Logged] Game running problem-can't load DB viewer and save (11/24/2020 2:44:58 PM)

Hi Cristian,

I am a fellow (new) dev with Steve and I investigated a bit your issue. It could be related to topographic shapes.

I suggest that you uninstall completely the game through standard means then delete any remnant files if there are any. Make sure to save your scenarii and saved games somewhere in your hard drive then install the game again (standard way as well).
I am not yet fully aware of how things are cached for CMO but by doing this you should eliminate any cached data and legacy files.

Also : Does this issue appear in a scenario that takes place near polar zones only or in any scenario, also have you tried with a brand new scenario and not a saved one ?


PS: Please provide an exception log if you reproduce the issue once more ;)




cristianwj -> RE: [Logged] Game running problem-can't load DB viewer and save (11/28/2020 7:27:32 AM)

Great thanks, Geoffropi
I will do some test thesedays to figure out if it works.
The problem happened everywhere, not only high lattitude area but also indian sea and south china sea.
In some particular scenarios which did not include many units it runs ok, but some scenarios with large scale always crashed.




cristianwj -> RE: [Logged] Game running problem-can't load DB viewer and save (12/1/2020 6:22:28 AM)

Hi Geoffropi,

I think you are right. After some tests I found scenario happens in Afrika and mideast runs OK, but scenario include deep sea area this problems occur to me.




Geoffropi -> RE: [Logged] Game running problem-can't load DB viewer and save (12/3/2020 1:20:41 PM)

Hi,

Do you have the latest log to share ?





cristianwj -> RE: [Logged] Game running problem-can't load DB viewer and save (12/4/2020 10:40:16 AM)

I have test the same scenario on different computer, same problem happen to me. So I think it's not about any settings of my computer but maybe some reason from the scenario.
I will continue my check and response the log later.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.5