Project

General

Profile

Activity

From 08/11/2021 to 08/17/2021

08/17/2021

10:55 PM Bug #16906: Calling Thread#thread_variable? in IRB sometimes produce wrong result
This needs to be backported to 2.7.x. It wasn't fixed in 2.7.4. greneholt (Connor McKay)
05:39 PM Bug #18076: ext/digest/md5/md5.c: `-Wnull-pointer-subtraction` warning by Clang 13
Proposed patch:
```diff
--- a/ext/digest/md5/md5.c
+++ b/ext/digest/md5/md5.c
@@ -225,7 +225,7 @@
uint32_...
xtkoba (Tee KOBAYASHI)
05:25 PM Revision 58bd9434 (git): Replace f_boolcast with RBOOL macro
* Move f_boolcast definination
* Remove f_boolcast macro defination
* to
S_H_ (Shun Hiraoka)
04:26 PM Misc #18082 (Open): FileUtils.remove_entry_secure has inconsistent document
`FileUtils.remove_entry_secure` and `FileUtils.rm_r` have inconsistency about the vulnerability condition the in the ... pocke (Masataka Kuwabara)
03:00 PM Revision 6a9bfa4d (git): * 2021-08-18 [ci skip]
git[bot]
02:16 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
FWIW, another bug is found in `addr2line.c` (#18081), which I believe is irrevant to the issue here, though. xtkoba (Tee KOBAYASHI)
10:06 AM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
A revised patch (from #note-17) is attached so that `abbrev_number >= 256` is handled properly, although it might be ... xtkoba (Tee KOBAYASHI)
07:52 AM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
It turns out that `di_read_debug_abbrev_cu` in `addr2line.c` does not work correctly when `abbrev_number` is not alig... xtkoba (Tee KOBAYASHI)
02:09 PM Bug #18081 (Feedback): addr2line.c: Wrong section for `DW_AT_ranges`
When both `.debug_rnglists` and `.debug_ranges` sections exist, `DW_AT_ranges` can refer to a wrong section, potentia... xtkoba (Tee KOBAYASHI)
01:57 PM Revision 36ae44ce (git): [ruby/date] Update zonetab.h at 2021-08-11
https://github.com/ruby/date/commit/de7dca353f nobu (Nobuyoshi Nakada)
12:44 PM Revision 48145282 (git): [DOC] Fix the rdoc for File::Stat#size? [ci skip]
Akinori MUSHA
09:45 AM Revision edf01d4e (git): Treat NULL fake string as an empty string
And the NULL string must be of size 0. nobu (Nobuyoshi Nakada)
09:29 AM Bug #18007: Help developers of C extensions meet requirements in "doc/extension.rdoc"
Eregon (Benoit Daloze) wrote in #note-7:
> I'm confused, why does `Class#allocate` not simply use the alloc function...
nobu (Nobuyoshi Nakada)
08:25 AM Bug #18007: Help developers of C extensions meet requirements in "doc/extension.rdoc"
I'm confused, why does `Class#allocate` not simply use the alloc function set with `rb_define_alloc_func`?
Then ther...
Eregon (Benoit Daloze)
06:44 AM Bug #18007: Help developers of C extensions meet requirements in "doc/extension.rdoc"
mame (Yusuke Endoh) wrote in #note-5:
> How about raising an exception when attempting to allocate a `T_DATA` object...
nobu (Nobuyoshi Nakada)
06:01 AM Bug #18007: Help developers of C extensions meet requirements in "doc/extension.rdoc"
How about raising an exception when attempting to allocate a `T_DATA` object with the default allocator? mame (Yusuke Endoh)
08:16 AM Bug #16889: TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
Actually thread-local might not be enough, we'd probably want Fiber local, i.e., events which are on the same executi... Eregon (Benoit Daloze)
08:12 AM Bug #16889: TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
mame (Yusuke Endoh) wrote in #note-7:
> Note that the second `trace.enable` does not print `#<TracePoint:line t.rb:4...
Eregon (Benoit Daloze)
05:24 AM Bug #16889: TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
mame (Yusuke Endoh) wrote in #note-7:
> `TracePoint#enable(target: :block)` does not follow events in a called metho...
jeremyevans0 (Jeremy Evans)
05:19 AM Bug #16889: TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
+1 for Jeremy #6.
I also agree `TP#enable{ ... }` should be thread-local without any options, but I don't think it...
ko1 (Koichi Sasada)
05:09 AM Bug #16889: TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
`TracePoint#enable(target: :block)` does not follow events in a called method. Is this really intentional?
```
tr...
mame (Yusuke Endoh)
08:15 AM Feature #17750 (Closed): Update Unicode data to Unicode Version 13.0.0
Closed (finally) with revision 21fd83a823. duerst (Martin Dürst)
08:08 AM Revision 21fd83a8 (git): Mention update to Unicode Version 13.0.0 and Emoji Version 13.1
Mention the update to Unicode Version 13.0.0 and Unicode Emoji
Version 13.1 in NEWS.md. This completes issue #17750. ...
duerst (Martin Dürst)
07:44 AM Bug #18027 (Closed): test/ruby/enc/test_emoji_breaks.rb does not use the file emoji-variation-sequences.txt
Resolved with commit fd7f61c.
It turned out the problem was that in emoji-variation-sequences.txt, lines look like...
duerst (Martin Dürst)
06:45 AM Bug #18027: test/ruby/enc/test_emoji_breaks.rb does not use the file emoji-variation-sequences.txt
duerst (Martin Dürst) wrote:
> In particular, I'm a `puts` debugger, but `puts` debugging doesn't seem to work wel...
duerst (Martin Dürst)
07:30 AM Revision de764ae8 (git): * 2021-08-17 [ci skip]
git[bot]
07:16 AM Bug #13864: Rinda multicast test failures due to missing default route
Thx for looking into this. I just wanted to point out that this has low importance for me, since the default route wa... vo.x (Vit Ondruch)
07:03 AM Revision fd7f61cf (git): Take into account data in emoji-variation-sequences.txt in tests.
The emoji data in emoji-variation-sequences.txt was not used for
in test/ruby/enc/test_emoji_breaks.rb, for unknown r...
duerst (Martin Dürst)
05:54 AM Bug #18080 (Open): Syntax error on one-line pattern matching
One line pattern matching with a method return value with parameters which are not surrounded by parenthesis raises ... ko1 (Koichi Sasada)
05:43 AM Feature #12075: some container#nonempty?
What about `ary.filled?` ?
It nicely pairs with empty and is not too long.
It’s also a property of the container. An...
p8 (Petrik de Heus)
02:31 AM Feature #12075: some container#nonempty?
I tend to like `ary.size > 0` more than `!ary.empty?` because the former literally has a "positive" nuance and theref... knu (Akinori MUSHA)
03:52 AM Bug #18079 (Closed): [PATCH] make error for MinGW with Clang/LLVM + LLD
```
building spec/ruby/optional/capi/ext/array_spec.so
lld-link: error: x64-ucrt-ruby310.dll: bad file type. Did yo...
xtkoba (Tee KOBAYASHI)

