Exception trying to unpack nested CAB

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
pol098
Junior Member
Junior Member
Posts: 62
Joined: 2005-08-03, 15:54 UTC
Location: UK

Exception trying to unpack nested CAB

Post by *pol098 »

Error running TCMD 9.0RC6 32-bit in administrator mode under Win10/64. I opened file HPUSBFormatter.exe (an SFX) as an archive, which displayed as several files including one named data1.cab. I then keyed Ctrl-PgDn to open this nested CAB, and got an error window, copied below. On continuing I then got a TCMD error window: "7-zip library is not found. Download 7-Zip", followed by "error in packed file". However, if I extract data1.cab and try to open it with 7-Zip (not from within TCMD) it is reported as not being an archive. [The file HPUSBFormatter.exe itself I extracted from a file I have renamed as "HP USB Disk Storage Format Tool_218_installer.exe"; I don't remember the original name, perhaps "HP USB Disk Storage Format Tool.exe".]

Clevo computer, Intel CPU, Win10/64, up-to-date.

I report this for information as it raised an exception rather than just an error message; it is not a problem for me, and may not be worth looking at.

I don't seem to be able to attach a file, but can supply it if required.

Further checking: the exception is repeatable with 32-bit TCMD in admin mode, but does not occur in 64-bit, non-admin mode, and does not occur with Ctrl-PgDn on the extracted data1.cab. There is an error message about the 7-Zip library in those cases.

---------------------------
Total Commander 9.0RC6
---------------------------
Privileged instruction.
Privileged instruction
Windows 10 10.0 (Build 14393), base: 00400000

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Windows exception: C0000096
Stack trace:
04882A21
0042C0C2 0042C1FC 005E2943 0041F543 00426A8C
Raw:
004023EF 004023EF 00440432 0044B987 00447829 00449E21
00440432 00449CBE 004299F5 00447829 00402E8E 00447829
00449AB5 00402E8E 00447829 00449AB5 0042C0C2 0042C0C2
0042C1FC 0042C1FC 005E2943 005E2943 005E2943 0040B3C7
0040B3F6 004206F3 004206FC 00420DD7 0041F0BD 00421361
0041F543 00448CF9 00426A8C 00426A8C 00426A8C 00449B5F
00447829 00449AB5 00438AD2 00448DDE 00448E56 004497E6
00449809 00426A8C 00447829 00449AB5 00428790 00448E56
004497E6 >00426A8C 00448D8B 00426A8C 00406F4C 004023EF
00403414 004021C8 004026B8 0041E2D1 0041E337 005E4FEC

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Yes No
---------------------------

Best wishes
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately the error address isn't in Total Commander. The last code in the stack trace which is part of Total Commander is a call to PeekMessage, which is called in a callback from the CAB extractor dll.

Furthermore, I could not reproduce your problem: I found the mentioned file and looked inside, but only get an unpack error from the CAB files inside because they are not Windows CAB files - they are InstallShield CAB files which cannot be unpacked by TC.

So the problem isn't related to unpacking CAB files, it must be some third party window (e.g. from a plugin) executing bad code when TC handles Windows messages.
Author of Total Commander
https://www.ghisler.com
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

I also couldn't reproduce the problem. I tried with TC 9.0 RC6 32-bit, with clean INI:
- under Windows 7 with TC launched as administrator,
- under Windows 2000.

MD5 of HPUSBFormatter.exe that I tried is: ae2bd23e0a380ca770a2b542b5125228.
pol098
Junior Member
Junior Member
Posts: 62
Joined: 2005-08-03, 15:54 UTC
Location: UK

Post by *pol098 »

MarcinW wrote:I also couldn't reproduce the problem. I tried with TC 9.0 RC6 32-bit, with clean INI:
- under Windows 7 with TC launched as administrator,
- under Windows 2000.

MD5 of HPUSBFormatter.exe that I tried is: ae2bd23e0a380ca770a2b542b5125228.
That is the same as the MD5 of the file I have been using. So not a TCMD problem at all. I'm not going to proceed further, as it's not a problem to me anyway.
Post Reply