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:from:to:subject:date:message-id:content-type
	:content-transfer-encoding:mime-version; q=dns; s=default; b=Cr5
	6suwzE0BhCoiUUgwVMsXgu3lrPZS0CXhDUvwLtxBSzVfiVnuZPlhxU5tuNtKBx7M
	cxj9hJzsC5dTxrCOpzJNEcw9aYpe3ZhxqZ6I8Td3bqLW0tqr+fGO6BNT6nfxyG4b
	s3EBuEcMSzLCyhs6U4m7xa5qv8Ot4XG1u+Gd3t8w=
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:from:to:subject:date:message-id:content-type
	:content-transfer-encoding:mime-version; s=default; bh=K/DR6sRtN
	WXO0/NYYqbArzBVe0U=; b=DB7qJlP65UZ+MtF7O4UJT1fToh4jqCp5uieuYyXdp
	vK8ZwYgaS1Qeb+DEb8FFr9DvMUqqzWt6pe7kXJ/c+ihHNNDUoJPNEqsF/40yj8pE
	pUkLqViBPmAc91nPZpjxOVnGaN/GddSn81Z31yLagX4ae5Jy0K3Fo4ZE0YlykZVM
	20=
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: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,CHARSET_FARAWAY_HEADER,FROM_EXCESS_BASE64,GIT_PATCH_2,KAM_LOTSOFHASH autolearn=ham version=3.3.1 spammy=011, Base, dependencies
X-HELO: smtp2.rpkb.ru
From: =?koi8-r?B?98XTzsnOIODSycog4czFy9PBzsTSz9fJ3g==?= <yavesnin@spb.rpkb.ru>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Hung setup-x86_64.exe after parsing setup.ini
Date: Mon, 12 Aug 2019 09:44:44 +0000
Message-ID: <003aa1a12e604bcca88f42a3a8aa41c9@spb.rpkb.ru>
x-kse-serverinfo: spb-mail01.spb.rpkb.ru, 9
x-kse-antivirus-attachment-filter-interceptor-info: license violation
x-kse-dlp-interceptor-info: license violation
Content-Type: text/plain; charset="koi8-r"
MIME-Version: 1.0
X-KSE-ServerInfo: rdcmail2016.rpkb.ru, 9
X-KSE-Antivirus-Interceptor-Info: scan successful
X-KSE-Antivirus-Info: Clean, bases: 15.06.2019 19:54:00
X-KSE-Attachment-Filter-Scan-Result: Clean
X-KSE-Dlp-Interceptor-Info: license violation
X-KSE-AntiSpam-Outbound-Interceptor-Info: scan successful
X-KSE-AntiSpam-Version: 5.8.9, Database issued on: 06/15/2019 23:38:26
X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED
X-KSE-AntiSpam-Method: none
X-KSE-AntiSpam-Rate: 0
X-KSE-AntiSpam-Info: Lua profiles 141088 [Jun 16 2019]
X-KSE-AntiSpam-Info: LuaCore: 274 274 06722f20158cc27dac78757ff4586a279bee40af
X-KSE-AntiSpam-Info: Version: 5.8.9.0
X-KSE-AntiSpam-Info: Envelope from: yavesnin@spb.rpkb.ru
X-KSE-AntiSpam-Info: Auth:dkim=none
X-KSE-AntiSpam-Info: Rate: 0
X-KSE-AntiSpam-Info: Status: not_detected
X-KSE-AntiSpam-Info: Method: none
X-KSE-Antiphishing-Info: Clean
X-KSE-Antiphishing-Method: None
X-KSE-Antiphishing-Bases: 06/15/2019 23:42:00
X-KSE-ServerInfo: rdcmailedge2.rpkb.ru, 9
X-KSE-Attachment-Filter-Scan-Result: skipped
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x7C9jORn001565


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.

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?

Addition:
@ rdc-deps
sdesc: "RDC's devel dependencies"
ldesc: "RDC's devel dependencies"
category: Base
requires: ca-certificates gcc-core gcc-g++ git gnupg libftdi1 lynx make openssh python python27 python27-pip python38 python38-pip subversion vim wget
version: 0.1-1
install: x86_64/release/rdc-deps/rdc-deps-0.1-1.tar.xz 10240 2aaf7929c7d5299e2613f5a9eb18d7a644c81d0da7a6fba93069c83a490ec798941043a8ed8bb95b28ce21179e987e1f04f372a891a5918b40db6f612276f6e4
source: x86_64/release/rdc-deps/rdc-deps-0.1-1-src.tar.xz 108 da016ecd9ac6dd3ecd1a65b80c2728db59bccd9ca5e6b54888f02398e3f97a90d1bae3bef85f0eb0950c07734bf3e191fb679fc39527205ba0520009ca4769d2
depends2: ca-certificates, gcc-core, gcc-g++, git, gnupg, libftdi1, lynx, make, openssh, python, python27, python27-pip, python38, python38-pip, subversion, vim, wget

@ rdc-tools
sdesc: "RDC's toolchain"
ldesc: "RDC's toolchain"
category: Base
requires: rdc-deps
version: 1.1.1-1
install: x86_64/release/rdc-tools/rdc-tools-1.1.1-1.tar.xz 1378576256 5b15397950db4f95e3e0560a5c9183b3811e821cfb183db1bf93a411e01e5bb4b86825a28f8121389422ffd7e9f12eef88b22560f8c30b2beb5fae230c738332
source: x86_64/release/rdc-tools/rdc-tools-1.1.1-1-src.tar.xz 108 da016ecd9ac6dd3ecd1a65b80c2728db59bccd9ca5e6b54888f02398e3f97a90d1bae3bef85f0eb0950c07734bf3e191fb679fc39527205ba0520009ca4769d2
depends2: rdc-deps

---
 Thank you in advice,
Yuriy Vesnin
--
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


