mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
17ac783541
commit
315bf4b6d7
2 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Fri Dec 21 21:12:54 2012 Masaya Tarui <tarui@ruby-lang.org>
|
||||||
|
|
||||||
|
* vm_dump.c (rb_vm_bugreport): commentout addr2line call temporarily
|
||||||
|
in order to avoid segv. anyone can fix addr2line?
|
||||||
|
[Bug #7597] [ruby-dev:46786]
|
||||||
|
|
||||||
Fri Dec 21 20:38:28 2012 Koichi Sasada <ko1@atdot.net>
|
Fri Dec 21 20:38:28 2012 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* iseq.c (Init_ISeq): remove definition of the following methods:
|
* iseq.c (Init_ISeq): remove definition of the following methods:
|
||||||
|
|
|
@ -644,14 +644,15 @@ rb_vm_bugreport(void)
|
||||||
char **syms = backtrace_symbols(trace, n);
|
char **syms = backtrace_symbols(trace, n);
|
||||||
|
|
||||||
if (syms) {
|
if (syms) {
|
||||||
#ifdef USE_ELF
|
/* commentout temporarily. we have to fix addr2line. see [Bug #7597] */
|
||||||
rb_dump_backtrace_with_lines(n, trace, syms);
|
/* #ifdef USE_ELF */
|
||||||
#else
|
/* rb_dump_backtrace_with_lines(n, trace, syms); */
|
||||||
|
/* #else */
|
||||||
int i;
|
int i;
|
||||||
for (i=0; i<n; i++) {
|
for (i=0; i<n; i++) {
|
||||||
fprintf(stderr, "%s\n", syms[i]);
|
fprintf(stderr, "%s\n", syms[i]);
|
||||||
}
|
}
|
||||||
#endif
|
/* #endif */
|
||||||
free(syms);
|
free(syms);
|
||||||
}
|
}
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue