Re: Unpack 7z archive fails due to out of memory problem

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
therube
Posts: 674
Joined: 14 Dec 2006, 06:22

Re: Unpack 7z archive fails

Post by therube »

(
Not sure I'm following, but here's a small one that looks unpack-able for me:
http://rybkaforum.net/mwf/rybkaattach/4 ... Knights.7z
From: http://rybkaforum.net/cgi-bin/rybkaforu ... pid=234552

Code: Select all

T:\X\>777 e *.7z

7-Zip (A) 4.65  Copyright (c) 1999-2009 Igor Pavlov  2009-02-03

Processing archive: TwoKnights.7z

ERROR: Can't allocate required memory!

Code: Select all

Listing archive: TwoKnights.7z

Method = PPMD
Solid = +
Blocks = 1
Physical Size = 5244
Headers Size = 341

---

Path = how to refute 5...nd5!.2091093792.bin
Size = 6
Packed Size = 4903
Modified = 2010-03-26 23:35:57
Attributes = ....A
CRC = 57353390
Encrypted = -
Method = PPMD:o32:mem1536m
Block = 0
Suppose it's the :mem1536m that's causing the failure in my case?
)
WinXP Pro SP3 or Win7 x86 | SS 2.54
User avatar
mdruiter
Posts: 262
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Re: Unpack 7z archive fails

Post by mdruiter »

This archive gives me a different error message, but indeed it fails. Even copying one file from it fails. So this seems to be a different problem to me.
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: Unpack 7z archive fails

Post by Jan Patera »

therube wrote:(
Not sure I'm following, but here's a small one that looks unpack-able for me:)
You probably meant non-unpackable? Yeah, that's what I meant in my post - PPMD with 1.5GB dictionary. Looks like we can get different errors in such circumstances. My bad.
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: Unpack 7z archive fails

Post by Jan Patera »

mdruiter wrote:As I'm not as convinced as you might be that the problem is understood, I'ld like to know whether I could help to debug it any further, if it occurs again...
Well, it is not understood because it is not believed the file you attached to this thread can cause such problems. Nobody can confirm it. What you could do, is:
1) have the error from post #1 displayed
2) start 2nd instance of AS
3) go to Help/Task List
4) break the 1st instance
5) Send me the bug report
User avatar
mdruiter
Posts: 262
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Re: Unpack 7z archive fails

Post by mdruiter »

Thanks! Now I hope it will happen again. :-)
As soon as I noticed that other people could not reproduce it, I downloaded my own file and tried again to be sure. And I got the same error. Until I restarted Salamander, which 'solved' it... :?
User avatar
zarevak
Plugin Developer
Plugin Developer
Posts: 789
Joined: 04 Feb 2006, 16:49
Location: Prague, Czech Republic

Re: Unpack 7z archive fails

Post by zarevak »

Hi mdruiter,
I was able to reproduce the problem with the archive from your first post and after sending the bugreport to Jan Patera, he was able to reproduce it as well... ;)

I'm crossing my fingers hoping the problem will be found and resolved quickly.
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: Unpack 7z archive fails due to out of memory problem

Post by Jan Patera »

mdruiter wrote:With some 7z archives, Unpack archive does not seem to work.
Insufficient memory to allocate 1231194888 bytes.
Uff, it took me several hours to find out there was uninitialized variable preallocating randomly big piece of memory. It was affecting only Alt-F6/Alt-F9.
It will be solved in the next release of Salamander (AS2.53).
Thanks for reporting and to Zarevak for helping out!
therube
Posts: 674
Joined: 14 Dec 2006, 06:22

Re: Unpack 7z archive fails due to out of memory problem

Post by therube »

@zarevak, what steps did you need to take to force the issue using mdruiter's test file?
WinXP Pro SP3 or Win7 x86 | SS 2.54
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: Unpack 7z archive fails due to out of memory problem

Post by Jan Patera »

therube wrote:@zarevak, what steps did you need to take to force the issue using mdruiter's test file?
He suggested to defragment address space of Salamander by loading many plugins and opening many documents (e.g. in EV and PDF). The key tool, that he told me about and I am grateful for, is VMMap (http://technet.microsoft.com/en-us/sysi ... 35533.aspx) that, among other things, shows the largest free block.
The bad thing on this particular bug was that it could never occurr in a debug build, that's why I initially saw 1MB as the largest block.
therube
Posts: 674
Joined: 14 Dec 2006, 06:22

Re: Unpack 7z archive fails due to out of memory problem

Post by therube »

> loading many plugins

I tried that too.

> and opening many documents

Didn't think of that.

> VMMap

Was looking at that the other day, but (for me) will take more study before I have a basic understanding of what it's telling me.

Thanks.
WinXP Pro SP3 or Win7 x86 | SS 2.54
Post Reply