DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 64R5J8mW801239 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 64R5J8mW801239 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=cB3u7F/Z X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF0134BA2E19 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1779859147; bh=4+x9BrHsOZpQQujk/s3mRrS2PwUh4e0aYP3ZE34vOVQ=; 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=cB3u7F/Zv6QLHzP/rw4yzB+xaXEF00GzlqGrDXTzkhg18LmTkL9U9giAPb+UKRDkY EG9HCTk3OVcBSxs5JhTPTgyMTVlHlVceHWEz7WLDbF3EhpqBS242okFcIgSpnWDZF7 VmbSe4S50Tk+p8nuOAYUWpg41ZwBWJPJRYzMjTPs= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 978F54BA2E18 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 978F54BA2E18 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1779859096; cv=none; b=g2wo3UUhbgiNCTUxJRcvoS8knsapCZNeoDri7Eu+ZquHmoW7OrrAvruNNPHOfhZUQSg12loyYSn4so/vQvH3VNjfztrh03iUiCoTSBh8DDilBHKDQXPC5x6ENe7zdJNjKy4nQdNpGM+CGTH6A1cHyJBX2aOyfQAx5qMjusKV+Vc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1779859096; c=relaxed/simple; bh=+WZv9rkfZJCZ1E2iCPlA/h7neUHMF+RCrLJg5lxEORY=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=nYI7xWKtvwggnjEnF43+pF0ymcwhH/lu5N/Njc7d35QzCWrRGSFIjrvHtip7mC1KCZjdTAkpph6S3O4qaHwJSVyY9cCHhUP/esbfspk0bpaXpGoCIkJSWP5xJ1BKzv+BdGUUmrHJvg9IhU8r/OpF4IR2GgZ85tRkWmDsAi4VApA= 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=k6d3zHG1 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 978F54BA2E18 X-Virus-Scanned: Debian amavis at ook.raf.org Date: Wed, 27 May 2026 15:17:58 +1000 To: cygwin AT cygwin DOT com Subject: Re: file-5.46 segfault on Cygwin (only) Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: <815188431 DOT 20260524114638 AT yandex DOT ru> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <815188431.20260524114638@yandex.ru> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: raf via Cygwin Reply-To: raf Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Sun, May 24, 2026 at 11:46:38AM +0300, Andrey Repin 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 AT kennydo DOT com DOT xpi (a Firefox addon). > > This is without decompressing the zipfile to allow > > further analsis. > > $ file --version; file CookieAutoDelete AT kennydo DOT com DOT xpi > file-5.46 > magic file from /usr/share/misc/magic > CookieAutoDelete AT kennydo DOT com DOT 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 AT kennydo DOT com DOT 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 -- 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