I'm sorry for the slow reply, I stopped checking perlmonks for a reply after 5 days.

Here is the strace for the dist/IO/t/io_sock.t test: http://pastebin.ca/2670056

Looking through it, I'm not sure whether to be alarmed by all the illegal seeks or inappropriate ioctls. I can see the arguments for the system calls as bellow. This is a snippet of the full log above.

4162 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 4 4162 ioctl(4, TIOCNXCL, 0x7f8dd7b0) = -1 EINVAL (Invalid argument) 4162 _llseek(4, 0, 0x7f8dd7d0, SEEK_CUR) = -1 ESPIPE (Illegal seek) 4162 ioctl(4, TIOCNXCL, 0x7f8dd7b0) = -1 EINVAL (Invalid argument) 4162 _llseek(4, 0, 0x7f8dd7d0, SEEK_CUR) = -1 ESPIPE (Illegal seek) 4162 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 4162 connect(4, {sa_family=AF_INET, sin_port=htons(50346), sin_addr=i +net_addr("127.0.0.1")}, 16) = 0 4161 <... stat64 resumed> 0x7f8dd740) = -1 ENOENT (No such file or d +irectory) 4162 write(4, "ok 3\n", 5 <unfinished ...> 4161 stat64("/media/9b24938d-ae9c-4776-98a2-ba1863c3efc3/usr/lib/perl +5/site_perl/5.18.2/IO/Select.pm", <unfinished ...> 4162 <... write resumed> ) = 5 4161 <... stat64 resumed> 0x7f8dd660) = -1 ENOENT (No such file or d +irectory) 4162 brk(0x801000 <unfinished ...> 4161 stat64("/media/9b24938d-ae9c-4776-98a2-ba1863c3efc3/usr/lib/perl +5/5.18.2/mips-linux/IO/Select.pmc", <unfinished ...> 4162 <... brk resumed> ) = 0x801000 4161 <... stat64 resumed> 0x7f8dd740) = -1 ENOENT (No such file or d +irectory) 4162 read(4, <unfinished ...> 4161 stat64("/media/9b24938d-ae9c-4776-98a2-ba1863c3efc3/usr/lib/perl +5/5.18.2/mips-linux/IO/Select.pm", {st_mode=S_IFREG|0444, st_size=824 +7, ...}) = 0 4161 open("/media/9b24938d-ae9c-4776-98a2-ba1863c3efc3/usr/lib/perl5/ +5.18.2/mips-linux/IO/Select.pm", O_RDONLY|O_LARGEFILE) = 4 4161 ioctl(4, TIOCNXCL, 0x7f8dd508) = -1 ENOTTY (Inappropriate ioc +tl for device) 4161 _llseek(4, 0, [0], SEEK_CUR) = 0 4161 brk(0x801000) = 0x801000 4161 read(4, "# IO::Select.pm\n#\n# Copyright (c"..., 8192) = 8192 4161 brk(0x803000) = 0x803000 4161 brk(0x804000) = 0x804000 4161 brk(0x805000) = 0x805000 4161 brk(0x806000) = 0x806000 4161 brk(0x807000) = 0x807000 4161 brk(0x808000) = 0x808000 4161 brk(0x80a000) = 0x80a000 4161 brk(0x80b000) = 0x80b000 4161 brk(0x80c000) = 0x80c000 4161 brk(0x80d000) = 0x80d000 4161 brk(0x80e000) = 0x80e000 4161 brk(0x80f000) = 0x80f000 4161 brk(0x810000) = 0x810000 4161 brk(0x811000) = 0x811000 4161 brk(0x812000) = 0x812000 4161 brk(0x814000) = 0x814000 4161 brk(0x815000) = 0x815000 4161 _llseek(4, 4259, [4259], SEEK_SET) = 0 4161 _llseek(4, 0, [4259], SEEK_CUR) = 0 4161 close(4) = 0 4161 getuid() = 0 4161 geteuid() = 0 4161 getgid() = 0 4161 getegid() = 0 4161 _newselect(8, [], NULL, NULL, {15, 0}) = 0 (Timeout) 4161 write(2, "accept failed: Connection timed "..., 89) = 89

The arguments look ok to me, at least they're not corrupted somehow.


In reply to Re^2: Perl-cross IO::Select problems by ragawu
in thread Perl-cross IO::Select problems by ragawu

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.