summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/gnu/java/security/util
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-02 00:53:58 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-02 00:53:58 +0000
commit01566c7a35c34d1d7760be528a4b1d2f907e5688 (patch)
tree793cfbd275f3f0baac3d76d844f1482f08975967 /libjava/classpath/gnu/java/security/util
parentfec5c7a1d0176390e6d067d913b844c7d6cde322 (diff)
downloadppe42-gcc-01566c7a35c34d1d7760be528a4b1d2f907e5688.tar.gz
ppe42-gcc-01566c7a35c34d1d7760be528a4b1d2f907e5688.zip
PR other/61895
runtime: Ignore small argv[0] file for backtrace. Reportedly in some cases Docker starts processes with argv[0] pointing to an empty file. That would cause libgo to pass that empty file to libbacktrace, which would then fail to do any backtraces. Everything should work fine if libbacktrace falls back to /proc/self/exe. This patch to libgo works around the problem by ignoring argv[0] if it is a small file, or if stat fails. This is not a perfect fix but it's an unusual problem. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213512 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/gnu/java/security/util')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud