Daiki Ueno <u...@gnu.org> writes: > I heard that xgettext crashes on MSYS2 when processing a certain Glade > file[1] as follows: > > xgettext -L Glade --output=- gtkfontchooserwidget.ui >& /dev/null > > However, I can't reproduce that on my environment (on both MSYS2 x86_64 > and i686, on 64-bit Windows 8). Could anyone who runs MSYS2 and > encounters the same problem, please try to collect the backtrace?
It turned out to be a problem in MSYS2, where isatty is not working correctly when an FD is redirected to /dev/null. I've opened a ticket: https://sourceforge.net/p/msys2/tickets/157/ The problem can be reproduced even with a C file when stdout is redirected to /dev/null. A minimal workaround would be to use --color=no and bypass the check. Regards, -- Daiki Ueno