GithubHelp home page GithubHelp logo

Comments (8)

jkeenan avatar jkeenan commented on August 27, 2024

Additional CPANtesters reports of this problem:
http://www.cpantesters.org/cpan/report/758b5294-3a33-11ea-90e5-674a1f24ea8f (ISS version 1.25, perl-5.8.9)
http://www.cpantesters.org/cpan/report/fa0ba5f6-3e74-11ea-9eba-37761f24ea8f (ISS version 1.26-TRIAL, perl-5.8.9)

from ipc-system-simple.

jkeenan avatar jkeenan commented on August 27, 2024

I'm somewhat stumped on this intermittent test failure in IPC-System-Simple t/08_core.t. I can't locate the source of the error message: died to signal "ABRT". That syntax -- "died to" -- is not standard English but so far my DDG search hasn't turned anything up.

from ipc-system-simple.

karenetheridge avatar karenetheridge commented on August 27, 2024

https://metacpan.org/release/IPC-System-Simple/source/lib/IPC/System/Simple.pm#L62

from ipc-system-simple.

jkeenan avatar jkeenan commented on August 27, 2024

https://metacpan.org/release/IPC-System-Simple/source/lib/IPC/System/Simple.pm#L62

Thanks. I think the problem here is not mainly in IPC::System::Simple but in perl-5.8.9. See posting on perl5-porters list.

from ipc-system-simple.

jkeenan avatar jkeenan commented on August 27, 2024

OTOH, here is a CPANtesters report for IPC-System-Simple v1.26 on Linux against perl-5.8.9 wherein t/08 is not skipped (due to absence of BSD::Resource) and which gets PASS.

http://www.cpantesters.org/cpan/report/b49a4f66-3f52-11ea-8e53-d4801f24ea8f

from ipc-system-simple.

jkeenan avatar jkeenan commented on August 27, 2024

https://metacpan.org/release/IPC-System-Simple/source/lib/IPC/System/Simple.pm#L62

Thanks. I think the problem here is not mainly in IPC::System::Simple but in perl-5.8.9. See posting on perl5-porters list.

To which posting Zefram replied here.

from ipc-system-simple.

eserte avatar eserte commented on August 27, 2024

So would the following diff fix the problem? (it does on my debian/stretch smoker with perl 5.8.9 installed)

diff --git a/lib/IPC/System/Simple.pm b/lib/IPC/System/Simple.pm
index 52ef556..ad71047 100644
--- a/lib/IPC/System/Simple.pm
+++ b/lib/IPC/System/Simple.pm
@@ -531,13 +531,13 @@ sub _process_child_error {
 
        my $coredump = WCOREDUMP($child_error);
 
-        # There's a bug in perl 5.10.0 where if the system
+        # There's a bug in perl 5.8.9 and 5.10.0 where if the system
         # does not provide a native WCOREDUMP, then $? will
         # never contain coredump information.  This code
         # checks to see if we have the bug, and works around
         # it if needed.
 
-        if ($] >= 5.010 and not $NATIVE_WCOREDUMP) {
+        if ($] >= 5.008009 and not $NATIVE_WCOREDUMP) {
             $coredump ||= WCOREDUMP( ${^CHILD_ERROR_NATIVE} );
         }
 

from ipc-system-simple.

jkeenan avatar jkeenan commented on August 27, 2024

Works for me! Now part of CPAN version 1.29, hot off the keyboard.

Thanks again.
Jim Keenan

from ipc-system-simple.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.