mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
process.c: try to workaroun SEGV by r65994
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1480173 It tries to print C backtrace but fails. And core file on the server seems to be stopping on the irrelevant place due to its own signal handler for the dump. And I failed to reproduce this SEGV on my machine. I don't know why it's broken, so let me try this change to investigate the reason of SEGV. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c8c265f42a
commit
0e6aba22c6
4 changed files with 35 additions and 16 deletions
|
@ -1634,12 +1634,12 @@ VALUE rb_math_sqrt(VALUE);
|
|||
extern int mjit_enabled;
|
||||
VALUE mjit_pause(int wait_p);
|
||||
VALUE mjit_resume(void);
|
||||
void mjit_finish(void);
|
||||
void mjit_clean_files(void);
|
||||
#else
|
||||
#define mjit_enabled 0
|
||||
static inline VALUE mjit_pause(int wait_p){ return Qnil; } /* unreachable */
|
||||
static inline VALUE mjit_resume(void){ return Qnil; } /* unreachable */
|
||||
static inline void mjit_finish(void){}
|
||||
static void mjit_clean_files(void){}
|
||||
#endif
|
||||
|
||||
/* newline.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue