file-5.46 segfault on Cygwin (only)
Andrey Repin
anrdaemon@yandex.ru
Sun May 24 08:46:38 GMT 2026
Greetings, raf!
> 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 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.
> 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...
More information about the Cygwin
mailing list