Comments (8)
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.
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.
https://metacpan.org/release/IPC-System-Simple/source/lib/IPC/System/Simple.pm#L62
from ipc-system-simple.
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.
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.
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.
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.
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)
- IPC::System::Simple adds commas to command line breaking everything HOT 6
- capturex with spaces and an empty argument works fine on Linux - and fails on Win64 (Windows 7 Strawberry Perl) HOT 2
- System simple does not recognise metacharacters HOT 1
- On Windows, cpanm IPC::System::Simple fails due to missing dependency HOT 9
- Make IPC::System::Simple respect Win32::SetChildShowWindow
- Can't clone the repo, missingSpaceBeforeDate HOT 2
- t/07-taint.t may fail (on env var TEST_ACTIVE) HOT 13
- Multi-argument run() fails on Windows when first parameter is a full path that contains spaces HOT 3
- runx Sometimes Fails to Pass Paths with Spaces In Them on Windows HOT 10
- Change log is missing changes for 1.26 HOT 1
- IPC-System-Simple-1.26-TRIAL: t/04_capture.t seems to hang on Strawberry Perl HOT 24
- Should arguments other than 'command' be checked for definedness?
- Test failures with Strawberry Perl 5.30.1 HOT 5
- IPC::System::Simple can return "No child processes" (ECHILD) when $SIG{CHLD} is set. HOT 1
- Windows 10 issue on 5.30.2 HOT 1
- Core dump file remains on disk after running t/08_core.t on FreeBSD HOT 1
- cpanratings.perl.org no longer exists HOT 1
- capture throws away captured output in error case
- t/08_core.t fails on ASAN builds
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipc-system-simple.