aboutsummaryrefslogtreecommitdiffstats
path: root/vm_dump.c
diff options
context:
space:
mode:
authortarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-21 12:17:03 +0000
committertarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-21 12:17:03 +0000
commit315bf4b6d726c7a26fe1ae75889056cba90cb472 (patch)
treeb21b126bdbd1bb19d062bf64aae877522460584d /vm_dump.c
parent17ac7835415cab22649422704a17c7b7f1c43419 (diff)
downloadruby-315bf4b6d726c7a26fe1ae75889056cba90cb472.tar.gz
* vm_dump.c (rb_vm_bugreport): commentout addr2line call temporarily
in order to avoid segv. anyone can fix addr2line? [Bug #7597] [ruby-dev:46786] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 292280c40f..50d3ebfdf5 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -644,14 +644,15 @@ rb_vm_bugreport(void)
char **syms = backtrace_symbols(trace, n);
if (syms) {
-#ifdef USE_ELF
- rb_dump_backtrace_with_lines(n, trace, syms);
-#else
+/* commentout temporarily. we have to fix addr2line. see [Bug #7597] */
+/* #ifdef USE_ELF */
+/* rb_dump_backtrace_with_lines(n, trace, syms); */
+/* #else */
int i;
for (i=0; i<n; i++) {
fprintf(stderr, "%s\n", syms[i]);
}
-#endif
+/* #endif */
free(syms);
}
#elif defined(_WIN32)