1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
Jeremy Evans b3d62a77d9 [ruby/zlib] Synchronize access to zstream to prevent segfault in multithreaded use
I'm not sure whether this handles all multithreaded use cases,
but this handles the example that crashes almost immediately
and does 10,000,000 total deflates using 100 separate threads.

To prevent the tests from taking forever, the committed test
for this uses only 10,000 deflates across 10 separate threads,
which still causes a segfault in the previous implementation
almost immediately.

Fixes [Bug #17803]

https://github.com/ruby/zlib/commit/4b1023b3f2
2021-07-28 13:40:03 +09:00
..
-test- [ruby/fiddle] Check HAVE_RUBY_MEMORY_VIEW_H rather than API version (https://github.com/ruby/fiddle/pull/86) 2021-07-14 18:55:59 +09:00
bigdecimal Fixed 'maybe_unused' attribute 2021-07-06 01:13:54 +09:00
cgi/escape Fix -Wundef warnings for HAVE_RB_EXT_RACTOR_SAFE 2021-05-04 14:56:55 +02:00
continuation dependency updates 2021-04-13 14:30:21 +09:00
coverage dependency updates 2021-04-13 14:30:21 +09:00
date [ruby/date] Fixed markups for bold [ci skip] 2021-07-11 20:28:23 +09:00
digest [ruby/digest] Also drop to support Ruby 2.4 2021-07-28 11:48:36 +09:00
etc dependency updates 2021-04-13 14:30:21 +09:00
fcntl dependency updates 2021-04-13 14:30:21 +09:00
fiddle [ruby/fiddle] Add Fiddle::Handle#file_name (https://github.com/ruby/fiddle/pull/88) 2021-07-14 18:56:00 +09:00
io [ruby/io-console] Move FFI console under lib 2021-04-22 11:53:13 +09:00
json ext/json/parser/parser.h: Add fallback MAYBE_UNUSED 2021-05-19 10:16:22 +09:00
monitor Distinguish signal and timeout [Bug #16608] 2021-07-25 13:09:03 -07:00
nkf Fix -Wundef warnings in core extensions 2021-05-04 14:56:55 +02:00
objspace ext/objspace/lib/objspace/trace.rb: Remove the original Kernel#p 2021-05-14 15:39:57 +09:00
openssl [ruby/openssl] Strip trailing spaces 2021-07-18 18:04:50 +09:00
pathname [ruby/pathname] gemspec: Explicitly list 0 executables 2021-04-27 20:52:48 +09:00
psych [ruby/psych] Bump version to 4.0.1 2021-06-07 19:15:14 +09:00
pty dependency updates 2021-04-13 14:30:21 +09:00
racc/cparse [ruby/racc] Add missing check for rb_block_call() 2021-07-18 20:38:34 +09:00
rbconfig/sizeof dependency updates 2021-04-13 14:30:21 +09:00
readline Added missing declarations in readline.h bundled with macOS 10.13 2021-07-09 08:52:35 +09:00
ripper dependency updates 2021-04-13 14:30:21 +09:00
rubyvm
socket Avoid calling fstat on things we already know are valid sockets. 2021-07-12 19:16:22 +12:00
stringio [ruby/stringio] Suppress a sign-compare warning 2021-07-08 16:43:22 +09:00
strscan [ruby/strscan] Replace "iff" with "if and only if" (#18) 2021-05-06 16:21:14 +09:00
syslog dependency updates 2021-04-13 14:30:21 +09:00
win32 Fix some typos by spell checker 2021-04-26 10:07:41 +09:00
win32ole Fix _MSC_VER warnings 2021-06-03 00:07:25 +09:00
zlib [ruby/zlib] Synchronize access to zstream to prevent segfault in multithreaded use 2021-07-28 13:40:03 +09:00
.document
extmk.rb
Setup
Setup.atheos
Setup.nt