IO test hangs on Windows with Glib

Peter Juhasz pjuhasz at uhusystems.com
Mon Mar 13 14:00:11 CET 2017


Hello,

the test 64_glib_07_io.t hangs with the Glib event loop on all versions
of Windows Perl I could test. There is some variation on where exactly
do they hang.

More specifically:
Strawberry Perl 5.12 .. 5.16, ActiveState Perl 5.24, Camelbox 5.10:
hangs after "ok 4"
Strawberry Perl 5.18 .. 5.24: hangs after "ok 6"
(all on a 32 bit Windows 7 VM)

Affected component versions: libglib (2.28), Glib (1.305), Gtk2
(1.2498), AnyEvent (7.13), AnyEvent::HTTP (2.23)


Notes and background:

* I've noticed this while investigating a bug in our Gtk2 application
that uses AE::HTTP. Test scripts and more information is in this
thread:
https://mail.gnome.org/archives/gtk-perl-list/2017-March/msg00000.html
* It's possible that glib itself, or at least this version of it is
broken, given bug reports like this:
https://bugzilla.gnome.org/show_bug.cgi?id=338943
* I don't know why is there is a change in behavior between 5.16 and
5.18. I've thought about the confusion between E* and WSA* error codes,
on which you've, ahem, written extensively in the past, but AFAIK that
breakage happened with 5.20. The perldelta5180 docs mention
USE_SOCKETS_AS_HANDLES, can it be the culprit?

Thanks in advance,
Peter Juhasz





More information about the anyevent mailing list