[TC 11.00b2] TC is termnated by creating a zip file with encryption
Moderators: Hacker, petermad, Stefan2, white
[TC 11.00b2] TC is termnated by creating a zip file with encryption
TC is terminated by creating a zip file with one more file and using "internal zip packer and zip-nt 2.0.1" with encryption.
Maybe the new zip packer is the problem.
OS: Windows 11 x64 22h2
TC: 11.00b2 64bit
Maybe the new zip packer is the problem.
OS: Windows 11 x64 22h2
TC: 11.00b2 64bit
Last edited by cpp64 on 2023-05-15, 14:37 UTC, edited 5 times in total.
Re: [TC 11.00b2] TC terminates when zipped with encryption
Not here.
Tested with ZIP 2.0 and AES256
May be only with certain files.
Did you test a few simple files ?
Tested with ZIP 2.0 and AES256
May be only with certain files.
Did you test a few simple files ?
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: [TC 11.00b2] TC terminates when zipped with encryption
The crash occurs in the internal zip packer and zip-nt 2.0.1 with one more file.Horst.Epp wrote: 2023-05-15, 13:22 UTC Not here.
Tested with ZIP 2.0 and AES256
May be only with certain files.
Did you test a few simple files ?
Try with "totalcmd folder" that includes more files.
Last edited by cpp64 on 2023-05-15, 14:44 UTC, edited 1 time in total.
Re: [TC 11.00b2] TC is termnated when creating a zip file with encryption
Tested OK with b1, confirmed with TC 11.00 b2 64-bit and one of the AES encryption options.
32-bit shows an error:
32-bit shows an error:
---------------------------
Total Commander 11.00b2
---------------------------
Fatal error in zip thread, aborting!
Access violation at address E5518253. Read of address E5518253
Windows 11 Professional 10.0 (Build 22621), base: 00400000
Please report this error to the Author, with a description
of what you were doing when this error occurred!
Windows exception: C0000005
Stack trace:
E5518253
Raw:
0042376C 0041FC17 0041FC3B 00422FF3 00403440 00402229
>00419C69 0040369C
Press Ctrl+C to copy this report!
---------------------------
OK
---------------------------
Re: [TC 11.00b2] TC is termnated by creating a zip file with encryption
In TC 11.00b2 32bit I get this error:
It is only if one of the 3 AES encryptions are seleceted - not with the Zip 2.0 encryption.
Enabling zip-nt 2.0.1 does not seem to change things. AFAIK that setting is only for using an external packer, not the internal.
I do not see the bug in TC 11.00 beta1 - so maybe this fix is causing it:
In TC 11.00b2 64 bit I get a Windows error message saying tha Total Commander had stopped working.---------------------------
Total Commander 11.00b2
---------------------------
Fatal error in zip thread, aborting!
Access violation at address EFFD4C07. Read of address EFFD4C07
Windows 7 SP1 Professional 6.1 (Build 7601), base: 00400000
Please report this error to the Author, with a description
of what you were doing when this error occurred!
Windows exception: C0000005
Stack trace:
EFFD4C07
Raw:
004236F9 00423702 0041FC17 0041FC3B 00422FF3 00403440
00402229 >00419C69 0040369C
Press Ctrl+C to copy this report!
---------------------------
OK
---------------------------
It is only if one of the 3 AES encryptions are seleceted - not with the Zip 2.0 encryption.
Enabling zip-nt 2.0.1 does not seem to change things. AFAIK that setting is only for using an external packer, not the internal.
I do not see the bug in TC 11.00 beta1 - so maybe this fix is causing it:
history.txt wrote:09.05.23 Fixed: Small memory leak (16kBytes) each time when using the new ZIP packer (32/64)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.00b2] TC is termnated by creating a zip file with encryption
I can reproduce it, but only with large files (several MB). What file size did you pack?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.00b2] TC is termnated by creating a zip file with encryption
Just small files, it happens when for example packing WCMD_DEU.INC and WCMD_DEU.MNUghisler(Author) wrote: 2023-05-16, 17:04 UTC I can reproduce it, but only with large files (several MB). What file size did you pack?
I am using "maximum compression (9)" in the Zip Packer setup, and one of the 3 AES encryption options. It can be reproduced with a clean ini file.
Tested under Windows 7 and 10, 32bit and 64bit TC 11.00b2
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [TC 11.00b2] TC is termnated by creating a zip file with encryption
2k works. 12k fails.
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.00b2] TC is termnated by creating a zip file with encryption
I found it, I was indeed using the buffer for regular ZIP packing which I no longer allocated in beta 2. It's only for 10 bytes checksum, so I can use a small buffer on the stack instead.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.00b2] TC is termnated by creating a zip file with encryption
Tested OK using TC 11.00b3 32-bit and 64-bit.
Re: [TC 11.00b2] TC is termnated by creating a zip file with encryption
confirmed fixed in TC 11.00b3histoty.txt wrote:17.05.23 Fixed: Packing with new ZIP packer and AES encryption caused access violation (32/64)

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar