Bug found, it is as simple as running out of process address space on 32-bit Windows. (Found and confirmed using win7 32-bit on vmware)
Unpacking 7z compressed CD image requires 2*unpacked size of memory during unpacking (~1.2G in worst case) and 32-bit Windows single process limit is only ~1.5G or so. (=total of all WinUAE allocations, including memory allocated by other DLLs, must be less than ~1.5G)
Memory allocation failure will be checked correctly in next beta, unpacking will simply fail instead of crashing.
There is not much point in optimizing this because unpacking is still relatively slow process, only mame chd-like compression (that are build from small chunks that can be uncompressed individually) would work in this situation.
|