Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Ruby to 3.3.0, Python, Node #194

Merged
merged 5 commits into from
Feb 28, 2024
Merged

Updates Ruby to 3.3.0, Python, Node #194

merged 5 commits into from
Feb 28, 2024

Conversation

dmalan
Copy link
Member

@dmalan dmalan commented Jan 17, 2024

Implements #193. But Jekyll builds (with _data/ dir) err with:

/usr/local/lib/ruby/3.3.0/csv.rb:2558: [BUG] Segmentation fault at 0x004caaaaaf876edc
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [aarch64-linux]

-- Control frame information -----------------------------------------------
c:0032 p:---- s:0177 E:0009b0 CFUNC  :next
c:0031 p:0021 s:0173 e:000172 METHOD /usr/local/lib/ruby/3.3.0/csv.rb:2558 [FINISH]
c:0030 p:---- s:0168 e:000167 CFUNC  :to_a
c:0029 p:0003 s:0164 e:000163 METHOD /usr/local/lib/ruby/3.3.0/csv.rb:2596
c:0028 p:0004 s:0159 e:000158 BLOCK  /usr/local/lib/ruby/3.3.0/csv.rb:1830
c:0027 p:0102 s:0155 e:000154 METHOD /usr/local/lib/ruby/3.3.0/csv.rb:1611
c:0026 p:0008 s:0144 e:000143 METHOD /usr/local/lib/ruby/3.3.0/csv.rb:1830
c:0025 p:0064 s:0138 e:000137 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/readers/data_reader.rb:62
c:0024 p:0075 s:0133 e:000129 BLOCK  /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/readers/data_reader.rb:49 [FINISH]
c:0023 p:---- s:0124 e:000123 CFUNC  :each
c:0022 p:0035 s:0120 e:000119 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/readers/data_reader.rb:41
c:0021 p:0017 s:0113 e:000112 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/readers/data_reader.rb:23
c:0020 p:0021 s:0107 e:000105 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/reader.rb:31
c:0019 p:0050 s:0101 e:000100 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/reader.rb:21
c:0018 p:0005 s:0097 e:000096 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/site.rb:181
c:0017 p:0022 s:0093 e:000092 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/site.rb:78
c:0016 p:0004 s:0089 e:000088 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/command.rb:28
c:0015 p:0093 s:0083 e:000082 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/commands/build.rb:65
c:0014 p:0054 s:0073 e:000072 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/commands/build.rb:36
c:0013 p:0015 s:0067 e:000066 BLOCK  /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/command.rb:91 [FINISH]
c:0012 p:---- s:0063 e:000062 CFUNC  :each
c:0011 p:0005 s:0059 e:000058 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/command.rb:91
c:0010 p:0092 s:0049 e:000048 BLOCK  /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/commands/serve.rb:86
c:0009 p:0008 s:0043 e:000042 BLOCK  /usr/local/lib/ruby/gems/3.3.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221 [FINISH]
c:0008 p:---- s:0039 e:000038 CFUNC  :each
c:0007 p:0036 s:0035 e:000034 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221
c:0006 p:0066 s:0029 e:000028 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44
c:0005 p:0019 s:0022 e:000021 METHOD /usr/local/lib/ruby/gems/3.3.0/gems/mercenary-0.4.0/lib/mercenary.rb:21
c:0004 p:0052 s:0016 E:001d40 TOP    /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/exe/jekyll:15 [FINISH]
c:0003 p:---- s:0013 e:000012 CFUNC  :load
c:0002 p:0078 s:0008 E:001250 EVAL   /usr/local/bin/jekyll:32 [FINISH]
c:0001 p:0000 s:0003 E:001a80 DUMMY  [FINISH]

-- Ruby level backtrace information ----------------------------------------
/usr/local/bin/jekyll:32:in `<main>'
/usr/local/bin/jekyll:32:in `load'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/exe/jekyll:15:in `<top (required)>'
/usr/local/lib/ruby/gems/3.3.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
/usr/local/lib/ruby/gems/3.3.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
/usr/local/lib/ruby/gems/3.3.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
/usr/local/lib/ruby/gems/3.3.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
/usr/local/lib/ruby/gems/3.3.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/command.rb:91:in `each'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/commands/build.rb:36:in `process'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/commands/build.rb:65:in `build'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/command.rb:28:in `process_site'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/site.rb:78:in `process'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/site.rb:181:in `read'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/reader.rb:21:in `read'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/reader.rb:31:in `read_data'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/readers/data_reader.rb:23:in `read'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/readers/data_reader.rb:41:in `read_data_to'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/readers/data_reader.rb:41:in `each'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/readers/data_reader.rb:49:in `block in read_data_to'
/usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.3.3/lib/jekyll/readers/data_reader.rb:62:in `read_data_file'
/usr/local/lib/ruby/3.3.0/csv.rb:1830:in `read'
/usr/local/lib/ruby/3.3.0/csv.rb:1611:in `open'
/usr/local/lib/ruby/3.3.0/csv.rb:1830:in `block in read'
/usr/local/lib/ruby/3.3.0/csv.rb:2596:in `read'
/usr/local/lib/ruby/3.3.0/csv.rb:2596:in `to_a'
/usr/local/lib/ruby/3.3.0/csv.rb:2558:in `each'
/usr/local/lib/ruby/3.3.0/csv.rb:2558:in `next'

-- Threading information ---------------------------------------------------
Total ractor count: 1
Ruby thread count for this ractor: 1

-- Machine register context ------------------------------------------------
  x0: 0x0000aaaab09ff600  x1: 0x0000aaaab1163c20  x2: 0x0000ffffe4a11ab0
  x3: 0x0000ffff7879ff60  x4: 0x0000000000000000  x5: 0x0000000000000000
  x6: 0x0000000000000000  x7: 0x0000ffff787a0000 x18: 0x0000000000000000
 x19: 0x0000000000000000 x20: 0x0000000000000000 x21: 0x0000000000000000
 x22: 0x0000000000000000 x23: 0x0000000000000000 x24: 0x0000000000000000
 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000
 x28: 0x0000000000000000 x29: 0x0000000000000000  sp: 0x0000ffff787a0000
 fau: 0x004caaaaaf876edc

-- C level backtrace information -------------------------------------------
Segmentation fault

@dmalan dmalan self-assigned this Jan 17, 2024
@dmalan dmalan changed the title Updates Ruby to 3.3.0 Updates Ruby to 3.3.0 - don't merge yet Jan 17, 2024
@dmalan dmalan changed the title Updates Ruby to 3.3.0 - don't merge yet Updates Ruby to 3.3.0, Python, Node Feb 28, 2024
@dmalan dmalan marked this pull request as ready for review February 28, 2024 23:29
@dmalan
Copy link
Member Author

dmalan commented Feb 28, 2024

Worked around Ruby issue with ASFLAGS=-mbranch-protection=pac-ret, per https://bugs.ruby-lang.org/issues/20085#note-5.

@dmalan dmalan merged commit c27cbc2 into main Feb 28, 2024
1 check failed
@dmalan dmalan deleted the dmalan-patch-1 branch February 28, 2024 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant