On Sun, May 24, 2026 at 11:46:38AM +0300, Andrey Repin <[email protected]> 
wrote:

> Greetings, raf!

Hi Andrey,

> > The current version of file/libmagic on Cygwin is 5.46.
> 
> > It crashes when trying to analyse the zipfile
> > [email protected] (a Firefox addon).
> > This is without decompressing the zipfile to allow
> > further analsis.
> 
> $ file --version; file [email protected]
> file-5.46
> magic file from /usr/share/misc/magic
> [email protected]: 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/[email protected]).
> 
> > 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

Reply via email to