Jump to content

Heap Corruption Crash USNI 5.0


TonyE
 Share

Recommended Posts

Jean

I think the bee hive scenario is still tied to the legacy battleset as the DB is not shown next to the timer on the bottom right of the full screen page. I wonder if you could test the same scenario but from the more recent USNI battle set. The battle set is scenario number nine and the region is the GIUK. I believe it will be the top USNI battle set in the selection window.  I believe it has a different battle set then the older USNI which is the bottom one on the choices. It should show 170913 as the battleset as it seems that is locked in.

 

Tony

Link to comment
Share on other sites

1 minute ago, Tony said:

Jean

I think the bee hive scenario is still tied to the legacy battleset as the DB is not shown next to the timer on the bottom right of the full screen page. I wonder if you could test the same scenario but from the more recent USNI battle set. The battle set is scenario number nine and the region is the GIUK. I believe it will be the top USNI battle set in the selection window.  I believe it has a different battle set then the older USNI which is the bottom one on the choices. It should show 170913 as the battleset as it seems that is locked in.

 

Tony

There is somewhat more nuance than that.  A BattleSet is composed of: 1. The BattleSet specific information like the map, description, weather starting locations, sonar conditions, etc.; 2. Database of Platforms except for commondb BattleSets which share a database between multiple BattleSets; 3. Scenarios.  

So USNI.RES has its own database embedded in that file, a different database from HDSA.RES.  Back then there was much more manual creation of the BattleSets so occasionally there is some data out of place.  But what to take from it is that both USNI and HDSA are legacy BattleSets filled with gremlins but between them potentially different gremlins.  In addition to gremlins is that the current game structures are different than when that original USNI BattleSet was created so there is code to convert from the old to new structures and sometimes that code is wrong and sometimes it unleashes gremlins that were previously caged by one-off workarounds.

Link to comment
Share on other sites

As to the rest, yes, the USNI re-makes are very up to date and use the latest game functionality so unless a player has a particularly fond memory of the original USNI scenarios rather than the re-makes, I for one would suggest playing the re-make.

  • Like 1
Link to comment
Share on other sites

No crash after more than an hour of play from autosave.0107.hp0 but I did just use a Nimrod one-shot-one-kill to take out some fish.  Great fun to play though!  Time to call it a night <g>.

 

JeanFish.png

  • Haha 1
Link to comment
Share on other sites

Since throwing darts at the wall isn't getting us very far, though it was super fun to challenge those Flankers in the re-worked USNI BattleSet, I'm just starting to compile a list of tools and techniques to troubleshoot.  Historically instrumenting the game code along with play testing would isolate issues but memory corruption tends to build up over time and can rarely be tracked back to a single event.  Over the next few weeks we should be able to start using these strategies to identify memory issues and begin cleaning them up.

 

Link to comment
Share on other sites

While starting to lay out instructions for using windbg and gflags (from Memory problem debugging) I managed to see some heap corruption on a test machine then managed to get an error on my development machine.  I've cleaned up an out of control Staff Assistant and no longer seem to get either of those problems.  It may well not fix Jean's problem but it would be great if you can re-test with 2021.001 or newer.  Thanks!

https://harpgamer.com/harpforum/topic/29035-current-files/

 

Link to comment
Share on other sites

On 2/1/2021 at 11:26 PM, TonyE said:

While starting to lay out instructions for using windbg and gflags (from Memory problem debugging) I managed to see some heap corruption on a test machine then managed to get an error on my development machine.  I've cleaned up an out of control Staff Assistant and no longer seem to get either of those problems.  It may well not fix Jean's problem but it would be great if you can re-test with 2021.001 or newer.  Thanks!

https://harpgamer.com/harpforum/topic/29035-current-files/

 

I did play with new beta. It did took longer to crash and the error message were different.

 

 image.thumb.png.cb95d24587a426c293d0b0c3458aebdf.png
 image.png.87a5306113539aa84399fe3a79c0371f.png
 

image.png.0227f8ae39173490f083ea6727656fb8.png

image.png.9d4a752fe4231e8af7faf4b560e1c097.png

 


autosave.0049.hp0autosave.0047.hp0autosave.0048.hp0

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...