diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-07-31 23:00:15 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-08-01 16:00:59 +0900 |
commit | 5d33f787169bcc3594d2264726695d58c4a06899 (patch) | |
tree | f3a4fb4c67a22571d8dd632d4f77c452ecfa8863 /ext/-test-/bug-14834/depend | |
parent | d2f8e03f346424553f3081896c91dd7d6fdf5db0 (diff) | |
download | ruby-5d33f787169bcc3594d2264726695d58c4a06899.tar.gz |
fix tracepoint + backtrace SEGV
PC modification in gc_event_hook_body was careless. There are (so
to say) abnormal iseqs stored in the cfp. We have to check sanity
before we touch the PC.
This has not been fixed because there was no way to (ab)use the
setup from pure-Ruby. However by using our official C APIs it is
possible to touch such frame(s), resulting in SEGV.
Fixes [Bug #14834].
Diffstat (limited to 'ext/-test-/bug-14834/depend')
-rw-r--r-- | ext/-test-/bug-14834/depend | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/-test-/bug-14834/depend b/ext/-test-/bug-14834/depend new file mode 100644 index 0000000000..5206f995be --- /dev/null +++ b/ext/-test-/bug-14834/depend @@ -0,0 +1,14 @@ +# AUTOGENERATED DEPENDENCIES START +bug-14384.o: $(RUBY_EXTCONF_H) +bug-14384.o: $(arch_hdrdir)/ruby/config.h +bug-14384.o: $(hdrdir)/ruby/assert.h +bug-14384.o: $(hdrdir)/ruby/backward.h +bug-14384.o: $(hdrdir)/ruby/debug.h +bug-14384.o: $(hdrdir)/ruby/defines.h +bug-14384.o: $(hdrdir)/ruby/intern.h +bug-14384.o: $(hdrdir)/ruby/missing.h +bug-14384.o: $(hdrdir)/ruby/ruby.h +bug-14384.o: $(hdrdir)/ruby/st.h +bug-14384.o: $(hdrdir)/ruby/subst.h +bug-14384.o: bug-14384.c +# AUTOGENERATED DEPENDENCIES END |