diff options
author | Adam Mitz <mitza@objectcomputing.com> | 2022-05-12 15:34:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 15:34:05 -0500 |
commit | 39224f9491debac940cfe0b0f7bad564172c919b (patch) | |
tree | df86792909296390ec4dc72dfe288e4393225243 | |
parent | 85b49f667e8873dbaef972bacda096dd69f8b1d9 (diff) | |
parent | 77c66ad410a81710ae5c8f91b316f2566dfb0035 (diff) | |
download | ATCD-39224f9491debac940cfe0b0f7bad564172c919b.tar.gz |
Merge pull request #1833 from sonndinh/stacktrace
Core pattern may not contain a file path
-rw-r--r-- | ACE/bin/PerlACE/Process_Unix.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ACE/bin/PerlACE/Process_Unix.pm b/ACE/bin/PerlACE/Process_Unix.pm index d2e613bb590..3da986536fd 100644 --- a/ACE/bin/PerlACE/Process_Unix.pm +++ b/ACE/bin/PerlACE/Process_Unix.pm @@ -594,6 +594,11 @@ sub print_stacktrace_linux chomp ($line); close ($pattern_fh); + if ($line =~ /\|/) { + print STDERR "WARNING: print_stacktrace_linux: Core files are handled by a separate service. Core pattern: $line\n"; + return; + } + # Find the core file from the pattern my $path = "."; my $pattern; |