• Blitz Shadow Player
  • Caius
  • redboot
  • Rules
  • Chain of Command
  • Members
  • Supported Ladders & Games
  • Downloads


Atheory's Project: PzB-Normandy Campaign
08-25-2020, 12:36 PM,
#31
RE: Atheory's Project: PzB-Normandy Campaign
Anyway, there is no memory issue AFAIK.  But for sure both pbedit.exe and pboob.exe crash on a failed data read of the PBNormandy_Campaign_New.oob file at that point (at or before line 1059).
Quote this message in a reply
08-25-2020, 12:57 PM, (This post was last modified: 08-25-2020, 01:02 PM by Ocito80.)
#32
RE: Atheory's Project: PzB-Normandy Campaign
I discovered the issue. I added units to the DATA file. I will need to include those. Why they are separated into the individual nation folders I do not know. Makes the prospect of modding more difficult; perhaps working as intended maybe...


I've included those files here. The data files will need to be placed in the respective folders and renamed (everything before units is deleted)

If you open the scenario in PBEDIT, then start adding stuff to increase the memory, units or mines/barb wire. Shouldn't take much to get the memory issues.


Attached Files
.zip   Atheory_Scenario.zip (Size: 192.93 KB / Downloads: 7)
Quote this message in a reply
08-25-2020, 11:19 PM,
#33
RE: Atheory's Project: PzB-Normandy Campaign
(08-25-2020, 12:57 PM)Ocito80 Wrote: If you open the scenario in PBEDIT, then start adding stuff to increase the memory, units or mines/barb wire. Shouldn't take much to get the memory issues.

After applying your added data changes, and with the OOB error out of the way, I was subsequently able to add many dozens of new units, installations, etc. without any memory issues.  I didn't observe any sluggishness or UI unresponsiveness either.  Everything seemed to be WAD.

A screenshot of the scenario after a save and reload:

.jpg   BONAtheoryBug3.JPG (Size: 402.37 KB / Downloads: 8)

Yes, my system here has a capacious 32 GB RAM.  But it shouldn't matter.  In the development IDE (Visual Studio 2019), pbedit.exe's memory usage is reported to be well under 1 GB.

Do me a favor.  Empty the Battles of Normandy/Logs folder.  Relaunch pbedit.exe, and recreate the error(s)/issue(s).  Then, without exiting the program, immediately zip up the contents of the Logs folder, and post here as an attachment.

