# Logfile created on 2024-11-12 01:11:05 +0000 by logger.rb/v1.5.3 #<BuildRuby:0x0000779aaab1fdc0 @REPOSITORY="https://github.com/ruby/ruby.git", @REPOSITORY_TYPE=:git, @git_branch=nil, @git_worktree=nil, @svn_revision=nil, @SRC_DIR="/tmp/ruby/src", @BUILD_DIR="/tmp/ruby/build", @INSTALL_DIR="/tmp/ruby/install", @TARGET_NAME="trunk_asan", @TARGET_SRC_DIR="/tmp/ruby/src/trunk_asan", @TARGET_BUILD_DIR="/tmp/ruby/build/trunk_asan", @TARGET_INSTALL_DIR="/tmp/ruby/install/trunk_asan", @configure_opts=["'CC=clang-17' 'cflags=-fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0'"], @build_opts="-j16", @btest_opts="-j16", @test_opts="TESTS='-j16'", @spec_opts="-j", @incremental=true, @steps=["checkout", "autoconf", "configure", "build_up", "build_miniruby", "build_ruby", "build_all", "build_install", "test_basic", "test_all", "test_rubyspec"], @quiet=false, @gist=false, @timeout=600, @no_timeout_error=true, @logfile="/home/ko1/ruby/logs/brlog.trunk_asan.20241112-011105", @ruby_env=[["RUBY_DEBUG", "ci"]], @make="make", @logger=#<Logger:0x0000779aaab40458 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x0000779aac5dfef8 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x0000779aaaa5a160 @shift_period_suffix="%Y%m%d", @shift_size=1048576, @shift_age=0, @filename="/home/ko1/ruby/logs/brlog.trunk_asan.20241112-011105", @dev=#<File:/home/ko1/ruby/logs/brlog.trunk_asan.20241112-011105>, @binmode=false, @mon_data=#<Monitor:0x0000779aac5dfa70>, @mon_data_owner_object_id=880>>> $$$[beg] make update-download -j16 tool/config.guess already exists tool/config.sub already exists Update typeprof to 167263ca3a634b61df0445f1a6b3e259a5d47f94 Update debug to 9c4279598e9e0376657b3813bf76a206f1f97beb echo 167263ca3a634b61df0445f1a6b3e259a5d47f94 | /bin/sh /tmp/ruby/src/trunk_asan/tool/ifchange /tmp/ruby/src/trunk_asan/.bundle/.timestamp/typeprof.revision - echo 9c4279598e9e0376657b3813bf76a206f1f97beb | /bin/sh /tmp/ruby/src/trunk_asan/tool/ifchange /tmp/ruby/src/trunk_asan/.bundle/.timestamp/debug.revision - /tmp/ruby/src/trunk_asan/.bundle/.timestamp/typeprof.revision unchanged /tmp/ruby/src/trunk_asan/.bundle/.timestamp/debug.revision unchanged Building typeprof@167263ca3a634b61df0445f1a6b3e259a5d47f94 to /tmp/ruby/src/trunk_asan/gems/typeprof-0.21.11.gem Successfully built RubyGem Name: typeprof Version: 0.30.0 File: typeprof-0.30.0.gem $$$[end] "make update-download -j16" exit with 0. $$$[beg] make update-src -j16 Already up to date. Latest commit hash = 4c270200db $$$[end] "make update-src -j16" exit with 0. $$$[beg] make after-update -j16 /tmp/ruby/src/trunk_asan/revision.h updated generating x86_64-linux-fake.rb x86_64-linux-fake.rb updated generating enc.mk making srcs under enc make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'srcs'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' Update typeprof to 167263ca3a634b61df0445f1a6b3e259a5d47f94 Update debug to 9c4279598e9e0376657b3813bf76a206f1f97beb echo 167263ca3a634b61df0445f1a6b3e259a5d47f94 | /bin/sh /tmp/ruby/src/trunk_asan/tool/ifchange /tmp/ruby/src/trunk_asan/.bundle/.timestamp/typeprof.revision - echo 9c4279598e9e0376657b3813bf76a206f1f97beb | /bin/sh /tmp/ruby/src/trunk_asan/tool/ifchange /tmp/ruby/src/trunk_asan/.bundle/.timestamp/debug.revision - /tmp/ruby/src/trunk_asan/.bundle/.timestamp/debug.revision unchanged /tmp/ruby/src/trunk_asan/.bundle/.timestamp/typeprof.revision unchanged Building typeprof@167263ca3a634b61df0445f1a6b3e259a5d47f94 to /tmp/ruby/src/trunk_asan/gems/typeprof-0.21.11.gem Successfully built RubyGem Name: typeprof Version: 0.30.0 File: typeprof-0.30.0.gem Extracting bundle gem typeprof-0.21.11... Try with hash version of bundled gems instead of gems/typeprof-0.21.11.gem. We don't use this gem with release version of Ruby. Unpacked gems/typeprof-0.30.0.gem $$$[end] "make after-update -j16" exit with 0. $$$[beg] make miniruby -j16 BASERUBY = /usr/bin/ruby --disable=gems CC = clang-17 LD = ld LDSHARED = clang-17 -shared CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I/tmp/ruby/src/trunk_asan/include -I/tmp/ruby/src/trunk_asan -I/tmp/ruby/src/trunk_asan/prism -I/tmp/ruby/src/trunk_asan/enc/unicode/15.0.0 CPPFLAGS = DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread LANG = C.UTF-8 LC_ALL = LC_CTYPE = MFLAGS = -j16 --jobserver-auth=4,5 RUSTC = rustc YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/tmp/ruby/build/trunk_asan/yjit/target/release/' /tmp/ruby/src/trunk_asan/yjit/src/lib.rs Ubuntu clang version 17.0.6 (9ubuntu1) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin compiling /tmp/ruby/src/trunk_asan/version.c linking miniruby $$$[end] "make miniruby -j16" exit with 0. $$$[beg] make ruby -j16 BASERUBY = /usr/bin/ruby --disable=gems CC = clang-17 LD = ld LDSHARED = clang-17 -shared CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I/tmp/ruby/src/trunk_asan/include -I/tmp/ruby/src/trunk_asan -I/tmp/ruby/src/trunk_asan/prism -I/tmp/ruby/src/trunk_asan/enc/unicode/15.0.0 CPPFLAGS = DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread LANG = C.UTF-8 LC_ALL = LC_CTYPE = MFLAGS = -j16 --jobserver-auth=4,5 RUSTC = rustc YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/tmp/ruby/build/trunk_asan/yjit/target/release/' /tmp/ruby/src/trunk_asan/yjit/src/lib.rs Ubuntu clang version 17.0.6 (9ubuntu1) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin builtin_binary.inc updated 9c2917d73d18ddf99d30e7eaf56f1011b5cc9070af761ca4221c81747ab8bd9b builtin_binary.inc compiling /tmp/ruby/src/trunk_asan/builtin.c linking static-library libruby-static.a linking ruby $$$[end] "make ruby -j16" exit with 0. $$$[beg] make all -j16 BASERUBY = /usr/bin/ruby --disable=gems CC = clang-17 LD = ld LDSHARED = clang-17 -shared CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I/tmp/ruby/src/trunk_asan/include -I/tmp/ruby/src/trunk_asan -I/tmp/ruby/src/trunk_asan/prism -I/tmp/ruby/src/trunk_asan/enc/unicode/15.0.0 CPPFLAGS = DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread LANG = C.UTF-8 LC_ALL = LC_CTYPE = MFLAGS = -j16 --jobserver-auth=4,5 RUSTC = rustc YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/tmp/ruby/build/trunk_asan/yjit/target/release/' /tmp/ruby/src/trunk_asan/yjit/src/lib.rs Ubuntu clang version 17.0.6 (9ubuntu1) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin generating encdb.h generating enc.mk encdb.h unchanged making srcs under enc making enc make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'enc'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'srcs'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' generating transdb.h transdb.h unchanged generating makefiles ext/configure-ext.mk making trans make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'trans'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' making encs make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'encs'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' ext/configure-ext.mk updated make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' generating makefile exts.mk exts.mk unchanged make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/digest' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/coverage' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/json' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/date' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/io/console' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/monitor' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/digest' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/fiddle' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/coverage' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/io/console' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/date' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/monitor' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/objspace' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/pathname' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/json' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/pty' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/rubyvm' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/psych' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/pathname' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/bigdecimal-3.1.8/ext/bigdecimal' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/pty' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/objspace' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/rubyvm' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/fiddle' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/debug-1.9.2/ext/debug' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/ripper' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/nkf-0.2.0/ext/nkf' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/racc-1.8.1/ext/racc/cparse' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/syslog-0.1.2/ext/syslog' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/rbs-3.6.1/ext/rbs_extension' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/ripper' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/openssl' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/socket' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/digest/sha2' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/psych' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/digest/sha2' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/socket' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/openssl' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/bigdecimal-3.1.8/ext/bigdecimal' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/nkf-0.2.0/ext/nkf' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/racc-1.8.1/ext/racc/cparse' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/rbs-3.6.1/ext/rbs_extension' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/debug-1.9.2/ext/debug' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/syslog-0.1.2/ext/syslog' make[2]: Entering directory '/tmp/ruby/build/trunk_asan' make[2]: 'ruby' is up to date. make[2]: Leaving directory '/tmp/ruby/build/trunk_asan' make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'note'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' $$$[end] "make all -j16" exit with 0. $$$[beg] make install -j16 Update typeprof to 167263ca3a634b61df0445f1a6b3e259a5d47f94 Update debug to 9c4279598e9e0376657b3813bf76a206f1f97beb BASERUBY = /usr/bin/ruby --disable=gems CC = clang-17 LD = ld LDSHARED = clang-17 -shared CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I/tmp/ruby/src/trunk_asan/include -I/tmp/ruby/src/trunk_asan -I/tmp/ruby/src/trunk_asan/prism -I/tmp/ruby/src/trunk_asan/enc/unicode/15.0.0 CPPFLAGS = DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread LANG = C.UTF-8 LC_ALL = LC_CTYPE = MFLAGS = -j16 --jobserver-auth=4,5 RUSTC = rustc YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/tmp/ruby/build/trunk_asan/yjit/target/release/' /tmp/ruby/src/trunk_asan/yjit/src/lib.rs echo 167263ca3a634b61df0445f1a6b3e259a5d47f94 | /bin/sh /tmp/ruby/src/trunk_asan/tool/ifchange /tmp/ruby/src/trunk_asan/.bundle/.timestamp/typeprof.revision - echo 9c4279598e9e0376657b3813bf76a206f1f97beb | /bin/sh /tmp/ruby/src/trunk_asan/tool/ifchange /tmp/ruby/src/trunk_asan/.bundle/.timestamp/debug.revision - generating encdb.h generating enc.mk /tmp/ruby/src/trunk_asan/.bundle/.timestamp/typeprof.revision unchanged /tmp/ruby/src/trunk_asan/.bundle/.timestamp/debug.revision unchanged Ubuntu clang version 17.0.6 (9ubuntu1) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin encdb.h unchanged Building typeprof@167263ca3a634b61df0445f1a6b3e259a5d47f94 to /tmp/ruby/src/trunk_asan/gems/typeprof-0.21.11.gem making srcs under enc making enc make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'enc'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'srcs'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' generating transdb.h Successfully built RubyGem Name: typeprof Version: 0.30.0 File: typeprof-0.30.0.gem Extracting bundle gem typeprof-0.21.11... Try with hash version of bundled gems instead of gems/typeprof-0.21.11.gem. We don't use this gem with release version of Ruby. transdb.h unchanged generating makefiles ext/configure-ext.mk making trans Unpacked gems/typeprof-0.30.0.gem make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'trans'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' making encs make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'encs'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' ext/configure-ext.mk unchanged make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' generating makefile exts.mk exts.mk unchanged make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/digest' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/coverage' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/json' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/date' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/io/console' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/digest' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/monitor' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/coverage' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/fiddle' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/io/console' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/pathname' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/date' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/rubyvm' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/objspace' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/monitor' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/json' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/psych' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/pty' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/rubyvm' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/pathname' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/objspace' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/pty' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/bigdecimal-3.1.8/ext/bigdecimal' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/debug-1.9.2/ext/debug' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/nkf-0.2.0/ext/nkf' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/racc-1.8.1/ext/racc/cparse' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/fiddle' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/ripper' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/syslog-0.1.2/ext/syslog' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/rbs-3.6.1/ext/rbs_extension' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/socket' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/digest/sha2' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/openssl' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/psych' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/digest/sha2' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/ripper' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/socket' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/openssl' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/bigdecimal-3.1.8/ext/bigdecimal' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/rbs-3.6.1/ext/rbs_extension' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/debug-1.9.2/ext/debug' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/nkf-0.2.0/ext/nkf' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/syslog-0.1.2/ext/syslog' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/racc-1.8.1/ext/racc/cparse' make[2]: Entering directory '/tmp/ruby/build/trunk_asan' make[2]: 'ruby' is up to date. make[2]: Leaving directory '/tmp/ruby/build/trunk_asan' make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'note'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' ./miniruby -I/tmp/ruby/src/trunk_asan/lib -I. -I.ext/common /tmp/ruby/src/trunk_asan/tool/runruby.rb --extout=.ext -- --disable-gems -r./x86_64-linux-fake /tmp/ruby/src/trunk_asan/tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --ext-build-dir="./ext" --mflags="-j16 --jobserver-auth=4,5" --make-flags=" -j16 --jobserver-auth=4,5" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc" --gnumake --install=all --exclude=doc installing binary commands: /tmp/ruby/install/trunk_asan/bin installing base libraries: /tmp/ruby/install/trunk_asan/lib installing arch files: /tmp/ruby/install/trunk_asan/lib/ruby/3.4.0+0/x86_64-linux installing pkgconfig data: /tmp/ruby/install/trunk_asan/lib/pkgconfig installing extension objects: /tmp/ruby/install/trunk_asan/lib/ruby/3.4.0+0/x86_64-linux installing extension objects: /tmp/ruby/install/trunk_asan/lib/ruby/site_ruby/3.4.0+0/x86_64-linux installing extension objects: /tmp/ruby/install/trunk_asan/lib/ruby/vendor_ruby/3.4.0+0/x86_64-linux installing extension headers: /tmp/ruby/install/trunk_asan/include/ruby-3.4.0+0/x86_64-linux installing extension scripts: /tmp/ruby/install/trunk_asan/lib/ruby/3.4.0+0 installing extension scripts: /tmp/ruby/install/trunk_asan/lib/ruby/site_ruby/3.4.0+0 installing extension scripts: /tmp/ruby/install/trunk_asan/lib/ruby/vendor_ruby/3.4.0+0 installing extension headers: /tmp/ruby/install/trunk_asan/include/ruby-3.4.0+0/ruby installing command scripts: /tmp/ruby/install/trunk_asan/bin installing library scripts: /tmp/ruby/install/trunk_asan/lib/ruby/3.4.0+0 installing common headers: /tmp/ruby/install/trunk_asan/include/ruby-3.4.0+0 installing manpages: /tmp/ruby/install/trunk_asan/share/man/man1 installing default gems from lib: /tmp/ruby/install/trunk_asan/lib/ruby/gems/3.4.0+0 benchmark 0.4.0 bundler 2.6.0.dev cgi 0.4.1 delegate 0.4.0 did_you_mean 1.6.3 english 0.8.0 erb 4.0.4 error_highlight 0.6.0 fileutils 1.7.3 find 0.2.0 forwardable 1.3.3 ipaddr 1.2.7 irb 1.14.1 logger 1.6.1 net-http 0.5.0 net-protocol 0.2.2 open-uri 0.5.0 open3 0.2.1 optparse 0.6.0 ostruct 0.6.1 pp 0.5.0 prettyprint 0.2.0 prism 1.0.0 pstore 0.1.4 rdoc 6.7.0 readline 0.0.4 reline 0.5.11 resolv 0.5.0 ruby2_keywords 0.0.5 securerandom 0.3.2 set 1.1.0 shellwords 0.2.1 singleton 0.3.0 syntax_suggest 2.0.1 tempfile 0.3.0 time 0.4.1 timeout 0.4.2 tmpdir 0.3.0 tsort 0.2.0 un 0.3.0 uri 1.0.1 weakref 0.1.3 yaml 0.4.0 installing default gems from ext: /tmp/ruby/install/trunk_asan/lib/ruby/gems/3.4.0+0 date 3.4.0 digest 3.1.1 etc 1.4.4 fcntl 1.2.0 fiddle 1.1.6.dev io-console 0.7.2 io-nonblock 0.3.0 io-wait 0.3.1 json 2.8.1 openssl 3.2.0 pathname 0.4.0 psych 5.2.0 stringio 3.1.2.dev strscan 3.1.1.dev zlib 3.1.1 installing bundled gems: /tmp/ruby/install/trunk_asan/lib/ruby/gems/3.4.0+0 minitest 5.25.1 power_assert 2.0.4 rake 13.2.1 test-unit 3.6.2 rexml 3.3.9 rss 0.3.1 net-ftp 0.3.8 net-imap 0.5.1 net-pop 0.1.2 net-smtp 0.5.0 matrix 0.4.2 prime 0.1.2 rbs 3.6.1 debug 1.9.2 racc 1.8.1 mutex_m 0.2.0 getoptlong 0.2.1 base64 0.2.0 bigdecimal 3.1.8 observer 0.1.2 abbrev 0.1.2 resolv-replace 0.1.1 rinda 0.2.0 drb 2.2.1 nkf 0.2.0 syslog 0.1.2 csv 3.3.0 repl_type_completor 0.1.7 installing bundled gem cache: /tmp/ruby/install/trunk_asan/lib/ruby/gems/3.4.0+0/cache skipped bundled gems: typeprof-0.30.0.gem not found in bundled_gems $$$[end] "make install -j16" exit with 0. $$$[beg] make yes-test-basic TESTS='-j16' BASERUBY = /usr/bin/ruby --disable=gems CC = clang-17 LD = ld LDSHARED = clang-17 -shared CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I/tmp/ruby/src/trunk_asan/include -I/tmp/ruby/src/trunk_asan -I/tmp/ruby/src/trunk_asan/prism -I/tmp/ruby/src/trunk_asan/enc/unicode/15.0.0 CPPFLAGS = DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread LANG = C.UTF-8 LC_ALL = LC_CTYPE = MFLAGS = RUSTC = rustc YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/tmp/ruby/build/trunk_asan/yjit/target/release/' /tmp/ruby/src/trunk_asan/yjit/src/lib.rs Ubuntu clang version 17.0.6 (9ubuntu1) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin Checking leaked global symbols...none /tmp/ruby/src/trunk_asan/basictest/test.rb:assignment ....................................................................................................................................................................................................................................................................................................................................................................................OK 372 /tmp/ruby/src/trunk_asan/basictest/test.rb:condition ..OK 2 /tmp/ruby/src/trunk_asan/basictest/test.rb:if/unless ...OK 3 /tmp/ruby/src/trunk_asan/basictest/test.rb:case .....OK 5 /tmp/ruby/src/trunk_asan/basictest/test.rb:while/until ........OK 8 /tmp/ruby/src/trunk_asan/basictest/test.rb:exception ..........OK 10 /tmp/ruby/src/trunk_asan/basictest/test.rb:array .......................................OK 39 /tmp/ruby/src/trunk_asan/basictest/test.rb:hash ...........................OK 27 /tmp/ruby/src/trunk_asan/basictest/test.rb:iterator ...........................................................................................................OK 107 /tmp/ruby/src/trunk_asan/basictest/test.rb:float ................................................................................OK 80 /tmp/ruby/src/trunk_asan/basictest/test.rb:bignum ...............................OK 31 /tmp/ruby/src/trunk_asan/basictest/test.rb:string & char ..............................................................OK 62 /tmp/ruby/src/trunk_asan/basictest/test.rb:assignment ..........OK 10 /tmp/ruby/src/trunk_asan/basictest/test.rb:call ......OK 6 /tmp/ruby/src/trunk_asan/basictest/test.rb:proc .........OK 9 /tmp/ruby/src/trunk_asan/basictest/test.rb:signal ..OK 2 /tmp/ruby/src/trunk_asan/basictest/test.rb:eval ...........................OK 27 /tmp/ruby/src/trunk_asan/basictest/test.rb:system ........OK 8 /tmp/ruby/src/trunk_asan/basictest/test.rb:const .....OK 5 /tmp/ruby/src/trunk_asan/basictest/test.rb:clone .....OK 5 /tmp/ruby/src/trunk_asan/basictest/test.rb:marshal ....OK 4 /tmp/ruby/src/trunk_asan/basictest/test.rb:pack ....OK 4 /tmp/ruby/src/trunk_asan/basictest/test.rb:math ..OK 2 /tmp/ruby/src/trunk_asan/basictest/test.rb:struct ......OK 6 /tmp/ruby/src/trunk_asan/basictest/test.rb:variable ............OK 12 /tmp/ruby/src/trunk_asan/basictest/test.rb:trace ...OK 3 /tmp/ruby/src/trunk_asan/basictest/test.rb:defined? ............OK 12 /tmp/ruby/src/trunk_asan/basictest/test.rb:alias ......OK 6 /tmp/ruby/src/trunk_asan/basictest/test.rb:path .......................OK 23 /tmp/ruby/src/trunk_asan/basictest/test.rb:gc ....OK 4 test succeeded $$$[end] "make yes-test-basic TESTS='-j16'" exit with 0. $$$[beg] make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j16' BASERUBY = /usr/bin/ruby --disable=gems CC = clang-17 LD = ld LDSHARED = clang-17 -shared CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I/tmp/ruby/src/trunk_asan/include -I/tmp/ruby/src/trunk_asan -I/tmp/ruby/src/trunk_asan/prism -I/tmp/ruby/src/trunk_asan/enc/unicode/15.0.0 CPPFLAGS = DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread LANG = C.UTF-8 LC_ALL = LC_CTYPE = MFLAGS = RUSTC = rustc YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/tmp/ruby/build/trunk_asan/yjit/target/release/' /tmp/ruby/src/trunk_asan/yjit/src/lib.rs Ubuntu clang version 17.0.6 (9ubuntu1) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin generating enc.mk generating encdb.h encdb.h unchanged making enc make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'enc'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' making srcs under enc make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'srcs'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' generating transdb.h transdb.h unchanged making trans make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'trans'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' making encs make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'encs'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' generating makefiles ext/configure-ext.mk ext/configure-ext.mk updated make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' generating makefile exts.mk exts.mk unchanged make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/coverage' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/coverage' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/date' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/date' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/digest' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/digest' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/digest/sha2' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/digest/sha2' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/fiddle' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/fiddle' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/io/console' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/io/console' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/json' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/json' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/monitor' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/monitor' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/objspace' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/objspace' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/openssl' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/openssl' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/pathname' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/pathname' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/psych' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/psych' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/pty' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/pty' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/ripper' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/ripper' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/rubyvm' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/rubyvm' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/socket' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/socket' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/bigdecimal-3.1.8/ext/bigdecimal' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/bigdecimal-3.1.8/ext/bigdecimal' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/debug-1.9.2/ext/debug' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/debug-1.9.2/ext/debug' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/nkf-0.2.0/ext/nkf' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/nkf-0.2.0/ext/nkf' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/racc-1.8.1/ext/racc/cparse' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/racc-1.8.1/ext/racc/cparse' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/rbs-3.6.1/ext/rbs_extension' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/rbs-3.6.1/ext/rbs_extension' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/syslog-0.1.2/ext/syslog' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/syslog-0.1.2/ext/syslog' make[2]: Entering directory '/tmp/ruby/build/trunk_asan' make[2]: 'ruby' is up to date. make[2]: Leaving directory '/tmp/ruby/build/trunk_asan' make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'note'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' Run options: --seed=42425 "--ruby=./miniruby -I/tmp/ruby/src/trunk_asan/lib -I. -I.ext/common /tmp/ruby/src/trunk_asan/tool/runruby.rb --extout=.ext -- --disable-gems" --excludes-dir=/tmp/ruby/src/trunk_asan/test/.excludes --name=!/memory_leak/ --stderr-on-failure -j16 # Running tests: [ 1/917] 2616563=test_cgi_tag_helper [ 2/917] 2616573=test_kill_ring [ 3/917] 2616567=test_dir_m17n [ 4/917] 2616572=test_gem_resolver_git_specification [ 5/917] 2616565=test_pathname [ 6/917] 2616569=test_remote_fetch_error [ 7/917] 2616568=test_coverage [ 8/917] 2616576=test_func [ 9/917] 2616570=json_common_interface_test [ 10/917] 2616566=test_stream [ 11/917] 2616562=test_eval [ 12/917] 2616571=test_process [ 13/917] 2616575=test_object [ 14/917] 2616561=test_fileutils [ 15/917] 2616564=test_gem_commands_cert_command [ 16/917] 2616574=test_io [ 17/917] 2616562=test_class [ 18/917] 2616563=test_serialize_subclasses [ 19/917] 2616570=test_const [ 20/917] 2616571=parse_comments_test [ 21/917] 2616570=test_gem_dependency [ 22/917] 2616566=test_method_cache [ 23/917] 2616566=test_iterator [ 24/917] 2616563=test_gem_resolver_index_specification [ 25/917] 2616573=test_string [ 26/917] 2616573=test_marshalable [ 27/917] 2616573=test_storage [ 28/917] 2616573=test_path_to_class [ 29/917] 2616573=json_addition_test [ 30/917] 2616571=test_thread_fd_close [ 31/917] 2616571=test_gem_ext_ext_conf_builder [ 32/917] 2616566=test_cmethod [ 33/917] 2616566=test_qsort [ 34/917] 2616566=test_gem_commands_dependency_command [ 35/917] 2616573=test_iter_break [ 36/917] 2616573=test_have_macro ================================================================= ==2616574==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7e0ed9d09041 at pc 0x5b6885e0cded bp 0x7e0edafffcf0 sp 0x7e0edafff4b8 READ of size 2 at 0x7e0ed9d09041 thread T30 #0 0x5b6885e0cdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) #1 0x7e0effecb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 #2 0x5b6885e9195e in asan_thread_start(void*) asan_interceptors.cpp.o #3 0x7e0f02a9ca93 in start_thread nptl/pthread_create.c:447:8 #4 0x7e0f02b29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Address 0x7e0ed9d09041 is located in stack of thread T30 at offset 65 in frame #0 0x7e0effecb4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 This frame has 2 object(s): [32, 48) 'sleep_ts' (line 3076) [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) Thread T30 created by T0 here: #0 0x5b6885e79601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) #1 0x7e0effec40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 #2 0x7e0effeaa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 #3 0x5b6885edc19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 #4 0x7e0effea927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 #5 0x7e0effeb131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 #6 0x5b68862c9f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 #7 0x5b68862c9f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 #8 0x5b68862c9f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 #9 0x5b68862ce9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 #10 0x5b68862ce9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 #11 0x5b688627dca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 #12 0x5b688627dca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 #13 0x5b68860241b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 #14 0x5b68862b5cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #15 0x5b688629bdac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 #16 0x5b688629b864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c #17 0x5b68862633ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #18 0x5b68862633ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 #19 0x5b68862525c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #20 0x5b68862d32b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #21 0x5b68862d32b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #22 0x5b688627f9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #23 0x5b688627f9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #24 0x5b688627f9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #25 0x5b688627f9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #26 0x5b6886430ce5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 #27 0x5b68862b5cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #28 0x5b688625a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #29 0x5b688625a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #30 0x5b68862525c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #31 0x5b68862d32b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #32 0x5b68862d32b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #33 0x5b688627f9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #34 0x5b688627f9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #35 0x5b688627f9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #36 0x5b688627f9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #37 0x5b6886430ce5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 #38 0x5b68862b5cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #39 0x5b688625a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #40 0x5b688625a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #41 0x5b6886252980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 #42 0x5b6886252980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 #43 0x5b6885ed849a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 #44 0x5b6885ed849a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 #45 0x5b6885ed1a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 #46 0x5b6885ed1a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 #47 0x7e0f02a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #48 0x7e0f02a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 #49 0x5b6885df57e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen Shadow bytes around the buggy address: 0x7e0ed9d08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7e0ed9d08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7e0ed9d08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7e0ed9d08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7e0ed9d08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7e0ed9d09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 0x7e0ed9d09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x7e0ed9d09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7e0ed9d09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7e0ed9d09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7e0ed9d09280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==2616574==ABORTING running file: /tmp/ruby/src/trunk_asan/test/fiber/test_io.rb A test worker crashed. It might be an interpreter bug or a bug in test/unit/parallel.rb. Try again without the -j option. make: *** [uncommon.mk:963: yes-test-all] Error 1 $$$[end] "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j16'" exit with 512. $$$[beg] make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16' BASERUBY = /usr/bin/ruby --disable=gems CC = clang-17 LD = ld LDSHARED = clang-17 -shared CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I/tmp/ruby/src/trunk_asan/include -I/tmp/ruby/src/trunk_asan -I/tmp/ruby/src/trunk_asan/prism -I/tmp/ruby/src/trunk_asan/enc/unicode/15.0.0 CPPFLAGS = DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread LANG = C.UTF-8 LC_ALL = LC_CTYPE = MFLAGS = RUSTC = rustc YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/tmp/ruby/build/trunk_asan/yjit/target/release/' /tmp/ruby/src/trunk_asan/yjit/src/lib.rs Ubuntu clang version 17.0.6 (9ubuntu1) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin generating enc.mk generating encdb.h encdb.h unchanged making enc make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'enc'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' making srcs under enc make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'srcs'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' generating transdb.h transdb.h unchanged making trans make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'trans'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' making encs make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'encs'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' generating makefiles ext/configure-ext.mk ext/configure-ext.mk updated make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' generating makefile exts.mk exts.mk unchanged make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/coverage' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/coverage' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/date' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/date' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/digest' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/digest' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/digest/sha2' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/digest/sha2' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/fiddle' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/fiddle' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/io/console' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/io/console' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/json' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/json' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/monitor' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/monitor' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/objspace' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/objspace' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/openssl' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/openssl' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/pathname' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/pathname' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/psych' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/psych' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/pty' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/pty' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/ripper' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/ripper' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/rubyvm' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/rubyvm' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/ext/socket' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/ext/socket' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/bigdecimal-3.1.8/ext/bigdecimal' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/bigdecimal-3.1.8/ext/bigdecimal' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/debug-1.9.2/ext/debug' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/debug-1.9.2/ext/debug' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/nkf-0.2.0/ext/nkf' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/nkf-0.2.0/ext/nkf' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/racc-1.8.1/ext/racc/cparse' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/racc-1.8.1/ext/racc/cparse' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/rbs-3.6.1/ext/rbs_extension' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/rbs-3.6.1/ext/rbs_extension' make[2]: Entering directory '/tmp/ruby/build/trunk_asan/.bundle/gems/syslog-0.1.2/ext/syslog' make[2]: Leaving directory '/tmp/ruby/build/trunk_asan/.bundle/gems/syslog-0.1.2/ext/syslog' make[2]: Entering directory '/tmp/ruby/build/trunk_asan' make[2]: 'ruby' is up to date. make[2]: Leaving directory '/tmp/ruby/build/trunk_asan' make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' make[1]: Entering directory '/tmp/ruby/build/trunk_asan' make[1]: Nothing to be done for 'note'. make[1]: Leaving directory '/tmp/ruby/build/trunk_asan' ruby 3.4.0dev (2024-11-12T01:06:48Z master 4c270200db) +PRISM [x86_64-linux] 0 ............................................................ 60 ............................................................ 120 ............................................................ 180 ............................................................ 240 ............................................................ 300 ............................................................ 360 ............................................................ 420 ............................................................ 480 ............................................................ 540 ............................................................ 600 ............................................................ 660 ............................................................ 720 ............................................................ 780 ............................................................ 840 ............................................................ 900 ............................................................ 960 ............................................................ 1020 ............................................................ 1080 ............................................................ 1140 ............................................................ 1200 ............................................................ 1260 ............................................................ 1320 ............................................................ 1380 ............................................................ 1440 ............................................................ 1500 ............................................................ 1560 ............................................................ 1620 ............................................................ 1680 ............................................................ 1740 ............................................................ 1800 ............................................................ 1860 ............................................................ 1920 ............................................................ 1980 ............................................................ 2040 ............................................................ 2100 ............................................................ 2160 ............................................................ 2220 ............................................................ 2280 ............................................................ 2340 ............................................................ 2400 ............................................................ 2460 ............................................................ ================================================================= ==2617979==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x76433c909041 at pc 0x5975eaee8ded bp 0x76433dbffcf0 sp 0x76433dbff4b8 READ of size 2 at 0x76433c909041 thread T39 ================================================================= ==2617981==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x705b5b309041 at pc 0x597848a90ded bp 0x705b6b3ffcf0 sp 0x705b6b3ff4b8 READ of size 2 at 0x705b5b309041 thread T296 ================================================================= ==2617968==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x71d476109041 at pc 0x5ab39f2a6ded bp 0x71d477fffcf0 sp 0x71d477fff4b8 READ of size 2 at 0x71d476109041 thread T56 ================================================================= ==2617973==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x756816709041 at pc 0x5da21c2c7ded bp 0x7568179ffcf0 sp 0x7568179ff4b8 READ of size 2 at 0x756816709041 thread T54 #0 0x5975eaee8dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) #1 0x7643480cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 #2 0x5975eaf6d95e in asan_thread_start(void*) asan_interceptors.cpp.o #3 0x76436549ca93 in start_thread nptl/pthread_create.c:447:8 #4 0x764365529c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Address 0x76433c909041 is located in stack of thread T39 at offset 65 in frame #0 0x7643480cb4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 This frame has 2 object(s): [32, 48) 'sleep_ts' (line 3076) [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) Thread T39 created by T0 here: #0 0x597848a90dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) #1 0x705b7097d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 #2 0x597848b1595e in asan_thread_start(void*) asan_interceptors.cpp.o #3 0x705b91c9ca93 in start_thread nptl/pthread_create.c:447:8 #4 0x705b91d29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Address 0x705b5b309041 is located in stack of thread T296 at offset 65 in frame #0 0x705b7097d4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 This frame has 2 object(s): [32, 48) 'sleep_ts' (line 3076) [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) Thread T296 created by T0 here: #0 0x5975eaf55601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) #1 0x7643480c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 #2 0x7643480aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 #3 0x5975eafb819f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 #4 0x7643480a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 #5 0x7643480b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 #6 0x5975eb3a5f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 #7 0x5975eb3a5f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 #8 0x5975eb3a5f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 #9 0x5975eb3aa9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 #10 0x5975eb3aa9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 #11 0x5975eb359ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 #12 0x5975eb359ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 #13 0x5975eb1001b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 #14 0x5975eb04fddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 #15 0x5975eb391cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #16 0x5975eb377dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 #17 0x5975eb377864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c #18 0x5975eb33f3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #19 0x5975eb33f3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 #20 0x5975eb32e5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #21 0x5975eb3af2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #22 0x5975eb3af2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #23 0x5975eb36234a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #24 0x5975eb36234a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 #25 0x5975eb391cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #26 0x5975eb33694a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #27 0x5975eb33694a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #28 0x5975eb32e5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #29 0x5975eb3af2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #30 0x5975eb3af2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #31 0x5975eb35b9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #32 0x5975eb35b9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #33 0x5975eb35b9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #34 0x5975eb35b9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #35 0x5975eb51a7cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 #36 0x5975eb391cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #37 0x5975eb33694a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #38 0x5975eb33694a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #39 0x5975eb32e5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #40 0x5975eb3af2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #41 0x5975eb3af2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #42 0x5975eb35b9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #43 0x5975eb35b9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #44 0x5975eb35b9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #45 0x5975eb35b9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #46 0x5975eb4fff69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 #47 0x5975eb391cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #48 0x5975eb33694a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #49 0x5975eb33694a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #50 0x5975eb32e5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #51 0x5975eb0b117b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 #52 0x5975eb0a92af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 #53 0x5975eb0ae889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 #54 0x5975eb391cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #55 0x5975eb33f3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #56 0x5975eb33f3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 #57 0x5975eb32e5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #58 0x5975eb3af2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #59 0x5975eb3af2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #60 0x5975eb36234a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #61 0x5975eb36234a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 #62 0x5975eb391cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #63 0x5975eb33694a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #64 0x5975eb33694a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #65 0x5975eb32e980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 #66 0x5975eb32e980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 #67 0x5975eafb449a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 #68 0x5975eafb449a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 #69 0x5975eafada06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 #70 0x5975eafada06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 #71 0x76436542a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #72 0x76436542a28a in __libc_start_main csu/../csu/libc-start.c:360:3 #73 0x5975eaed17e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen Shadow bytes around the buggy address: 0x76433c908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x76433c908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x76433c908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x76433c908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x76433c908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x76433c909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 0x76433c909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x76433c909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x76433c909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x76433c909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x76433c909280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==2617979==ABORTING #0 0x5ab39f2a6dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) #1 0x71d4a22cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 #2 0x5ab39f32b95e in asan_thread_start(void*) asan_interceptors.cpp.o #3 0x71d4a4e9ca93 in start_thread nptl/pthread_create.c:447:8 #4 0x71d4a4f29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Address 0x71d476109041 is located in stack of thread T56 at offset 65 in frame #0 0x71d4a22cb4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 This frame has 2 object(s): [32, 48) 'sleep_ts' (line 3076) [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) Thread T56 created by T0 here: #0 0x597848afd601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) #1 0x705b709760bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 #2 0x705b7095c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 #3 0x597848b6019f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 #4 0x705b7095b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 #5 0x705b7096331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 #6 0x597848f4df3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 #7 0x597848f4df3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 #8 0x597848f4df3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 #9 0x597848f529a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 #10 0x597848f529a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 #11 0x597848f01ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 #12 0x597848f01ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 #13 0x597848ca81b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 #14 0x597848bf7ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 #15 0x597848f39cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #16 0x597848f1fdac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 #17 0x597848f1f864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c #18 0x597848ee73ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #19 0x597848ee73ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 #20 0x597848ed65c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #21 0x597848f572b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #22 0x597848f572b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #23 0x597848f0a34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #24 0x597848f0a34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 #25 0x597848f39cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #26 0x597848ede94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #27 0x597848ede94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #28 0x597848ed65c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #29 0x597848f572b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #30 0x597848f572b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #31 0x597848f039b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #32 0x597848f039b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #33 0x597848f039b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #34 0x597848f039b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #35 0x5978490c27cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 #36 0x597848f39cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #37 0x597848ede94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #38 0x597848ede94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #39 0x597848ed65c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #40 0x597848f572b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #41 0x597848f572b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #42 0x597848f039b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #43 0x597848f039b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #44 0x597848f039b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #45 0x597848f039b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #46 0x5978490a7f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 #47 0x597848f39cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #48 0x597848ede94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #49 0x597848ede94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #50 0x597848ed65c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #51 0x597848c5917b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 #52 0x597848c512af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 #53 0x597848c56889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 #54 0x597848f39cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #55 0x597848ee73ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #56 0x597848ee73ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 #57 0x597848ed65c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #58 0x597848f572b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #59 0x597848f572b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #60 0x597848f0a34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #61 0x597848f0a34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 #62 0x597848f39cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #63 0x597848ede94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #64 0x597848ede94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #65 0x597848ed6980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 #66 0x597848ed6980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 #67 0x597848b5c49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 #68 0x597848b5c49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 #69 0x597848b55a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 #70 0x597848b55a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 #71 0x705b91c2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #72 0x705b91c2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 #73 0x597848a797e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen Shadow bytes around the buggy address: 0x705b5b308d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x705b5b308e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x705b5b308e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x705b5b308f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x705b5b308f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x705b5b309000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 0x705b5b309080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x705b5b309100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x705b5b309180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x705b5b309200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x705b5b309280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==2617981==ABORTING #0 0x5da21c2c7dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) #1 0x75682b47d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 #2 0x5da21c34c95e in asan_thread_start(void*) asan_interceptors.cpp.o #3 0x75684769ca93 in start_thread nptl/pthread_create.c:447:8 #4 0x756847729c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Address 0x756816709041 is located in stack of thread T54 at offset 65 in frame #0 0x75682b47d4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 This frame has 2 object(s): [32, 48) 'sleep_ts' (line 3076) [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) Thread T54 created by T0 here: ================================================================= ==2617970==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x798eafd09041 at pc 0x5be19960dded bp 0x798eb19ffcf0 sp 0x798eb19ff4b8 READ of size 2 at 0x798eafd09041 thread T16 #0 0x5ab39f313601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) #1 0x71d4a22c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 #2 0x71d4a22aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 #3 0x5ab39f37619f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 #4 0x71d4a22a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 #5 0x71d4a22b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 #6 0x5ab39f763f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 #7 0x5ab39f763f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 #8 0x5ab39f763f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 #9 0x5ab39f7689a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 #10 0x5ab39f7689a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 #11 0x5ab39f717ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 #12 0x5ab39f717ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 #13 0x5ab39f4be1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 #14 0x5ab39f40dddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 #15 0x5ab39f74fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #16 0x5ab39f735dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 #17 0x5ab39f735864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c #18 0x5ab39f6fd3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #19 0x5ab39f6fd3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 #20 0x5ab39f6ec5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #21 0x5ab39f76d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #22 0x5ab39f76d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #23 0x5ab39f72034a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #24 0x5ab39f72034a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 #25 0x5ab39f74fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #26 0x5ab39f6f494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #27 0x5ab39f6f494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #28 0x5ab39f6ec5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #29 0x5ab39f76d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #30 0x5ab39f76d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #31 0x5ab39f7199b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #32 0x5ab39f7199b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #33 0x5ab39f7199b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #34 0x5ab39f7199b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #35 0x5ab39f8d87cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 #36 0x5ab39f74fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #37 0x5ab39f6f494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #38 0x5ab39f6f494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #39 0x5ab39f6ec5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #40 0x5ab39f76d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #41 0x5ab39f76d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #42 0x5ab39f7199b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #43 0x5ab39f7199b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #44 0x5ab39f7199b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #45 0x5ab39f7199b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #46 0x5ab39f8bdf69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 #47 0x5ab39f74fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #48 0x5ab39f6f494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #49 0x5ab39f6f494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #50 0x5ab39f6ec5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #51 0x5ab39f46f17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 #52 0x5ab39f4672af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 #53 0x5ab39f46c889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 #54 0x5ab39f74fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #55 0x5ab39f6fd3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #56 0x5ab39f6fd3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 #57 0x5ab39f6ec5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #58 0x5ab39f76d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #59 0x5ab39f76d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #60 0x5ab39f72034a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #61 0x5ab39f72034a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 #62 0x5ab39f74fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #63 0x5ab39f6f494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #64 0x5ab39f6f494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #65 0x5ab39f6ec980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 #66 0x5ab39f6ec980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 #67 0x5ab39f37249a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 #68 0x5ab39f37249a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 #69 0x5ab39f36ba06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 #70 0x5ab39f36ba06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 #71 0x71d4a4e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #72 0x71d4a4e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 #73 0x5ab39f28f7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen Shadow bytes around the buggy address: 0x71d476108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x71d476108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x71d476108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x71d476108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x71d476108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x71d476109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 0x71d476109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x71d476109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x71d476109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x71d476109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x71d476109280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==2617968==ABORTING A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/library/net-http/http/active_spec.rb #0 0x5da21c334601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) #1 0x75682b4760bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 #2 0x75682b45c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 #3 0x5da21c39719f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 #4 0x75682b45b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 #5 0x75682b46331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 #6 0x5da21c784f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 #7 0x5da21c784f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 #8 0x5da21c784f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 #9 0x5da21c7899a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 #10 0x5da21c7899a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 #11 0x5da21c738ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 #12 0x5da21c738ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 #13 0x5da21c4df1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 #14 0x5da21c42eddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 #15 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #16 0x5da21c756dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 #17 0x5da21c756864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c #18 0x5da21c71e3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #19 0x5da21c71e3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 #20 0x5da21c70d5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #21 0x5da21c78e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #22 0x5da21c78e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #23 0x5da21c74134a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #24 0x5da21c74134a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 #25 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #26 0x5da21c71594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #27 0x5da21c71594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #28 0x5da21c70d5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #29 0x5da21c78e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #30 0x5da21c78e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #31 0x5da21c73a9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #32 0x5da21c73a9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #33 0x5da21c73a9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #34 0x5da21c73a9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #35 0x5da21c8f97cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 #36 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #37 0x5da21c71594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #38 0x5da21c71594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #39 0x5da21c70d5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #40 0x5da21c78e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #41 0x5da21c78e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #42 0x5da21c73a9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #43 0x5da21c73a9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #44 0x5da21c73a9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #45 0x5da21c73a9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #46 0x5da21c8def69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 #47 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #48 0x5da21c71594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #49 0x5da21c71594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #50 0x5da21c70d5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #51 0x5da21c78e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #52 0x5da21c78e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #53 0x5da21c73a9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #54 0x5da21c73a9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #55 0x5da21c73a9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #56 0x5da21c73a9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #57 0x5da21c8def69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 #58 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #59 0x5da21c71594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #60 0x5da21c71594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #61 0x5da21c70d5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #62 0x5da21c49017b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 #63 0x5da21c4882af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 #64 0x5da21c48d889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 #65 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #66 0x5da21c71e3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #67 0x5da21c71e3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 #68 0x5da21c70d5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #69 0x5da21c78e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #70 0x5da21c78e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #71 0x5da21c74134a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #72 0x5da21c74134a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 #73 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #74 0x5da21c71594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #75 0x5da21c71594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #76 0x5da21c70d980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 #77 0x5da21c70d980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 #78 0x5da21c39349a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 #79 0x5da21c39349a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 #80 0x5da21c38ca06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 #81 0x5da21c38ca06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 #82 0x75684762a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #83 0x75684762a28a in __libc_start_main csu/../csu/libc-start.c:360:3 #84 0x5da21c2b07e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen Shadow bytes around the buggy address: 0x756816708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x756816708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x756816708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x756816708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x756816708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x756816709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 0x756816709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x756816709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x756816709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x756816709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x756816709280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==2617973==ABORTING #0 0x5be19960ddec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) #1 0x798eb52bb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 #2 0x5be19969295e in asan_thread_start(void*) asan_interceptors.cpp.o #3 0x798ed6e9ca93 in start_thread nptl/pthread_create.c:447:8 #4 0x798ed6f29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Address 0x798eafd09041 is located in stack of thread T16 at offset 65 in frame #0 0x798eb52bb4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 This frame has 2 object(s): [32, 48) 'sleep_ts' (line 3076) [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) Thread T16 created by T0 here: #0 0x5be19967a601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) #1 0x798eb52b40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 #2 0x798eb529a15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 #3 0x5be1996dd19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 #4 0x798eb529927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 #5 0x798eb52a131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 #6 0x5be199acaf3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 #7 0x5be199acaf3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 #8 0x5be199acaf3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 #9 0x5be199acf9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 #10 0x5be199acf9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 #11 0x5be199a7eca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 #12 0x5be199a7eca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 #13 0x5be1998251b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 #14 0x5be199774ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 #15 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #16 0x5be199a9cdac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 #17 0x5be199a9c864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c #18 0x5be199a643ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #19 0x5be199a643ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 #20 0x5be199a535c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #21 0x5be199ad42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #22 0x5be199ad42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #23 0x5be199a8734a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #24 0x5be199a8734a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 #25 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #26 0x5be199a5b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #27 0x5be199a5b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #28 0x5be199a535c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #29 0x5be199ad42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #30 0x5be199ad42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #31 0x5be199a809b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #32 0x5be199a809b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #33 0x5be199a809b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #34 0x5be199a809b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #35 0x5be199c3f7cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 #36 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #37 0x5be199a5b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #38 0x5be199a5b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #39 0x5be199a535c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #40 0x5be199ad42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #41 0x5be199ad42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #42 0x5be199a809b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #43 0x5be199a809b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #44 0x5be199a809b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #45 0x5be199a809b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #46 0x5be199c24f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 #47 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #48 0x5be199a5b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #49 0x5be199a5b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #50 0x5be199a535c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #51 0x5be199ad42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #52 0x5be199ad42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #53 0x5be199a809b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #54 0x5be199a809b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 #55 0x5be199a809b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 #56 0x5be199a809b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c #57 0x5be199c24f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 #58 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #59 0x5be199a5b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #60 0x5be199a5b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #61 0x5be199a535c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #62 0x5be1997d617b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 #63 0x5be1997ce2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 #64 0x5be1997d3889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 #65 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #66 0x5be199a643ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #67 0x5be199a643ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 #68 0x5be199a535c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 #69 0x5be199ad42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 #70 0x5be199ad42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 #71 0x5be199a8734a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 #72 0x5be199a8734a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 #73 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 #74 0x5be199a5b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 #75 0x5be199a5b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 #76 0x5be199a53980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 #77 0x5be199a53980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 #78 0x5be1996d949a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 #79 0x5be1996d949a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 #80 0x5be1996d2a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 #81 0x5be1996d2a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 #82 0x798ed6e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #83 0x798ed6e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 #84 0x5be1995f67e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen Shadow bytes around the buggy address: 0x798eafd08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x798eafd08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x798eafd08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x798eafd08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x798eafd08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x798eafd09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 0x798eafd09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 0x798eafd09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x798eafd09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x798eafd09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x798eafd09280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==2617970==ABORTING 2520 .... Finished in 33.454490 seconds 1623 files, 18227 examples, 71865 expectations, 0 failures, 0 errors, 0 tagged make: *** [uncommon.mk:1013: yes-test-spec] Error 1 $$$[end] "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512.