08/16/2021

10:02 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
Ah, I can see there is missing the `read_abstract_origin` on the backtrace. vo.x (Vit Ondruch)
10:00 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
This is the GDB output:
~~~
(gdb) r
Starting program: /builddir/build/BUILD/ruby-3.0.2/miniruby -e Process.kill\...
vo.x (Vit Ondruch)
07:46 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
Aren't there any subtle differences in GDB outputs? If fixed as intended, the value of `abstract_origin` can't get su... xtkoba (Tee KOBAYASHI)
06:44 PM Bug #17052 (Open): Ruby with LTO enabled has issues with SIGSEGV handler
Thank you for looking into this.
Unfortunately, I have tried commit:git|72317b333b85eed483ad00bcd4f40944019a7c13 a...
vo.x (Vit Ondruch)
08:30 PM Bug #18078 (Closed): rb_fix2uint should avoid method lookup and use FIXNUM_NEGATIVE_P
`rb_fix2uint` checks if the FIXNUM being converted overflows the `unsigned int` type. Previously this check was being... jhawthorn (John Hawthorn)
07:35 PM Misc #18039: DevelopersMeeting20210819Japan
* [Feature #18007] C extension "allocation function" check
* Should we add a config option and put in 3.1, or just ...
tenderlovemaking (Aaron Patterson)
12:40 PM Bug #18077: Marshal.dump(closed_io) raises IOError instead of TypeError
One concern for that [PR], probably may not be a matter, is closed `IO`s will no longer raise `IOError` on other `Enc... nobu (Nobuyoshi Nakada)
11:33 AM Bug #18077 (Closed): Marshal.dump(closed_io) raises IOError instead of TypeError
Marshal.dump is expected to raise a `TypeError` for unmarshallable objects. But closed streams raise an `IOError`:
...
larskanis (Lars Kanis)
10:35 AM Bug #17949: [SOLARIS11, SPARC, SEGFAULT] generating encdb.h
Just FTR, Clang/LLVM `__builtin_longjmp` is broken for Sparc targets: https://bugs.llvm.org/show_bug.cgi?id=51489 xtkoba (Tee KOBAYASHI)
08:42 AM Bug #18076 (Closed): ext/digest/md5/md5.c: `-Wnull-pointer-subtraction` warning by Clang 13
```
compiling ../../../../ext/digest/md5/md5.c
../../../../ext/digest/md5/md5.c:228:17: warning: performing pointer...
xtkoba (Tee KOBAYASHI)
08:00 AM Revision a8714b83 (git): `popen()` is not available on emscripten
nobu (Nobuyoshi Nakada)
07:02 AM Revision 07b12a1f (git): Suppress unused-variable warnings
nobu (Nobuyoshi Nakada)
06:36 AM Revision ee7bd7d7 (git): `SIZE_MAX` is not `size_t` on emscripten
nobu (Nobuyoshi Nakada)
06:36 AM Revision 54199a3f (git): Use `VALUE` instead of `intptr_t`
On emscripten `intptr_t`, `uintptr_t`, `ptrdiff_t` and so on are
defined as `long`, but `PRIdPTR` and so on defined a...
nobu (Nobuyoshi Nakada)
04:45 AM Revision 5087a6a9 (git): Fix COROUTINE_SRC on emscripten
Select the C source if exists, otherwise the assembler source,
instead of selecting by the coroutine type.
nobu (Nobuyoshi Nakada)
12:07 AM Revision 4cc44bd8 (git): * 2021-08-16 [ci skip]
git[bot]
12:06 AM Revision f8f6d989 (git): coroutine use asm version for handful of architectures for freebsd.
DC

08/15/2021

02:31 PM Revision 164f50de (git): Update TypeProf to 0.15.1
mame (Yusuke Endoh)
11:55 AM Misc #18039: DevelopersMeeting20210819Japan
* [Feature #16182] Should `expr in a, b, c` be allowed or not? (ktsj)
* How about allowing brackets/braces to be om...
ktsj (Kazuki Tsujimoto)
11:53 AM Feature #16182: Should `expr in a, b, c` be allowed or not?
How about allowing brackets/braces to be omitted in one-line pattern matching?
Now that we use `=>` in one-line patte...
ktsj (Kazuki Tsujimoto)
02:40 AM Bug #18075 (Closed): Crasher using ripper + yydebug
Applied in changeset commit:git|2aa6826e81ec880f5e98fa995e44fae0819be95d.
----------
Extract the wrapped value when ...
nobu (Nobuyoshi Nakada)
02:40 AM Revision 2aa6826e (git): Extract the wrapped value when yydebug [Bug #18075]
nobu (Nobuyoshi Nakada)
12:38 AM Revision 4568ba07 (git): Show verbose error messages when single pattern match fails
[0] => [0, *, a]
#=> [0] length mismatch (given 1, expected 2+) (NoMatchingPatternError)
Ignore test failures of...
ktsj (Kazuki Tsujimoto)

08/14/2021

07:36 PM Bug #18000: have_library doesn't work when ruby is compiled with --disable-shared --disable-install-static-library
No objection from me to drop support for the `--disable-shared
--disable-install-static-library` config. I agree with...
alanwu (Alan Wu)
02:44 PM Bug #18000: have_library doesn't work when ruby is compiled with --disable-shared --disable-install-static-library
byroot (Jean Boussier) wrote in #note-6:
> But yeah I wish I could `--disable-shared` without having to ship a huge ...
nobu (Nobuyoshi Nakada)
12:27 AM Bug #18000: have_library doesn't work when ruby is compiled with --disable-shared --disable-install-static-library
> Not sure how byroot (Jean Boussier) or alanwu (Alan Wu) will feel about this approach, though.
At the very least...
byroot (Jean Boussier)
04:04 PM Bug #17588 (Closed): Cannot build with library path with spaces on MSVC
Applied in changeset commit:git|147bdcc436c888a56f81e190d192cd9312015836.
----------
[Win32] put a space before conf...
nobu (Nobuyoshi Nakada)
04:01 PM Revision 147bdcc4 (git): [Win32] put a space before configure options [Bug #17588]
Not to be concatenated with the preceding `--with-`* option. nobu (Nobuyoshi Nakada)
03:27 PM Revision 717f0c56 (git): * 2021-08-15 [ci skip]
git[bot]
03:20 PM Revision 244fc65d (git): Disable checks for LTO [ci skip]
nobu (Nobuyoshi Nakada)
02:58 PM Bug #17052 (Closed): Ruby with LTO enabled has issues with SIGSEGV handler
Applied in changeset commit:git|72317b333b85eed483ad00bcd4f40944019a7c13.
----------
Ignore `DW_FORM_ref_addr` [Bug ...
xtkoba (Tee KOBAYASHI)
02:57 PM Revision 72317b33 (git): Ignore `DW_FORM_ref_addr` [Bug #17052]
Ignore `DW_FORM_ref_addr` form and other forms that are not supposed
to be used currently.
xtkoba (Tee KOBAYASHI)
02:23 PM Revision 29dd7049 (git): Add checks for gcc/clang with LTO
nobu (Nobuyoshi Nakada)
02:22 PM Revision 2e49e433 (git): Disable debug flag for executable files when LTO [ci skip]
Get rid of tons of linker warnings that it could not find object
file symbol for every symbols, when targeting darwin.
nobu (Nobuyoshi Nakada)
02:12 PM Revision 97efd48f (git): Get rid of unintented recursion when RUBY_DEBUG
nobu (Nobuyoshi Nakada)
02:11 PM Revision 1bd021a7 (git): Mark internal class names
nobu (Nobuyoshi Nakada)
02:11 PM Revision 58d82eac (git): Add some "cold" marks
nobu (Nobuyoshi Nakada)
02:11 PM Revision edd27e12 (git): A comment for typed data in `rb_check_type` [ci skip]
nobu (Nobuyoshi Nakada)
02:11 PM Revision d58620e0 (git): Rename labels in `Check_Type` more descriptive
nobu (Nobuyoshi Nakada)
01:13 PM Revision 9f88135f (git): [ruby/readline-ext] Give up Editline
https://github.com/ruby/readline-ext/commit/d924cfc1e6 aycabta (aycabta .)
01:13 PM Revision 2c056816 (git): [ruby/reline] Add workspace member for the latest IRB's implementation
https://github.com/ruby/reline/commit/8b55fc8fee aycabta (aycabta .)
01:13 PM Revision a2f64937 (git): [ruby/reline] Remove private visibility
https://github.com/ruby/reline/commit/fa54e521da aycabta (aycabta .)
01:13 PM Revision acce754e (git): [ruby/reline] Remove interrupt avoidance
There used to be a process that did not want to be interrupted by
SIGINT, so it was trapped, but that process is no l...
aycabta (aycabta .)
01:09 PM Revision 1868b9fa (git): [Win32] Skip over source update just after clone on AppVeyor
nobu (Nobuyoshi Nakada)
09:35 AM Bug #16490: mkmf.rbの非互換な変更
本件は少なくともRuby 2.7.3辺りでは起きなくなっていますので、チケット自体はcloseしていただいても問題ないと考えています。
> dependファイルを直してコンパイルしてみてもエラーになりますので、
これは、コンパ...
taca (Takahiro Kambe)
12:54 AM Bug #16490 (Third Party's Issue): mkmf.rbの非互換な変更
`depend`ファイルを直してコンパイルしてみてもエラーになりますので、tmail gem自体をもっと修正する必要があると思います。
```
tmailscanner.c:105:11: error: implicit de...
nobu (Nobuyoshi Nakada)
09:10 AM Bug #16836: configure-time LDFLAGS leak into ruby pkg-config file
Thanks for taking a look!
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> According to the history, adding `DLDFL...
stapelberg (Michael Stapelberg)
08:10 AM Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.
I will check it. ioquatix (Samuel Williams)
08:06 AM Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.
I create the backport patch including 050a89543952a2c9e7c9bc938f4fdb538f6c9278 and 13f8521c630a15c87398dee0763e95f59c... nagachika (Tomoyuki Chikanaga)
06:12 AM Feature #16428: Add Array#uniq?, Enumerable#uniq?
Recently I read similar topic again elsewhere. They pointed
* in most cases we have something to do on each duplicat...
gotoken (Kentaro Goto)
04:20 AM Bug #18075 (Closed): Crasher using ripper + yydebug
`method `inspect' called on unexpected T_NODE object` via the following with `-d` (see output at end):
```
#!/usr...
zenspider (Ryan Davis)
02:34 AM Revision a9977ba2 (git): Constified addr2line.c
nobu (Nobuyoshi Nakada)

08/13/2021

09:09 PM Bug #16448 (Closed): regex global variables are working differently depending on scope
jeremyevans0 (Jeremy Evans)
09:05 PM Bug #16490: mkmf.rbの非互換な変更
Reverting the line removed from mkmf.rb in r67033 (commit:3d1c86a26f0c96a9c1d0247b968aa96e6f3c30bb) allows for the tm... jeremyevans0 (Jeremy Evans)
08:25 PM Bug #16836 (Assigned): configure-time LDFLAGS leak into ruby pkg-config file
According to the history, adding `DLDFLAGS` to `Libs` was a deliberate decision made back in 2010 in commit:51d25ca8c... jeremyevans0 (Jeremy Evans)
08:13 PM Bug #17349: Rake での並行実行における正規表現マッチングの異常
I reviewed the mruby `presym.rake` file and was able to come up with a self contained reproducible example, which I h... jeremyevans0 (Jeremy Evans)
06:22 PM Bug #18000: have_library doesn't work when ruby is compiled with --disable-shared --disable-install-static-library
nobu (Nobuyoshi Nakada) wrote in #note-4:
> We should disallow that combination, I think.
> Otherwise, should drop ...
jeremyevans0 (Jeremy Evans)
02:42 AM Bug #18000: have_library doesn't work when ruby is compiled with --disable-shared --disable-install-static-library
We should disallow that combination, I think.
Otherwise, should drop also the headers.
nobu (Nobuyoshi Nakada)
05:26 PM Revision 963f2e01 (git): Reduce the amount of false positive notifications
k0kubun (Takashi Kokubun)
04:15 PM Revision e57a1cc2 (git): ruby/spec no longer needs webrick to run
Eregon (Benoit Daloze)
04:13 PM Revision ee362302 (git): Revert "Pause an MJIT worker when JIT is cancelled"
This reverts commit b64f81c81729bbc248d19af01cafde88eb60fdc7.
It seems to cause a problem in --jit / --jit-wait CIs....
k0kubun (Takashi Kokubun)
04:10 PM Revision 15c9c784 (git): * 2021-08-14 [ci skip]
git[bot]
04:09 PM Revision 73085c8d (git): Update to ruby/spec@330c641
Eregon (Benoit Daloze)
02:24 PM Bug #17588: Cannot build with library path with spaces on MSVC
I think there's an issue somewhere in the configuration for msvc, missing a space between two conf args it seems.
# ...
jmarrec (Julien Marrec)
01:29 PM Bug #17588: Cannot build with library path with spaces on MSVC
I'll try again, I'll report back. I see how your change could have fixed the enc/lib specifically indeed. jmarrec (Julien Marrec)
01:04 PM Bug #17588: Cannot build with library path with spaces on MSVC
I tried today with master (ac4d53bd461ff386cd45fdd484ffb6b628a251ad). So it isn't fixed by https://bugs.ruby-lang.org... jmarrec (Julien Marrec)
10:32 AM Bug #17588: Cannot build with library path with spaces on MSVC
jmarrec (Julien Marrec) wrote in #note-4:
> My first thing is I've noticed that if I strap --with-static-linked-ext ...
xtkoba (Tee KOBAYASHI)
10:15 AM Bug #17588: Cannot build with library path with spaces on MSVC
I am revisiting this with the latest master today.
My command has quotes, and I am not changing the `--with-openss...
jmarrec (Julien Marrec)
01:45 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
It turns out that `DW_FORM_ref_addr` is not interpreted correctly. A patch is attached to just ignore that form (and ... xtkoba (Tee KOBAYASHI)
11:14 AM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
Now I can reproduce this on my qemu-user-emulated powerpc64le-linux-musl environment:
```
$ powerpc64le-musl-qemu...
xtkoba (Tee KOBAYASHI)
06:35 AM Feature #17881 (Feedback): Add a Module#const_added callback
FYI, I changed the MJIT implementation in commit:ac4d53bd461ff386cd45fdd484ffb6b628a251ad to not disable JIT-ed code ... k0kubun (Takashi Kokubun)
06:26 AM Revision ac4d53bd (git): Don't cancel JIT-ed code on TracePoint :class
events get enabled k0kubun (Takashi Kokubun)
06:19 AM Revision 365da4c6 (git): Don't run mjit_cancel_all when MJIT is disabled
k0kubun (Takashi Kokubun)
06:15 AM Revision b64f81c8 (git): Pause an MJIT worker when JIT is cancelled
k0kubun (Takashi Kokubun)
06:11 AM Revision b3f8c491 (git): Print JIT cancel when all JIT-ed code is cancelled
k0kubun (Takashi Kokubun)
05:52 AM Bug #18062 (Closed): Ruby with enabled LTO segfaults during build
Applied in changeset commit:git|573eef7c897ff938539270e605445da13093d664.
----------
Indicate the slow path of `Chec...
nobu (Nobuyoshi Nakada)
05:51 AM Revision 1a169402 (git): * 2021-08-13 [ci skip]
git[bot]
04:29 AM Revision 611da9fa (git): Mark `rb_unexpected_type` as "cold" [Bug #18062]
So that it will not interfere the fast path in `Check_Type`. nobu (Nobuyoshi Nakada)
04:29 AM Revision 573eef7c (git): Indicate the slow path of `Check_Type` never return [Bug #18062]
Though this call to `rb_check_type` is just to raise an exception
and never return actually, it can return at least f...
nobu (Nobuyoshi Nakada)

08/12/2021

10:04 PM Bug #17052: Ruby with LTO enabled has issues with SIGSEGV handler
I noticed that `addr2line.c` misinterpreted the size of `DW_FORM_ref_addr` as the size of an address. In fact it shou... xtkoba (Tee KOBAYASHI)
03:59 PM Bug #17052 (Open): Ruby with LTO enabled has issues with SIGSEGV handler
Changing state back to open, because this is unresolved and I am repeatedly hitting this issue in various reincarnati... vo.x (Vit Ondruch)
06:35 PM Bug #18000: have_library doesn't work when ruby is compiled with --disable-shared --disable-install-static-library
While it is possible to compile with only the headers, that only works if you know what the headers should contain. ... jeremyevans0 (Jeremy Evans)
06:16 PM Bug #18073: test/ruby/test_jit.rb: "error: invalid use of '__builtin_va_arg_pack ()'" on Ruby 2.7.4 on gcc 4.8.5
jaruga (Jun Aruga) wrote in #note-4:
> I executed `git bisect` between `v2_7_3` and `v2_7_4`. And I found the follow...
jaruga (Jun Aruga)
08:49 AM Bug #18073: test/ruby/test_jit.rb: "error: invalid use of '__builtin_va_arg_pack ()'" on Ruby 2.7.4 on gcc 4.8.5
@xtkoba thanks for the info. I confirmed the value of `CPP` on RHEL 7 autoconf version 2.69.
The following `config...
jaruga (Jun Aruga)
03:47 PM Bug #18062: Ruby with enabled LTO segfaults during build
The problem described in #note-24 does not look like very much related to the other part. Maybe worth reopening #17052? xtkoba (Tee KOBAYASHI)
03:19 PM Bug #18062: Ruby with enabled LTO segfaults during build
Just testing the issue from [comment 24](https://bugs.ruby-lang.org/issues/18062#note-24) and there is not difference... vo.x (Vit Ondruch)
12:37 PM Bug #18062: Ruby with enabled LTO segfaults during build
I was able to reduce the `Hash.ruby2_keywords_hash?(1)` repro and report it to GCC.
It looks like we are hitting an ...
alanwu (Alan Wu)
09:42 AM Bug #18062: Ruby with enabled LTO segfaults during build
vo.x (Vit Ondruch) wrote in #note-26:
> BTW, In your experience, do you think trying something like [1] could help c...
xtkoba (Tee KOBAYASHI)
08:18 AM Bug #18062: Ruby with enabled LTO segfaults during build
xtkoba (Tee KOBAYASHI) wrote in #note-25:
> I would humbly advise that the `-fno-strict-aliasing` flag be appended t...
vo.x (Vit Ondruch)
01:31 PM Bug #17806: Bad interaction between method cache, prepend, and refinements
Thanks @alanwu!
I forgot to watch this issue so I was never notified of your response. Sorry for the delay.
> I...
mk (Matthias Käppler)
10:55 AM Revision 5534698b (git): [ruby/reline] Version 0.2.7
https://github.com/ruby/reline/commit/040d29b4c0 aycabta (aycabta .)
10:53 AM Revision f9abcfb6 (git): [ruby/irb] Version 1.3.7
https://github.com/ruby/irb/commit/98610236ec aycabta (aycabta .)
10:53 AM Revision 53743a42 (git): [ruby/irb] Update dependency, reline >= 0.2.7
https://github.com/ruby/irb/commit/5a0c8dc9e6 aycabta (aycabta .)
10:47 AM Revision 5196b171 (git): Revert "Try to run test_interrupt_in_other_thread with Editline"
This reverts commit c66b27efbb27c6b6b410457282ac841ead1dd132. aycabta (aycabta .)
06:35 AM Revision c66b27ef (git): Try to run test_interrupt_in_other_thread with Editline
aycabta (aycabta .)
04:46 AM Revision 7ac44091 (git): Separate jobs conditions
nobu (Nobuyoshi Nakada)
02:29 AM Revision 1cdc7510 (git): RBIMPL_ATTR_DEPRECATED: enable for GCC 10.3+
They fixed the bug. shyouhei (Shyouhei Urabe)

08/11/2021

11:47 PM Revision e1fe209d (git): * 2021-08-12 [ci skip]
git[bot]
10:52 PM Revision e5f6cd70 (git): Outer block is required to rescue Timeout::Error
aycabta (aycabta .)
10:01 PM Bug #17507: Regexp capture groups ignored sometimes in some multithreaded environments (possible race condition)
This issue is due to a race condition because the MatchData object is passed indirectly through the backref. I've su... jeremyevans0 (Jeremy Evans)
06:46 PM Bug #18066: Load did_you_mean/error_highlight even with --disable-gems
jaruga (Jun Aruga) wrote in #note-7:
> Seeing Debian and Ubuntu ruby packages, the "ruby" deb package depends on "ru...
xtkoba (Tee KOBAYASHI)
05:26 PM Bug #18066: Load did_you_mean/error_highlight even with --disable-gems
Just for the context, this issue was triggered when looking at [1]. And as long as there is `ruby --disable-gems` as ... vo.x (Vit Ondruch)
04:01 PM Bug #18066: Load did_you_mean/error_highlight even with --disable-gems
@vo.x I would just share how the motivation of some maintainers look like to fix this kind of issue, as I chat with s... jaruga (Jun Aruga)
10:53 AM Bug #18066: Load did_you_mean/error_highlight even with --disable-gems
duerst (Martin Dürst) wrote in #note-4:
> I'm not sure how strongly this is related (and I'll create a new issue if ...
vo.x (Vit Ondruch)
09:54 AM Bug #18066: Load did_you_mean/error_highlight even with --disable-gems
> I'm not sure how strongly this is related (and I'll create a new issue if necessary), but when I use a very simple ... jaruga (Jun Aruga)
06:07 PM Bug #18062: Ruby with enabled LTO segfaults during build
I would humbly advise that the `-fno-strict-aliasing` flag be appended to `CFLAGS` by default. See also #17540. xtkoba (Tee KOBAYASHI)
05:02 PM Bug #18062: Ruby with enabled LTO segfaults during build
So I have tried to get more details about the #17052:
~~~
$ gdb --args ./miniruby -e'Process.kill("SIGSEGV",$$)'
...
vo.x (Vit Ondruch)
04:52 PM Bug #18062: Ruby with enabled LTO segfaults during build
nobu (Nobuyoshi Nakada) wrote in #note-21:
> Probably a memory barrier would work.
I confirmed that the `make` an...
jaruga (Jun Aruga)
03:05 PM Bug #18062: Ruby with enabled LTO segfaults during build
> But it's dead in the process of make test with wrong result "green".
Sorry, my mistake. The `make test` just fin...
jaruga (Jun Aruga)
03:03 PM Bug #18062: Ruby with enabled LTO segfaults during build
Probably a memory barrier would work.
```diff
diff --git a/include/ruby/internal/value_type.h b/include/ruby/inte...
nobu (Nobuyoshi Nakada)
02:51 PM Bug #18062: Ruby with enabled LTO segfaults during build
> Just curious, would it make sense to update the Ruby CI to test LTO? Maybe even by default? Would there be any down... jaruga (Jun Aruga)
01:09 PM Bug #18062: Ruby with enabled LTO segfaults during build
Just curious, would it make sense to update the Ruby CI to test LTO? Maybe even by default? Would there be any downside? vo.x (Vit Ondruch)
07:42 AM Bug #18062: Ruby with enabled LTO segfaults during build
I could reproduce the segfault with the master commit:c59da370a5d, just by `Hash.ruby2_keywords_hash?(1)`.
```
* thr...
nobu (Nobuyoshi Nakada)
03:10 AM Bug #18062 (Open): Ruby with enabled LTO segfaults during build
As https://github.com/ruby/ruby/pull/4716 itself seems to make things better at least, I merged it for now. nobu (Nobuyoshi Nakada)
03:08 AM Bug #18062 (Closed): Ruby with enabled LTO segfaults during build
Applied in changeset commit:git|a0a8f2abf533702b2cd96e79f700ce5b9cd94f50.
----------
Get rid of type-punning pointer...
nobu (Nobuyoshi Nakada)
05:58 PM Bug #18053: Crashes and infinite loops when generating partial backtraces in Ruby 3.0+
Thanks Jeremy! Just confirmed that the fix in ruby_3_0 solves all the crashes and hangs we were seeing. jhawthorn (John Hawthorn)
05:51 PM Bug #18073: test/ruby/test_jit.rb: "error: invalid use of '__builtin_va_arg_pack ()'" on Ruby 2.7.4 on gcc 4.8.5
It seems that in `configure.ac`, `AC_PROG_CC_C99` must come before `AC_PREPROC_IFELSE` to set `CPP` correctly. That i... xtkoba (Tee KOBAYASHI)
09:20 AM Bug #18073: test/ruby/test_jit.rb: "error: invalid use of '__builtin_va_arg_pack ()'" on Ruby 2.7.4 on gcc 4.8.5
> It should be the default, unless you set CFLAGS at the command line or as the environment variable.
As we chat, ...
jaruga (Jun Aruga)
07:48 AM Bug #18073: test/ruby/test_jit.rb: "error: invalid use of '__builtin_va_arg_pack ()'" on Ruby 2.7.4 on gcc 4.8.5
jaruga (Jun Aruga) wrote in #note-10:
> @nobu OK. Could you provide a patch to change only from `S["CFLAGS"]="-g -O2...
nobu (Nobuyoshi Nakada)
06:38 AM Bug #18073: test/ruby/test_jit.rb: "error: invalid use of '__builtin_va_arg_pack ()'" on Ruby 2.7.4 on gcc 4.8.5
> `${cflags}` should contain ${optflags} ${debugflags} ${warnflags} by the default.
> That means the latter CFLAGS l...
jaruga (Jun Aruga)
02:17 AM Bug #18073: test/ruby/test_jit.rb: "error: invalid use of '__builtin_va_arg_pack ()'" on Ruby 2.7.4 on gcc 4.8.5
jaruga (Jun Aruga) wrote in #note-8:
> However the essential difference is the following part.
>
> ```
> -S["CFL...
nobu (Nobuyoshi Nakada)
05:34 PM Bug #10542 (Closed): out-of-place build from repository builds enc/trans/*.c in the source directory and the build directory
This appears to have been resolved in the master branch. I ran a similar out-of-place build and ran the grep, and it... jeremyevans0 (Jeremy Evans)
01:26 PM Revision 79cc566a (git): Make during_compacting flag in GC one bit
Commit c32218de1ba094223420a4ea017707f48d0009c5 turned during_compacting
flag to 2 bits to support the case when ther...
Peter Zhu
08:45 AM Revision c06b39d1 (git): Add TODO comment to #test_interrupt_in_other_thread
aycabta (aycabta .)
07:59 AM Bug #16116: ruby2.6.3(x86/x64) use win32ole could not new Object, return 0x80070057
I have the same issue with Ruby 3.0.2 and .NET COM assemblies. The problem seems to be related to how the assembly i... krolchatina (Dmitry Kirillov)
05:08 AM Revision c59da370 (git): Add comments about testing steps
aycabta (aycabta .)
05:08 AM Revision 4f324514 (git): Put the result of the process into a variable once
To make the meaning of assertion easier to understand, aycabta (aycabta .)
05:08 AM Revision 01e49af8 (git): Stop exiting to show "SUCCESS"
aycabta (aycabta .)
05:08 AM Revision 2217b82a (git): Add logging about Errno::EPIPE
aycabta (aycabta .)
05:08 AM Revision 7d842515 (git): Write log to stdout immediately
aycabta (aycabta .)
05:08 AM Revision 67e06102 (git): Stop checking char from "read"
Because it's sometimes nil due to race condition. aycabta (aycabta .)
05:08 AM Revision 7b10f553 (git): Break immediately if assertions finished
aycabta (aycabta .)
05:08 AM Revision 7319b1fa (git): Add "START" log
aycabta (aycabta .)
04:41 AM Bug #12540 (Closed): test failures when SHARABLE_MIDDLE_SUBSTRING=1
Applied in changeset commit:git|84bf4d2ce55e16a4fb51b407a8c9c79e583596b3.
----------
Term fill in String#{,l,r}strip...
jeremyevans (Jeremy Evans)
04:40 AM Revision 84bf4d2c (git): Term fill in String#{,l,r}strip! even when SHARABLE_MIDDLE_SUBSTRING
Each of these methods calls str_modify_keep_cr before
term filling, which should ensure the backing string
uses priva...
jeremyevans (Jeremy Evans)
03:07 AM Revision a0a8f2ab (git): Get rid of type-punning pointer casts [Bug #18062]
nobu (Nobuyoshi Nakada)
01:54 AM Revision 7560bf6f (git): * 2021-08-11 [ci skip]
git[bot]
 

Also available in: Atom