DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 658EF3ux868704
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 658EF3ux868704
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=Oc2RaBms
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 946E151A4322
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1780928101;
	bh=xx0SNupXs1ee0hZUXukVFfrsCmH6lGkeW5JMs8Hu4RQ=;
	h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=Oc2RaBmsFXWo+ghE2POuMfExb27O1LviNeesucY2nXb/w8yz2yY4c89FHUYUPmSkE
	 qvwEcyyoHEBADjBqCHkkE5P10OFPTBB9IhiHWbJbZHTFoxSmjKgMVj5yMH314DVbhq
	 CPwgF4jNSok5w9aLKBzbuCp4GEtS1ioMKWwrqJlA=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EDCAD4B19707
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EDCAD4B19707
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780928080; cv=none;
 b=ML1miLErOVTGTZ6RWMwfhgnxKaCrPOKUWnp4L+iCVQ7rOBr8rtQ5TXkng6GGKgx2q2/OSjxZjAyLEWuTITDyhOuYKZV8nGSq+Qz/dbbL9wZ1GjlaI2jo/eYJ+WXnmQbR1KfnIg2rB+SEn3ff+VKXoy35i/Nze9ei75yDqV0by50=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1780928080; c=relaxed/simple;
 bh=iT1iebr8u09NF66G2McMOgbzjjeVWCa6WZ2XRFgDTNA=;
 h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
 b=jsqGY8kKHUoh/uJrDPYyZ+Wh1H3AEvYWV0lgECsTuuy2CHbfaXS/1i4pa6IewfG7hGeSSYHi+hHD5kOohWTcfDWAxSgTBtUVVOzSosoufP2ugob8YLCNqJDWvJjJ/1m8e6N7BqyLEi8qt3GUKAKgdN0wEj/rUVEFfyi7ze6jf7Y=
ARC-Authentication-Results: i=1; sourceware.org;
 dkim=pass (2048-bit key, secure) header.d=raf.org
 header.i=@raf.org header.a=rsa-sha256 header.s=001 header.b=MdZsgH+D
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EDCAD4B19707
X-Virus-Scanned: Debian amavis at ook.raf.org
Date: Tue, 9 Jun 2026 00:14:26 +1000
To: cygwin@cygwin.com
Subject: Re: file-5.46 segfault on Cygwin (only)
Message-ID: <aibOQqfCU0JQaShM@raf.org>
Mail-Followup-To: cygwin@cygwin.com
References: <ahE2Kc0MK1cnS-HK@raf.org> <815188431.20260524114638@yandex.ru>
 <ahZ-hjjT0397FJPW@raf.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <ahZ-hjjT0397FJPW@raf.org>
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: raf via Cygwin <cygwin@cygwin.com>
Reply-To: raf <cygwin@raf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

On Wed, May 27, 2026 at 03:17:58PM +1000, raf <cygwin@raf.org> wrote:

> On Sun, May 24, 2026 at 11:46:38AM +0300, Andrey Repin <anrdaemon@yandex.ru> wrote:
> 
> > Greetings, raf!
> 
> Hi Andrey,
> 
> > > The current version of file/libmagic on Cygwin is 5.46.
> > 
> > > It crashes when trying to analyse the zipfile
> > > CookieAutoDelete@kennydo.com.xpi (a Firefox addon).
> > > This is without decompressing the zipfile to allow
> > > further analsis.
> > 
> > $ file --version; file CookieAutoDelete@kennydo.com.xpi
> > file-5.46
> > magic file from /usr/share/misc/magic
> > CookieAutoDelete@kennydo.com.xpi: Zip archive data, at least v2.0 to extract, compression method=deflate
> 
> It's good that it doesn't affect everyone, but 5.47 has
> been out for a few months, and 5.46 is a few years old.
> So an updated package would help others regardless.
> 
> > > It's here for reference (raf.org/tmp/CookieAutoDelete@kennydo.com.xpi).
> > 
> > > Strangely, 5.46 on macOS and Debian don't crash with this file.
> > > It's just the 5.46 on Cygwin.
> > 
> > Try the usual:
> > 
> > 1. Shut down every cygwin process.
> > 2. ps ax to verify.
> > 3. Re-run cygwin setup.
> > 4. Try rebase-trigger full if that didn't help.
> 
> Thanks but that didn't fix it.
> But it's OK. I've installed 5.47 from source and it's fine.
> I'll remove it when the Cygwin package is updated to 5.47.
> 
> > > I compiled 5.46 on Cygwin myself to see if it's something
> > > wrong just with the Cygwin package of file-devel but that
> > > crashed too.
> > 
> > > 5.47 on all three systems doesn't crash, so that's good.
> > 
> > > So, if anyone here has anything to do with packaging file-devel
> > > for Cygwin, please update the package to 5.47. Thanks.
> > 
> > -- 
> > With best regards,
> > Andrey Repin
> > Sunday, May 24, 2026 11:45:06
> > 
> > Sorry for my terrible english...
> 
> cheers,
> raf

file-5.48 has just been released.

cheers,
raf


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