codesourse / theunarchiver

Automatically exported from code.google.com/p/theunarchiver
Other
0 stars 0 forks source link

Crash using lsar with a particular multi-file .CAB archive #306

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
lsar (Windows version 0.2) crashes with the following output when I try to use 
it on the installation CABs for Microsoft Bob:

>lsar C:\Temp\Bob\U1.CAB
C:\Temp\Bob\U1.CAB:
*** Uncaught exception <XADException> *** Data is corrupted
*** Uncaught exception <NSRangeException> *** -[NSMutableArray_concrete objectAt
Index:] index 12288 beyond count 2

WinRAR 3.80 is able to successfully list and extract everything.

I will e-mail the offending files. (It is a multi-disk archive.)

Original issue reported on code.google.com by dopefish...@gmail.com on 12 Oct 2010 at 1:34

GoogleCodeExporter commented 8 years ago
Funny, I can't reproduce this. Must be Windows specific. I'll look into it when 
I get to a Windows machine and can test some more.

Original comment by paracel...@gmail.com on 12 Oct 2010 at 1:28

GoogleCodeExporter commented 8 years ago
Oh, I almost forgot about this. I managed to reproduce it now, though, so I 
will be looking into it.

Original comment by paracel...@gmail.com on 3 Nov 2010 at 10:28

GoogleCodeExporter commented 8 years ago
Found the bug in the most mysterious location: Apparently, stat() does not work 
at all on mingw? Replaced it with _fstati64() and everything works again.

Very mysterious.

Original comment by paracel...@gmail.com on 4 Nov 2010 at 1:53

GoogleCodeExporter commented 8 years ago
Probably should file a ticket upstream.

Original comment by d235...@gmail.com on 7 Nov 2010 at 11:22

GoogleCodeExporter commented 8 years ago
Confirmed fixed in 0.3

Original comment by dopefish...@gmail.com on 12 Nov 2010 at 2:51