X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:cc:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=oAapZ9PKtdu9Z+Ph
	2D9bb50zrajSc75+PoQ2/wEDNmUnCu1j8Iqs9EwvvttfSo63RLflNeI7YbgSMG2r
	pdzF5Q9jE1l457B6wPZzD+XiiSWNHoYX80HFPMJiA8lTjVHzXBF6yVUAKLDXUFUi
	Be9N9Rl9m+IhrWyyZrjaPVTetDE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:cc:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=18SLh01/HQ0tFNJoqlQpq8
	OgmhY=; b=IkKj+w/QlabQ3BGAGcMkJU4+Q5Jwb352MKsMX3JwT3Vi8byEEv/p5x
	qKKT9ie3tu4BIe64N+gHx9ksFVE3oJbezz12s/FAlF1XTnpMVMOMb1MymzIwYKJa
	jOto9fDLiQ8hsRphlyML74jIj2USteFlJdYYMOfRYULCsP1kbDuS4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-8.1 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,GARBLED_BODY,SPF_HELO_PASS autolearn=no version=3.3.1 spammy==d0=b5=d1, =d0=ae=d1, =d0=b0=d0=bd=d0=b4=d1, =d0=bb=d0=b5=d0=ba=d1?=
X-HELO: re-prd-fep-045.btinternet.com
Authentication-Results: btinternet.com;    auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com
X-OWM-Source-IP: 31.51.206.190 (GB)
X-OWM-Env-Sender: jonturney@btinternet.com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
Subject: Re: Hung setup-x86_64.exe after parsing setup.ini
To: The Cygwin Mailing List <cygwin@cygwin.com>
References: <003aa1a12e604bcca88f42a3a8aa41c9@spb.rpkb.ru>
Cc: =?UTF-8?B?0JLQtdGB0L3QuNC9INCu0YDQuNC5INCQ0LvQtdC60YHQsNC90LTRgNC+0LI=?= =?UTF-8?B?0LjRhw==?= <yavesnin@spb.rpkb.ru>
From: Jon Turney <jon.turney@dronecode.org.uk>
Message-ID: <a00c2dad-660f-5810-eb03-b7f40ee24aaf@dronecode.org.uk>
Date: Tue, 13 Aug 2019 12:40:29 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <003aa1a12e604bcca88f42a3a8aa41c9@spb.rpkb.ru>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Note-from-DJ: This may be spam

On 12/08/2019 10:44, Веснин Юрий Александрович wrote:
> 
> After creating a huge custom package, we meet inaccessibility of using setup.exe. It hangs on parsing setup.ini. By doing a little research we've found that this behavior appears when package size is greater than 1GiB (not accurate 1GiB but 1.4GB is enough). We started to investigate setup.exe sources but we stuck in bison sources.

If you provide more details on that problem, I can probably give some 
advice.

> How to reproduce the problem:
> 1. Make own FTP-repo of Cygwin (I think it could be done without packages at all)
> 2. Append the addition to setup.ini (from bottom of letter; in my setup.ini it holds from 173244 line)
> 3. Compress one with setup
> 4. Start latest (2.897 | 64 bit) setup-x86_64.exe, try to use this repo with default other settings.
> 5. The freeze happens during parsing setup.xz
> 
> "Workaround" is
> 1. Replace actual size with 1000000000 (at 173260th line of my setup.ini)
> 2. Recompress one
> 3. Start same setup utility
> 4. Parsing setup.xz passed but it breaks by downloading, of course. It's OK.
> 
> It's definitely a bug. What's the proper way to fix it?

Odd.

I suspect that there might be additional problems later on, if the 
uncompressed size of the package exceeds 2GB (as briefly mentioned in [1])

[1] https://cygwin.com/ml/cygwin-apps/2013-01/msg00045.html

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

