• Blitz Shadow Player
  • Caius
  • redboot
  • Rules
  • Chain of Command
  • Members
  • Supported Ladders & Games
  • Downloads
Forums
Atheory's Project: PzB-Normandy Campaign - Printable Version

+- Forums (https://www.theblitz.club/message_boards)
+-- Forum: The Firing Line (https://www.theblitz.club/message_boards/forumdisplay.php?fid=1)
+--- Forum: Panzer Battles (https://www.theblitz.club/message_boards/forumdisplay.php?fid=280)
+--- Thread: Atheory's Project: PzB-Normandy Campaign (/showthread.php?tid=71766)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13


RE: Atheory's Project: PzB-Normandy Campaign - Ocito80 - 09-06-2020

I did as instructed. The program completely locked up on two successive attempts. I have enclosed both reports for comparison and analysis.


RE: Atheory's Project: PzB-Normandy Campaign - berto - 09-06-2020

Two things:

-- In only one of the two tests is there evidence of your having done the instructed Ctrl+Alt+5:

----------------
rober@B10Trto /cygdrive/c/Temp/Logs
$ ls
log#1.log  log#2.log

rober@B10Trto /cygdrive/c/Temp/Logs
$ egrep -l "OnLogLevel" *.log
log#1.log

rober@B10Trto /cygdrive/c/Temp/Logs
$ egrep "OnLogLevel" 'log#1.log'
2020-09-05 15:21:02 pbedit.exe: [TRACE ID 2011] (pzbedit.cpp, line 439, MainWindow::OnLogLevel5()) entering MainWindow::OnLogLevel5()
2020-09-05 15:21:02 pbedit.exe: [INFO ID 1] in MainWindow::OnLogLevel5(), old log level 1, new log level 5
2020-09-05 15:21:05 pbedit.exe: [TRACE ID 2012] (pzbedit.cpp, line 443, MainWindow::OnLogLevel5()) exiting MainWindow::OnLogLevel5()
----------------

You appear to have done the Ctrl+Alt+5 in log#1.log (thereby raising the LogLevel to level 5.)  From the line counts of the two log files, see how much more verbose the log#1.log (from the first trial?) is?

----------------
rober@B10Trto /cygdrive/c/Temp/Logs
$ wc -l *.log
  65870 log#1.log
   9433 log#2.log
  75303 total
----------------

Just as important, I had requested that you not exit the program, but it appears you did so:

----------------
rober@B10Trto /cygdrive/c/Temp/Logs
$ tail -n 1 *.log
==> log#1.log <==
2020-09-05 16:37:07 pbedit.exe: [INFO ID 1] pbedit.exe exit

==> log#2.log <==
2020-09-05 16:43:32 pbedit.exe: [INFO ID 1] pbedit.exe exit
----------------

When the program has "locked up", I request that is precisely when you -- apart from the "locked" pbedit.exe -- capture a "snapshot" of the Logs/pbedit.log right then and only then, no exiting of the program beforehand.

If it is not clear (appears not to be), please reread the earlier instructions carefully.

Good luck.


RE: Atheory's Project: PzB-Normandy Campaign - berto - 09-06-2020

Also, if the program has truly "locked up", I don't know how you were able to exit it (as evidenced by the last line in each of the two log files, where it indicates "pbedit.exe"). There are certainly situations where a program might "truly" lock up, where in order to terminate the program you need to resort to the Windows Task Manager, because the program itself is completely unresponsive. By "locked up", I guess you really mean to say it is v-e-r-y slow. Recall too that when that happens, allowing the heightened logging to do its thing, you wait ~5 minutes before taking the Logs/pbedit.log snapshot. Again, when you do that, leave the program itself entirely alone, do not exit or do anything else when taking the log file snapshot!


RE: Atheory's Project: PzB-Normandy Campaign - Ocito80 - 09-06-2020

Alright, I will be a master of this yet.

Here is a new log, the program is not exited, and I did the ctr-alt-5 command.


RE: Atheory's Project: PzB-Normandy Campaign - berto - 09-06-2020

And you waited for several minutes before capturing the snapshot, yes?


RE: Atheory's Project: PzB-Normandy Campaign - Ocito80 - 09-06-2020

For added context between the two file sizes of the first two logs

The first log I added more units, and saved along the way. Again, I did not run into problems until the scenario reached a certain size, in this case 266kb seems to be the magic number.


RE: Atheory's Project: PzB-Normandy Campaign - Ocito80 - 09-06-2020

(09-06-2020, 08:32 AM)berto Wrote: And you waited for several minutes before capturing the snapshot, yes?


Darn it, well the program is still open. I will resend the log after a few more minutes. I did wait with the previous two logs and the program did not respond, I do not have faith it will this time. But I will wait.


RE: Atheory's Project: PzB-Normandy Campaign - berto - 09-06-2020

Yes, waiting the additional time ("a few more minutes") would be very useful. I can then compare your first snapshot with your second.


RE: Atheory's Project: PzB-Normandy Campaign - Ocito80 - 09-06-2020

As of now 8 minutes have passed with the program open, and locked up.

Here is the log file.


Note: The program is still open and I'll keep it open for some time.


RE: Atheory's Project: PzB-Normandy Campaign - berto - 09-06-2020

Okay, I am beginning to gain some insight here.

Here are the tail ends of your two snapshots.  The earlier one on the left, the later one on the right.
[attachment=4945]

Note that, in either case but especially the one on the right, we see that the code has entered the function ForcesDraw::LoadPicture(), but there is no exit.

From the times, the beginnings of each log entry, you can see where the logging has become very slow.

There does indeed seem to be a slowdown in the graphics system indicated.  [edit: Actually more than slowdown, rather, a real lock-up.]

... But, I have been called to dinner!

How about you kill the pbedit session now, and we take this up again tomorrow?  In the meantime, I will ponder the mystery of this.