Good luck.
Quote this message in a reply
08-26-2020, 04:20 AM, (This post was last modified: 08-26-2020, 04:36 AM by Ocito80.)
#34
RE: Atheory's Project: PzB-Normandy Campaign
not quite the same experience, but now the entire program locks up (no mouse clicks register, except on the (x) button to close program. here is the log file.

For context, my previous issues are better described as follows
pop up menus/displays disappearing behind the main program (but hitting enter) worked and exited the popped up display. This includes the scheduled reinforcement display, and the add reinforcement display.

Either way, it just seems, for me, once the scenario file size reaches 267kb it doesn't like me anymore...

Thanks for the assist.


Attached Files
.zip   Atheory_Logs.zip (Size: 19.72 KB / Downloads: 3)
Quote this message in a reply
08-26-2020, 06:16 AM,
#35
RE: Atheory's Project: PzB-Normandy Campaign
I am speculating that maybe you have made so many customizations and tweaks to your install such that, install-wise and data-wise, we are not on the same page.  Maybe I can't replicate your issues here, because I haven't "broken" my install as perhaps you have done (?).

Could it be your anti-virus software has gone haywire?  (Don't disregard this possibility.  In my testing the Campaign Series, I have seen Windows' anti-malware service go bonkers spontaneously, and slow game execution to a crawl.  In the past 7 years I have been coding and supporting games, anti-virus software has been reported to do the craziest things.)

Or maybe it is some wider OS issue?  <shrug>

Not ruling out a flaw in the code.  I will take a look at your log files.  Maybe it will give us a clue.  We may need to crank up the logging verbosity.  TBD
Quote this message in a reply
08-26-2020, 06:55 AM,
#36
RE: Atheory's Project: PzB-Normandy Campaign
I loaded your .scn file.  Comparing your pbedit.log file with the one I generate here, at the tail ends they show:

.jpg   BONAtheoryBug4.JPG (Size: 484 KB / Downloads: 4)

To the left, your pbedit.log.  To the right, mine.

I can't explain the extra several dozen lines at the end of your pbedit.log file, missing from mine.  Can you?

To focus on just one example, in your setup, you have

...
opening American/Units_100/Col Roysdon.bmp for reading
...

When I open your .scn file, there is no attempted American/Units_100/Col Roysdon.bmp file read (hence that log entry is missing here).

And so on.

Evidently, we are not on the same page, game data-wise.
Quote this message in a reply
08-26-2020, 06:57 AM,
#37
RE: Atheory's Project: PzB-Normandy Campaign
I appreciate the thoughts. I have no problem playing scenarios, nor using pbedit "until" the scenario file size reaches 267kb......why that size....that is the mystery I'm trying to uncover.
Quote this message in a reply
08-26-2020, 07:11 AM,
#38
RE: Atheory's Project: PzB-Normandy Campaign
(08-26-2020, 06:57 AM)Ocito80 Wrote: I appreciate the thoughts. I have no problem playing scenarios, nor using pbedit "until" the scenario file size reaches 267kb......why that size....that is the mystery I'm trying to uncover.

But it may not be the file size.  File size might be a red herring.  You may be attempting to load a corrupted file, for instance.

We still don't have an explanation why you appear to open files that I don't here.  With the same .scn file and data files you uploaded earlier.  (I checked.)

This is curious:

[many lines preceding, with time stamp 2020-08-25 13:11:05]
2020-08-25 13:11:05 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening German/Units_50/149mm How M37 (mot).bmp for reading
2020-08-25 13:11:05 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening German/Units_100/149mm How M37 (mot).bmp for reading
2020-08-25 13:11:05 pbedit.exe: [TRACE ID 2011] (MapDraw.cpp, line 364, MapDraw::Startup()) entering MapDraw::Startup()
2020-08-25 13:11:05 pbedit.exe: [TRACE ID 2012] (MapDraw.cpp, line 382, MapDraw::Startup()) exiting MapDraw::Startup()
2020-08-25 13:11:05 pbedit.exe: [TRACE ID 2012] (Window.cpp, line 266, XCWindow::ReadFile()) exiting XCWindow::ReadFile()
2020-08-25 13:11:05 pbedit.exe: [TRACE ID 2011] (Window.cpp, line 48, XCData::~XCData()) entering XCData::~XCData()
2020-08-25 13:11:05 pbedit.exe: [TRACE ID 2012] (Window.cpp, line 54, XCData::~XCData()) exiting XCData::~XCData()
2020-08-25 13:11:05 pbedit.exe: [TRACE ID 2012] (Window.cpp, line 348, XCWindow::OnFileOpen()) exiting XCWindow::OnFileOpen()
2020-08-25 13:11:05 pbedit.exe: [TRACE ID 2012] (pzbedit.cpp, line 170, Application::InitInstance()) exiting Application::InitInstance()
2020-08-25 13:11:55 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units/Gen Maj Watson.bmp for reading
2020-08-25 13:11:55 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units_100 - NATO/Gen Maj Watson.bmp for reading
2020-08-25 13:11:55 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units_50/Gen Maj Watson.bmp for reading
2020-08-25 13:11:55 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units_100/Gen Maj Watson.bmp for reading
2020-08-25 13:11:58 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units/Col Roysdon.bmp for reading
2020-08-25 13:11:58 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units_100 - NATO/Col Roysdon.bmp for reading
2020-08-25 13:11:58 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units_50/Col Roysdon.bmp for reading
2020-08-25 13:11:58 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units_100/Col Roysdon.bmp for reading
2020-08-25 13:12:42 pbedit.exe: [TRACE ID 2011] (Reinforce.cpp, line 32, Reinforce::Reinforce()) entering Reinforce::Reinforce()
2020-08-25 13:12:42 pbedit.exe: [TRACE ID 2012] (Reinforce.cpp, line 37, Reinforce::Reinforce()) exiting Reinforce::Reinforce()
2020-08-25 13:12:42 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 21, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:12:42 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 24, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:12:42 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 35, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:12:42 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 36, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:12:42 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 35, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:12:42 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 36, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:12:45 pbedit.exe: [TRACE ID 2011] (Reinforce.cpp, line 32, Reinforce::Reinforce()) entering Reinforce::Reinforce()
2020-08-25 13:12:45 pbedit.exe: [TRACE ID 2012] (Reinforce.cpp, line 37, Reinforce::Reinforce()) exiting Reinforce::Reinforce()
2020-08-25 13:12:45 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 21, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:12:45 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 24, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:12:45 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 35, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:12:45 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 36, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:12:45 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 35, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:12:45 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 36, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:12:50 pbedit.exe: [TRACE ID 2011] (Reinforce.cpp, line 32, Reinforce::Reinforce()) entering Reinforce::Reinforce()
2020-08-25 13:12:50 pbedit.exe: [TRACE ID 2012] (Reinforce.cpp, line 37, Reinforce::Reinforce()) exiting Reinforce::Reinforce()
2020-08-25 13:12:50 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 21, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:12:50 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 24, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:12:50 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 35, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:12:50 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 36, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:12:50 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 35, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:12:50 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 36, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:13:47 pbedit.exe: [TRACE ID 2011] (Reinforce.cpp, line 32, Reinforce::Reinforce()) entering Reinforce::Reinforce()
2020-08-25 13:13:47 pbedit.exe: [TRACE ID 2012] (Reinforce.cpp, line 37, Reinforce::Reinforce()) exiting Reinforce::Reinforce()
2020-08-25 13:13:47 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 21, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:13:47 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 24, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:13:47 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 35, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:13:47 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 36, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:13:47 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 35, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:13:47 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 36, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:13:55 pbedit.exe: [TRACE ID 2011] (Window.cpp, line 358, XCWindow::OnFileSave()) entering XCWindow::OnFileSave()
2020-08-25 13:13:55 pbedit.exe: [TRACE ID 2011] (Window.cpp, line 24, XCData::XCData()) entering XCData::XCData()
2020-08-25 13:13:55 pbedit.exe: [TRACE ID 2012] (Window.cpp, line 39, XCData::XCData()) exiting XCData::XCData()
2020-08-25 13:13:55 pbedit.exe: [TRACE ID 2011] (Window.cpp, line 276, XCWindow::WriteFile()) entering XCWindow::WriteFile()
2020-08-25 13:13:55 pbedit.exe: [INFO ID 1] in XCWindow::WriteFile(), opening F:\Panzer Battles Normandy\Scenarios\PBNormandy_Campaign.scn for writing
2020-08-25 13:13:55 pbedit.exe: [TRACE ID 2012] (Window.cpp, line 299, XCWindow::WriteFile()) exiting XCWindow::WriteFile()
2020-08-25 13:13:55 pbedit.exe: [TRACE ID 2011] (Window.cpp, line 48, XCData::~XCData()) entering XCData::~XCData()
2020-08-25 13:13:55 pbedit.exe: [TRACE ID 2012] (Window.cpp, line 54, XCData::~XCData()) exiting XCData::~XCData()
2020-08-25 13:13:55 pbedit.exe: [TRACE ID 2012] (Window.cpp, line 367, XCWindow::OnFileSave()) exiting XCWindow::OnFileSave()
2020-08-25 13:14:32 pbedit.exe: [TRACE ID 2011] (Reinforce.cpp, line 32, Reinforce::Reinforce()) entering Reinforce::Reinforce()
2020-08-25 13:14:32 pbedit.exe: [TRACE ID 2012] (Reinforce.cpp, line 37, Reinforce::Reinforce()) exiting Reinforce::Reinforce()
2020-08-25 13:14:32 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 21, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:14:32 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 24, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:14:32 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 35, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:14:32 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 36, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:14:32 pbedit.exe: [TRACE ID 2011] (Scheduled.cpp, line 35, Scheduled::Scheduled()) entering Scheduled::Scheduled()
2020-08-25 13:14:32 pbedit.exe: [TRACE ID 2012] (Scheduled.cpp, line 36, Scheduled::Scheduled()) exiting Scheduled::Scheduled()
2020-08-25 13:14:40 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units/US HQ Recon Bn (mot).bmp for reading
2020-08-25 13:14:40 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units_100 - NATO/US HQ Recon Bn (mot).bmp for reading
2020-08-25 13:14:40 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units_50/US HQ Recon Bn (mot).bmp for reading
2020-08-25 13:14:40 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units_100/US HQ Recon Bn (mot).bmp for reading
2020-08-25 13:14:51 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units/M-8 HMC-.bmp for reading
2020-08-25 13:14:52 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units/M-8 HMC-.bmp for reading
2020-08-25 13:14:54 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units/M-8 HMC-.bmp for reading

At the highlighted lines, note the 50 second gap between log entries.  See how slowly things are logged thereafter.

It is curious also to see this at the tail end of your pbedit.log:

2020-08-25 13:14:51 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units/M-8 HMC-.bmp for reading
2020-08-25 13:14:52 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units/M-8 HMC-.bmp for reading
2020-08-25 13:14:54 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units/M-8 HMC-.bmp for reading

Why is the program attempting, attempting, and attempting again to open for reading that one file?  I couldn't say, because on my end, no such attempt (file read) is made.

We don't have an explanation why your data, and log entries, differ from mine.  Without being able to reproduce your file load sequence, I am left to guess what your difficulties might be.  <shrug>
Quote this message in a reply
08-26-2020, 07:31 AM,
#39
RE: Atheory's Project: PzB-Normandy Campaign
yea, I hear yea. I'll figure it. Thanks for the feedback.
Quote this message in a reply
08-26-2020, 07:42 AM, (This post was last modified: 08-26-2020, 07:42 AM by Ricky B.)
#40
RE: Atheory's Project: PzB-Normandy Campaign
(08-26-2020, 07:11 AM)berto Wrote: At the highlighted lines, note the 50 second gap between log entries.  See how slowly things are logged thereafter.

It is curious also to see this at the tail end of your pbedit.log:

2020-08-25 13:14:51 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units/M-8 HMC-.bmp for reading
2020-08-25 13:14:52 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units/M-8 HMC-.bmp for reading
2020-08-25 13:14:54 pbedit.exe: [INFO ID 1] in Dib:Big Grinib(), opening American/Units/M-8 HMC-.bmp for reading

Why is the program attempting, attempting, and attempting again to open for reading that one file?  I couldn't say, because on my end, no such attempt (file read) is made.

We don't have an explanation why your data, and log entries, differ from mine.  Without being able to reproduce your file load sequence, I am left to guess what your difficulties might be.  <shrug>
[Image: exercise.png]
Quote this message in a reply


Forum Jump:


Users browsing this thread: 20 Guest(s)