zammitjames / theunarchiver

The Unarchiver is an Objective-C application for uncompressing archive files
Other
9 stars 3 forks source link

opening winzip files with compression results in a crash #844

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
open "Untitled.zip" and the unarchiver will crash

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000900000008
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x900000008:
    Process Corpse Info    000000010a35c000-000000010a55c000 [ 2048K] rw-/rwx SM=COW  
--> 
    STACK GUARD            0000700000000000-0000700000001000 [    4K] ---/rwx SM=NUL  stack guard for thread 1

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                 0x00007fff8f9df23f objc_autorelease + 31
1   de.dstoecker.xadmaster          0x0000000100099c64 +[XADPlatform 
readCloneableMetadataFromPath:] + 108
2   de.dstoecker.xadmaster          0x00000001000b61dd -[XADSimpleUnarchiver 
initWithArchiveParser:entries:] + 649
3   de.dstoecker.xadmaster          0x00000001000b5f27 +[XADSimpleUnarchiver 
simpleUnarchiverForPath:error:] + 73
4   cx.c3.theunarchiver             0x0000000100004f46 0x100000000 + 20294
5   cx.c3.theunarchiver             0x0000000100002f2d 0x100000000 + 12077
6   cx.c3.theunarchiver             0x0000000100002705 0x100000000 + 9989
7   com.apple.CoreFoundation        0x00007fff8dd9a9dc __invoking___ + 140
8   com.apple.CoreFoundation        0x00007fff8dd9a82e -[NSInvocation invoke] + 
286
9   com.apple.CoreFoundation        0x00007fff8de3a4e6 -[NSInvocation 
invokeWithTarget:] + 54
10  cx.c3.theunarchiver             0x000000010000a0da 0x100000000 + 41178
11  com.apple.Foundation            0x00007fff9c324acd __NSFireDelayedPerform + 
377
12  com.apple.CoreFoundation        0x00007fff8de164b4 
__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
13  com.apple.CoreFoundation        0x00007fff8de16143 __CFRunLoopDoTimer + 1075
14  com.apple.CoreFoundation        0x00007fff8de93cda __CFRunLoopDoTimers + 298
15  com.apple.CoreFoundation        0x00007fff8ddd1511 __CFRunLoopRun + 1841
16  com.apple.CoreFoundation        0x00007fff8ddd0b78 CFRunLoopRunSpecific + 296
17  com.apple.HIToolbox             0x00007fff91c283e5 RunCurrentEventLoopInMode 
+ 235
18  com.apple.HIToolbox             0x00007fff91c2817b ReceiveNextEventCommon + 
432
19  com.apple.HIToolbox             0x00007fff91c27fbb 
_BlockUntilNextEventMatchingListInModeWithFilter + 71
20  com.apple.AppKit                0x00007fff9a019ae7 _DPSNextEvent + 1076
21  com.apple.AppKit                0x00007fff9a3e5ac5 -[NSApplication 
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 440
22  com.apple.AppKit                0x00007fff9a00f986 -[NSApplication run] + 682
23  com.apple.AppKit                0x00007fff99f91e9a NSApplicationMain + 1176
24  cx.c3.theunarchiver             0x00000001000017a8 0x100000000 + 6056
25  cx.c3.theunarchiver             0x00000001000015d4 0x100000000 + 5588

Original issue reported on code.google.com by mayer.ju...@gmail.com on 6 Aug 2015 at 9:09

Attachments:

GoogleCodeExporter commented 9 years ago
What is the password for this and the other file?

Original comment by paracel...@gmail.com on 6 Aug 2015 at 10:09

GoogleCodeExporter commented 9 years ago
should be 'test' for the zip and 'hpfGzq5yKw' for the rar

rar was created using winrar
./rar a -hpfGzq5yKw secret whatsnew.txt

and zip using the mac version of WinZip

Original comment by mayer.ju...@gmail.com on 6 Aug 2015 at 1:24

GoogleCodeExporter commented 9 years ago
both crashes on newest 10.11 beta

Original comment by mayer.ju...@gmail.com on 6 Aug 2015 at 1:24

GoogleCodeExporter commented 9 years ago
Can you check if this one works better?

Original comment by paracel...@gmail.com on 11 Aug 2015 at 6:00

Attachments:

GoogleCodeExporter commented 9 years ago
this version doesn't crash anymore on el capitan and extracts the password 
protected zip fine.

it fails to extract the RAR through, with "archive is not complete" error

Original comment by mayer.ju...@gmail.com on 12 Aug 2015 at 8:08

GoogleCodeExporter commented 9 years ago
I can't get it to extract in any version. Are you sure the password is correct?

Original comment by paracel...@gmail.com on 15 Aug 2015 at 8:51