Package: libipc-run-perl Version: 0.92-1 Severity: normal Dear Maintainer,
I am working on a Perl module that uses IPC::Run. During testing, my test script exits without explanation. Using the Perl debugger, I traced it to where IPC::Run::_write() calls POSIX::write(): IPC::Run::_write(/usr/share/perl5/IPC/Run.pm:1413): 1413: my $r = POSIX::write( $_[0], $_[1], length $_[1] ); DB<3> x @_ 0 16 1 0 The first argument to POSIX::write is supposed to be a file handle -- I don't know if 16 makes sense. The second argument is supposed to be a string -- I'm guessing that 0 is supposed to be a null-terminated C string (?). The third argument is supposed to be the length of the second argument -- "length $_[1]" should report 1, but shouldn't the argument be 0? If I continue in the debugger, it crashes out to the command prompt: DB<4> c 2014-05-03 11:20:56 dpchrist@dev ~/Dpchrist-Lib $ I will post a demo script if/when I can devise such. David -- System Information: Debian Release: 7.5 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages libipc-run-perl depends on: ii libio-pty-perl 1:1.08-1+b2 ii perl 5.14.2-21+deb7u1 libipc-run-perl recommends no packages. libipc-run-perl suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org