delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/22/05:14:51

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48D761A9.9020309@oracle.com>
Date: Mon, 22 Sep 2008 11:13:13 +0200
From: Dirk Napierala <Dirk DOT Napierala AT oracle DOT com>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
CC: cygwin AT cygwin DOT com, "ZELL,VOLKER" <dr DOT volker DOT zell AT oracle DOT com>,
"EVERS,DIRK" <DIRK DOT EVERS AT oracle DOT com>
Subject: Re: Problem to open big selfextracting Zip files from bash
References: <48D3B01F DOT 5080200 AT oracle DOT com> <31DDB7BE4BF41D4888D41709C476B6570929B46C AT NIHCESMLBX5 DOT nih DOT gov>
In-Reply-To: <31DDB7BE4BF41D4888D41709C476B6570929B46C@NIHCESMLBX5.nih.gov>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Dear Barry,

First thanks for your feeback.

We are using the same zip file on both versions of cygwin.
./ execution works in the old one without issues, but not in the latest.
So the file itself is not corrupted. If we try to open it in explorer or
via cmd it is working fine.

The problem is that we are not able to change the way the zipfiles is
called,
because this is part of some other code we can not change.
And in addition other exe files are also called via that code without
checking
if it is a zipfile that can be opend via a workaround linke unzip.

Or in other words it have to work with ./ execution.;-)
No way for a workaround like unzip, recreating the zipfile with spanning
method or others.

Regards Dirk

Buchbinder, Barry (NIH/NIAID) [E] schrieb:
> Dirk Napierala wrote on Friday, September 19, 2008 9:59 AM:
>   
>> We discovered an issue trying to open big self extractingzip files.
>> Trying to do so result in the following error:
>>
>> ./*selfextracting_zipfile*.exe
>> bash: ./*selfextracting_zipfile*.exe: Cannot allocate memory
>>
>> This only happens to huge files (guess above 1.5GB size) Smaller once
>> are working fine. 
>>
>> This issue happens on the current version available for download
>> 1.5.25-15 and also with the new 1.7.0 (base-files version
>> 3.7-1)(thanks to Volker Zell providing us this one for testing)  
>>
>> If we are using an older version instead (1.5.18 base-files version
>> 3.6-1) this issue doesn't show up.
>> We tried the same selfextracting zip file on each of the above
>> mentioned versions on a Dell Optiplex GX280 with 2GB memory. 
>>
>> After discussing this issue with Volker Zell he mentioned to send
>> this incident to your mailing list. 
>> Hopefully someone can assist us with that and provide a fix.
>>     
>
> Have you tried the following?
>
> $ unzip *selfextracting_zipfile*.exe
>
> (I don't know if unzip can work with self-extracting archives, but
> I seem to remember that old versions of pkunzip did.)
>
> Get native windows zip and unzip and write wrappers?
>
> <MAINTAINER ALERT>  :-)
> I do not know whether this might be a solution, but Zip 3.0, was
> released 7 July 2008.  Among other new features is "large-file
> support (i.e., > 2GB)". <http://www.info-zip.org/Zip.html>
> </MAINTAINER ALERT>
>
> Of course, the problems may be related to unzip code, not zip code.
> unzip 6.0, slated to have large-file support, is apparently still
> in the works. <http://www.info-zip.org/UnZip.html>
>
> Good luck,
>
> - Barry
>   - Disclaimers:
>     - I'd guess that the above suggestions are worthless, but
>       maybe they will, confounding all expectations, be helpful.
>     - Statements made herein are not made on behalf of NIAID.
>   


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019