Skip to content
View in the app

A better way to browse. Learn more.

HarpGamer

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Heap Corruption Crash USNI 5.0

Featured Replies

Edited the previous message.

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

  • Author
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.

  • Author

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.

Jean

Thanks for giving it a shot though remote it would be that. At least that was eliminated. I ran you save games and had the same result ran for hours with no crashes. 

  • Author

Jean, if you do Retry to debug, does it happen to give you additional information like a call stack?

I no longer seem to be getting any crashes, but will try a few more of the supplied files

On 1/29/2021 at 11:45 PM, TonyE said:

Jean, if you do Retry to debug, does it happen to give you additional information like a call stack?

Hi Tony,

here is what I did get this morning.

image.png.35302f6a5831a873e17f10b1f3abc699.png

  • Author

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

  • Author

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.

 

  • Author

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/

 

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

  • Author

Thanks Jean, I'm disappointed we didn't magically fix everything but am heartened a bit at the change in error messages.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.