ruby/test
KJ Tsanaktsidis 7bd7aee02e Fix interpreter crash caused by RUBY_INTERNAL_EVENT_NEWOBJ + Ractors
When a Ractor is created whilst a tracepoint for
RUBY_INTERNAL_EVENT_NEWOBJ is active, the interpreter crashes. This is
because during the early setup of the Ractor, the stdio objects are
created, which allocates Ruby objects, which fires the tracepoint.
However, the tracepoint machinery tries to dereference the control frame
(ec->cfp->pc), which isn't set up yet and so crashes with a null pointer
dereference.

Fix this by not firing GC tracepoints if cfp isn't yet set up.
2023-03-09 09:46:14 +01:00
..
-ext- s/mjit/rjit/ 2023-03-06 23:44:01 -08:00
base64
benchmark
bigdecimal [ruby/bigdecimal] Handle correctly #remainder with infinity. Fixes 2023-02-17 17:46:27 +00:00
cgi [ruby/cgi] Loosen the domain regex to accept '.' 2022-11-28 04:34:11 +00:00
coverage More coverage tests & specs. (#7171) 2023-01-22 13:49:13 +13:00
csv s/MJIT/RJIT/ 2023-03-06 23:44:01 -08:00
date [ruby/date] Implement Date#deconstruct_keys and DateTime#deconstruct_keys 2022-12-13 19:52:06 +00:00
did_you_mean [ruby/did_you_mean] Support the new message format of NameError in 2023-02-19 07:10:47 +00:00
digest [ruby/digest] Ignore test_ractor.rb on non-Ractor ruby 2022-07-21 11:45:48 +09:00
drb s/MJIT/RJIT/ 2023-03-06 23:44:01 -08:00
dtrace
erb [ruby/erb] Fix line numbers after multi-line <%# 2022-11-29 04:56:03 +00:00
error_highlight [ruby/error_highlight] Support the new message format of NameError in Ruby 3.3 2023-02-19 10:29:56 +00:00
etc
excludes A file was missing in test/excludes for TestArraySubclass 2023-02-28 11:04:32 +09:00
fiber Improve robustness of io_wait implementation. (#7456) 2023-03-07 19:38:58 +13:00
fiddle Merge fiddle-1.1.1 2022-12-09 16:36:22 +09:00
fileutils [ruby/fileutils] Add mkdir_p to FileUtils.install 2023-02-10 03:37:39 +00:00
fixtures/fake_sorted_set_gem
io Remove require 'io/wait' where it's no longer necessary. (#6932) 2022-12-15 11:37:01 +13:00
irb [ruby/irb] Improve method completion for string and regexp that 2023-03-06 05:52:46 +00:00
json [flori/json] test parsing of unicode, mixing literal characters with escaped 2022-07-29 19:10:10 +09:00
lib s/mjit/rjit/ 2023-03-06 23:44:01 -08:00
logger [ruby/logger] Add Logger#with_level{...} for block-scoped log level. 2023-02-10 01:08:49 +00:00
mkmf mkconfig: Map includedir only for system ruby 2023-01-31 06:33:16 +09:00
monitor
net s/mjit/rjit/ 2023-03-06 23:44:01 -08:00
nkf
objspace Fix interpreter crash caused by RUBY_INTERNAL_EVENT_NEWOBJ + Ractors 2023-03-09 09:46:14 +01:00
open-uri Add :ssl_min_version and :ssl_max_version options 2022-10-12 10:36:51 +09:00
openssl Skip OpenSSL::TestHMAC#test_dup when running with RHEL9 2023-01-30 16:55:14 +09:00
optparse [ruby/optparse] Add symbolize_names to getopts 2022-12-26 15:09:21 +09:00
ostruct
pathname
psych [ruby/psych] Update for stricter 1.2 syntax 2023-01-31 13:14:05 +09:00
racc [ruby/racc] Get rid of anonymous eval calls 2023-01-12 07:52:29 +09:00
rdoc [ruby/rdoc] Add test coverage for -C flag 2023-02-06 23:09:06 +00:00
readline [ruby/readline-ext] test_readline.rb only needs EnvUtil 2023-02-22 01:18:26 +00:00
reline s/MJIT/RJIT/ 2023-03-06 23:44:01 -08:00
resolv
rinda s/MJIT/RJIT/ 2023-03-06 23:44:01 -08:00
ripper [Bug #19399] Parsing invalid heredoc inside block parameter 2023-02-02 12:20:10 +09:00
ruby Make sure TestDefaultGems#test_validate_gemspec runs even when Dir.pwd != srcdir 2023-03-09 13:18:07 +09:00
rubygems [rubygems/rubygems] Ensure that TempIO is closed 2023-03-09 06:19:56 +00:00
socket s/MJIT/RJIT/ 2023-03-06 23:44:01 -08:00
stringio [ruby/stringio] [Bug #19389] Fix chomping with longer separator 2023-01-28 13:00:08 +00:00
strscan [ruby/strscan] Mask out this test on JRuby/Windows 2023-02-21 19:31:39 +09:00
syslog
uri [ruby/uri] Fix splitting relative URI 2022-10-13 16:24:53 +09:00
win32ole
yaml Relax the timeout of a YAML test 2022-12-01 15:37:41 -08:00
zlib [ruby/zlib] Fix the test broken in older versions 2023-01-09 09:58:43 +00:00
runner.rb Use the built bundled gems in test-all as well as test-bundled-gems 2022-12-09 02:20:16 +09:00
test_abbrev.rb
test_delegate.rb [ruby/delegate] Revert "Fix DelegateClass block "method redefined" warning" 2022-12-01 08:08:02 +00:00
test_extlibs.rb dbm and gdbm have been extracted gems. 2022-09-28 17:06:12 +09:00
test_find.rb
test_forwardable.rb
test_getoptlong.rb
test_ipaddr.rb
test_mutex_m.rb [ruby/mutex_m] Avoid anonymous eval 2023-01-12 05:41:59 +00:00
test_observer.rb
test_open3.rb s/mjit/rjit/ 2023-03-06 23:44:01 -08:00
test_pp.rb [ruby/pp] [Feature #19045] Add support Data#pretty_print 2022-10-14 21:31:24 +09:00
test_prettyprint.rb
test_pstore.rb [ruby/pstore] Emphasize keys instead of roots, values instead of objects (https://github.com/ruby/pstore/pull/7) 2022-07-07 07:05:01 +09:00
test_pty.rb
test_rbconfig.rb mkconfig: Map includedir only for system ruby 2023-01-31 06:33:16 +09:00
test_securerandom.rb
test_set.rb [ruby/set] Set#merge does not take keyword arguments as a Hash 2023-02-24 11:48:08 +00:00
test_shellwords.rb
test_singleton.rb
test_sorted_set.rb
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb [ruby/timeout] Simplify test 2023-02-15 19:25:05 +00:00
test_tmpdir.rb [ruby/tmpdir] Warnings should contain the environment variable name 2022-10-27 03:12:00 +00:00
test_trick.rb Add all-ruby-quine as a sample code 2023-02-27 11:20:42 +09:00
test_tsort.rb
test_unicode_normalize.rb Prefer to use File.readlines instead of IO.readlines 2023-02-27 18:49:18 +09:00
test_weakref.rb