On 2023 Dec 30 (Sat) at 13:33:16 -0800 (-0800), Jeremy Evans wrote:
:On Sat, Dec 30, 2023 at 10:17 AM Peter Hessler <phess...@openbsd.org> wrote:
:
:> :http://build-failures.rhaalovely.net/aarch64/2023-12-28/lang/ruby/3.3.log
:>
:> ./miniruby -I./lib -I. -I.ext/common  -n  -e
:> 'BEGIN{version=ARGV.shift;mis=ARGV.dup}'  -e 'END{abort "UNICODE version
:> mismatch: #{mis}" unless mis.empty?}'  -e '(mis.delete(ARGF.path);
:> ARGF.close) if /ONIG_UNICODE_VERSION_STRING
:> +"#{Regexp.quote(version)}"/o'  15.0.0 ./enc/unicode/15.0.0/casefold.h
:> ./enc/unicode/15.0.0/name2ctype.h
:> Segmentation fault (core dumped)
:> *** Error 139 in /usr/obj/ports/ruby-3.3.0/ruby-3.3.0 (Makefile:1626
:> '.rbconfig.time')
:>
:
:Maybe this could be fixed by
:https://github.com/ruby/ruby/commit/02973b78f499acc28c714a082c82a846314a911f,
:but that's just a guess without seeing the backtrace.
:
:Thanks,
:Jeremy

That patch doesn't seem to help.  Here's a backtrace from gdb-9.2.


phess...@jane.theapt.org:/usr/obj/ports/ruby-3.3.0/ruby-3.3.0> egdb --core min>
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-unknown-openbsd7.4".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./miniruby...
Dwarf Error: could not find abbrev number 135 [in module 
/usr/obj/ports/ruby-3.3.0/ruby-3.3.0/miniruby]
(No debugging symbols found in ./miniruby)
[New process 109035]
Core was generated by `miniruby'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000187992ab7c in rb_yjit_constant_state_changed ()
(gdb) bt
#0  0x000000187992ab7c in rb_yjit_constant_state_changed ()
#1  0x0000001879801df4 [PAC] in rb_clear_constant_cache_for_id ()
#2  0x00000018797f4758 [PAC] in const_set ()
#3  0x00000018797f45ec [PAC] in rb_const_set ()
#4  0x00000018795dcf50 [PAC] in boot_defclass ()
#5  0x00000018795dccb0 [PAC] in Init_class_hierarchy ()
#6  0x00000018796e74b4 [PAC] in InitVM_Object ()
#7  0x0000001879688f04 [PAC] in rb_call_inits ()
#8  0x0000001879653e70 [PAC] in ruby_setup ()
#9  0x0000001879653fa0 [PAC] in ruby_init ()
#10 0x00000018795ae0c4 [PAC] in main ()





-- 
If you're right 90% of the time, why quibble about the remaining 3%?

Reply via email to