Illegal instruction in oj_engine.rb after upgrade to 18.8.0-ce from 18.7.1-ce
Summary
Errors popped up during the installation procesds in middle of the database migration phase:
* bash_hide_env[migrate gitlab-rails database] action run
[execute] /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/aws-sdk-core-3.226.3/lib/aws-sdk-core/json/oj_engine.rb:20: [BUG] Illegal instruction at 0x00007f233d1a402f
ruby 3.2.8 (2025-03-26 revision 13f495dc2c) [x86_64-linux]
Steps to reproduce
Upgrade an Omnibus/RPM installation on Alma Linux 8 to 18.8.0.
What is the current bug behavior?
Service can't be started.
What is the expected correct behavior?
The upgrade can be finished and the service can be started.
Relevant logs and/or screenshots
$ uname -a Linux umbriel 5.4.302-1.el8.elrepo.x86_64 #1 SMP Wed Dec 3 20:42:30 EST 2025 x86_64 x86_64 x86_64 GNU/Linux $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Xeon(R) CPU X5470 @ 3.33GHz stepping : 10 microcode : 0xa0b cpu MHz : 3333.330 cache size : 6144 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu de tsc msr pae mce cx8 apic sep mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc rep_good nopl cpuid pni ssse3 cx16 sse4_1 xsave hypervisor lahf_lm bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bogomips : 6666.66 clflush size : 64 cache_alignment : 64 address sizes : 38 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Xeon(R) CPU X5470 @ 3.33GHz stepping : 10 microcode : 0xa0b cpu MHz : 3333.330 cache size : 6144 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu de tsc msr pae mce cx8 apic sep mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc rep_good nopl cpuid pni ssse3 cx16 sse4_1 xsave hypervisor lahf_lm bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bogomips : 6666.66 clflush size : 64 cache_alignment : 64 address sizes : 38 bits physical, 48 bits virtual power management:
Results of GitLab environment info
I can not produce the output of 'sudo gitlab-rake gitlab:env:info' or 'sudo gitlab-rake gitlab:check SANITIZE=true' because it's crashing due to illegal instruction.
Edited by 🤖 GitLab Bot 🤖