about summary refs log tree commit homepage
path: root/lib/Devel/Mwrap/Rproxy.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Devel/Mwrap/Rproxy.pm')
-rw-r--r--lib/Devel/Mwrap/Rproxy.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Devel/Mwrap/Rproxy.pm b/lib/Devel/Mwrap/Rproxy.pm
index c831a36..e2b7097 100644
--- a/lib/Devel/Mwrap/Rproxy.pm
+++ b/lib/Devel/Mwrap/Rproxy.pm
@@ -139,6 +139,13 @@ sub call { # PSGI entry point
                         undef %cache;
                         $cache_exp = $now + $cache_time;
                 }
+
+                # GNU addr2line is slow with high bt:, and FreeBSD addr2line
+                # seems less capable.  And we can't see addr2line in this
+                # anyways since we kill them at the end of this scope.
+                # So just disable MWRAP, here:
+                delete local $ENV{MWRAP};
+                delete local $ENV{LD_PRELOAD};
                 eval {
                         local %addr2line;
                         # extract executable|library(address)