ZTree.com  | ZEN  | About...  

 Index   Back

Crash on quit, with corruption of ZTW.HST   [Zeta]

By: Martijn Coppoolse   Homepage   Voorburg, NL  
Date: Apr 11,2019 at 08:12
In Response to: [Zeta] v2.4.186 Now Available! (Kim Henkel)

I don’t think I’ve been doing anything really out of the ordinary in that instance, but when I [Q]uit it, I got the Windows ‘program has crashed’ window, which I dismissed.

I then tried restarting ZTreeWin, but that warns about corruption of ZTW.HST:

Error: Unrecognized command history item read from [C:\MC\Run\Util\ZTree\ZTW.HST]!
Press [Enter] to continue...

Looking at it, there seems to be a problem after the last PN=... line, which is followed by ‘PS’ with a NUL character, and then a seemingly normal ps=... entry again.

I’ve removed the PS<NUL> line using Notepad++ and saved it, pressed Enter in ZTreeWin, and it continued its startup without a hitch.

One thing I find interesting, is that the last correct line, PN=..., was new from that session, while the preceding pn=... line was from a much older session.

If you’re interested, I’ve got the following files available for debugging purposes:
* The ZTW.INI from before that instance started
* The original ZTW.HST from before that instance started
* The corrupted ZTW.HST from after the crash
* The zkeys.log from that session’s ZTMP004 directory

And here’s the logging my ‘ZTWatch’ utility reported:
12:49:26.289 --------------------------------------------------------------------------------
12:49:26.289 Command line: "C:\MC\Run\Util\ZTree\ZTWatch.exe" /APIT /ZB /TOZV /KBR /Y /ZZ7 /ZM C:\MC W:\Src L:\ALG J:\Projects C:\Projects C:\MC
12:49:26.289 ZTExe: C:\MC\Run\Util\ZTree\ZTW64.EXE
12:49:26.289 Current dir: C:\windows\system32
12:49:26.484 ZTreeWin started; process ID: 7464 (1D28)
12:49:26.484 Console window handle: 20914282 (13F206A)
12:49:27.491 ZTTemp: C:\Users\MCo\AppData\Local\Temp\ZTMP004
13:27:58.865 ZTreeWin finished after 38 minutes with exit code -1073740940.
13:27:59.032 ================================================================================

ZTreeW64 v2.4.186 on Windows 7 Professional (version 6.1, build 7601: Service Pack 1).



Messages in this Thread

94,242 Postings in 11,887 Threads, 347 registered users, 8 users online (0 registered, 8 guests)
Index | Admin contact |   Forum Time: Apr 26, 2019 - 1:51 am EDT  |  Hits:27,538,634  (192 Today )
RSS Feed