Skip Menu |

This queue is for tickets about the POE CPAN distribution.

Report information
The Basics
Id: 12346
Status: resolved
Priority: 0/
Queue: POE

People
Owner: Nobody in particular
Requestors: rob [...] exitexchange.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.3009
Fixed in: (no value)



Subject: Make test errors with Tk
Versions: Linux devel.exitexchange.com 2.4.20-37.9.legacysmp #1 SMP (RedHat 9) perl v5.8.0 built for i386-linux-thread-multi (RedHat 9 rpm) Tk 804.027 'make test' breaks in 3 tests: tests/30_loops/50_tk/comp_tcp tests/30_loops/50_tk/wheel_sf_tcp tests/30_loops/50_tk/wheel_sf_unix below is typical, the file descriptor numbers change from test to test: XS_Tk__Callback_Call error:fileno not same for read 8 and write 9 at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk/Event/IO.pm line 122. (in cleanup) whoops; no tk file io object at lib/POE/Loop/Tk.pm line 116. the test window hangs, with an empty Tk window waiting. Clicking the close icon aborts the process and make test continues, noting failures. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- tests/30_loops/50_tk/comp_tcp.t 18 16 88.89% 1-8 10-12 14- 18 tests/30_loops/50_tk/wheel_sf_tcp 12 5 41.67% 2-3 7-8 10 tests/30_loops/50_tk/wheel_sf_uni 15 7 46.67% 2 4 6 8-9 11 13 32 tests and 7 subtests skipped. Failed 3/126 test scripts, 97.62% okay. 28/3987 subtests failed, 99.30% okay.
This is most likely a conflict between PerlIO in 5.8.0 and Tk. PerlIO was rather new at the time, and I imagine the problem's been fixed in subsequent versions of Perl. I originally thought the problem was was limited to ActivePerl 5.8.0, but you've confirmed that it's not. http://bugs.activestate.com/show_bug.cgi?id=22619&printable=1&pre=1 is the bug report I sent to ActiveState in January 2003. It includes a stand-alone test case that doesn't use POE, which is how I know it's a problem in Perl itself. Thanks for the bug report!