Dne 08. 11. 23 v 16:13 Mamoru TASAKA napsal(a):
Vít Ondruch wrote on 2023/10/30 19:37:
> Nice, thx for the summary and a few remarks inline.
>
> Dne 29. 10. 23 v 9:09 Mamoru TASAKA napsal(a):
>> 2.
>> rubygem-addressable
>>
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygem-newruby-test-3-2/...
>>
>> Test suite segfaults constantly...
>
>
> Isn't this some RegExp / GC thing seeint this part of backtrace:
>
> ~~~
>
> /lib64/libruby.so.3.3(rb_st_foreach+0x85) [0x7f2fc3b24285]
> /lib64/libruby.so.3.3(onig_names_free+0x27) [0x7f2fc3b10807]
> /lib64/libruby.so.3.3(onig_free+0x1a) [0x7f2fc3b035fa]
> /lib64/libruby.so.3.3(0x7f2fc3a24022) [0x7f2fc3a24022]
> /lib64/libruby.so.3.3(0x7f2fc3c1e048) [0x7f2fc3c1e048]
> /lib64/libruby.so.3.3(0x7f2fc3a21f23) [0x7f2fc3a21f23]
> /lib64/libruby.so.3.3(0x7f2fc3a2a39b) [0x7f2fc3a2a39b]
> /lib64/libruby.so.3.3(0x7f2fc3a2a7be) [0x7f2fc3a2a7be]
> /lib64/libruby.so.3.3(rb_wb_protected_newobj_of+0x74) [0x7f2fc3a2b0a4]
>
Actually as you said this turned out to be GC issue on ruby regexp
and is fixed with:
https://github.com/ruby/ruby/pull/8813
https://bugs.ruby-lang.org/issues/19992
Now with f694bd158c rubygem-addressable test suite passes and builds
successfully.
Very nice. Thx a lot. I have just pushed out changes for ad3db6711c, so
that should also include this fix.
Vít