Skip to content

[GLib][Ruby] ci/scripts/c_glib_test.sh fails consistently on new macos-26-arm64 #50302

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

ARM64 macOS GLib & Ruby fails on several PRs with:

+ ruby test/run-test.rb
[BUG] Bus Error at 0x0000000a70000018
ruby 3.4.9 (2026-03-11 revision 76cca827ab) +PRISM [arm64-darwin25]

-- Crash Report log information --------------------------------------------
   See Crash Report log file in one of the following locations:
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.
Don't forget to include the above Crash Report log file in bug reports.

-- Control frame information -----------------------------------------------
c:0001 p:---- s:0003 e:000002 DUMMY  [FINISH]


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

-- Machine register context ------------------------------------------------
  x0: 0x0000000a6f6cf350  x1: 0x0000000a6bfd0280  x2: 0x0000000115883270
  x3: 0x0000000000000001  x4: 0x0000000000000001  x5: 0x0000000000000000
  x6: 0x000000011582c538  x7: 0xfffff0003ffff800 x18: 0x0000000000000000
 x19: 0x0000000000000003 x20: 0x0000000115883270 x21: 0x0000000a6bfd0280
 x22: 0x0000000000000001 x23: 0x0000000000000024 x24: 0x0000000a6f6cf350
 x25: 0x000000011628e760 x26: 0x0000000000000004 x27: 0x000000000001b01a
 x28: 0x0000000000000003  lr: 0x0000000105211af8  fp: 0x000000016c9e6850
  sp: 0x000000016c9e67f0

-- C level backtrace information -------------------------------------------
/opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/libruby.3.4.dylib(rb_vm_bugreport+0x344) [0x105218340]
/opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/libruby.3.4.dylib(rb_bug_for_fatal_signal) [0x1050b56f4]
/opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/libruby.3.4.dylib(sigill) [0x10519f918]
/usr/lib/system/libsystem_platform.dylib(_sigtramp+0x38) [0x1806bd7a4]
/opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/libruby.3.4.dylib(send_internal) [0x105211af8]
/opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/libruby.3.4.dylib(vm_call0_body) [0x1052113f0]
/opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/libruby.3.4.dylib(rb_funcallv_scope) [0x1051ff2c4]
/opt/homebrew/lib/ruby/gems/3.4.0/gems/gobject-introspection-4.3.6/lib/gobject_introspection.bundle(rb_gi_callback_invoke_without_protect+0x11c) [0x10c626628]
/opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/libruby.3.4.dylib(rb_protect) [0x1050bdfb4]
/opt/homebrew/lib/ruby/gems/3.4.0/gems/gobject-introspection-4.3.6/lib/gobject_introspection.bundle(rb_gi_callback_invoke+0x2c) [0x10c62644c]
/opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/libruby.3.4.dylib(rb_protect) [0x1050bdfb4]
/opt/homebrew/lib/ruby/gems/3.4.0/gems/glib2-4.3.6/lib/glib2.bundle(process_request+0x38) [0x10c4ce568]
/opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/libruby.3.4.dylib(thread_start_func_2) [0x1051d3ff0]
/opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/libruby.3.4.dylib(nt_start) [0x1051d3ca4]
/usr/lib/system/libsystem_pthread.dylib(_pthread_start+0x88) [0x1806b3c58]

-- Other runtime information -----------------------------------------------

* Loaded script: test/run-test.rb

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 fiber.so
    3 rational.so
    4 complex.so
    5 ruby2_keywords.rb
    6 /opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/ruby/3.4.0/arm64-darwin25/enc/encdb.bundle
    7 /opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/ruby/3.4.0/arm64-darwin25/enc/trans/transdb.bundle
    8 /opt/homebrew/Cellar/ruby@3.4/3.4.9/lib/ruby/3.4.0/arm64-darwin25/rbconfig.rb
...
 20001ab0000-20001bd0000 ---
20001bd0000-20008000000 rw-
20008000000-20010000000 rw-
20010000000-20018000000 rw-
20018000000-20020000000 rw-
20020000000-20028000000 rw-
20028000000-20030000000 rw-
20030000000-20038000000 rw-
20038000000-20040000000 rw-
[IMPORTANT]
Don't forget to include the Crash Report log file under
DiagnosticReports directory in bug reports.

ci/scripts/c_glib_test.sh: line 39: 45584 Bus error: 10              ruby test/run-test.rb
Error: Process completed with exit code 138.

See full log for more details.
This might be related to GitHub runners being updated to macos-26-arm64 instead of macos-15.

Component(s)

GLib, Ruby

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions