Skip Menu |
 

This queue is for tickets about the IO-Async CPAN distribution.

Report information
The Basics
Id: 114924
Status: new
Priority: 0/
Queue: IO-Async

People
Owner: Nobody in particular
Requestors: simcop2387 [...] simcop2387.info
Cc:
AdminCc:

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



Subject: Wide character in stdin causes immediate death with IO::Async::Process
Date: Tue, 31 May 2016 17:09:23 -0700
To: bug-IO-Async [...] rt.cpan.org
From: Ryan Voots <simcop2387 [...] simcop2387.info>
Simplest test case is attached (not sure yet if RT will attach it, link at end just in case) Any kind of wide character will cause IO::Async::Process to kill everything when it has IO::Async::Stream send it to IO::Handle and it tries to use syswrite. Stack trace from IO::Handle (i added a cluck just before it dies to get a full trace). Where am i? at /home/ryan/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/x86_64-linux/IO/Handle.pm line 480. IO::Handle::syswrite(GLOB(0x24d7550), "print q\x{37e}This is a test;;", 8192) called at /home/ryan/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/IO/Async/Stream.pm line 730 IO::Async::Stream::_syswrite(IO::Async::Stream=HASH(0x24d72f8), GLOB(0x24d7550), "print q\x{37e}This is a test;;", 8192) called at /home/ryan/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/IO/Async/Stream.pm line 801 IO::Async::Stream::_flush_one_write(IO::Async::Stream=HASH(0x24d72f8)) called at /home/ryan/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/IO/Async/Stream.pm line 921 IO::Async::Stream::_do_write(IO::Async::Stream=HASH(0x24d72f8)) called at /home/ryan/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/IO/Async/Stream.pm line 913 IO::Async::Stream::on_write_ready(undef) called at /home/ryan/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/IO/Async/Loop/Poll.pm line 176 IO::Async::Loop::Poll::post_poll(IO::Async::Loop::Poll=HASH(0x21bae10)) called at /home/ryan/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/IO/Async/Loop/Poll.pm line 279 IO::Async::Loop::Poll::loop_once(IO::Async::Loop::Poll=HASH(0x21bae10), undef) called at /home/ryan/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/IO/Async/Loop.pm line 523 IO::Async::Loop::run(IO::Async::Loop::Poll=HASH(0x21bae10)) called at foundbugs/ioasync_testcase1.pl line 18 Wide character in syswrite at /home/ryan/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/x86_64-linux/IO/Handle.pm line 482. http://git.simcop2387.info/?p=perlblead-ci.git;a=blob;f=foundbugs/ioasync_testcase1.pl

Message body is not shown because sender requested not to inline it.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.