Backport #8325
closedRunning Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1
Description
We compiled Ruby under AIX 7.1 and everthing work fine throughout testing, but when we install Redmine 2.3.0 an go through the normal navigation, we can reproduce the following error by only clicking multiple links consecutively in the administration.
#>dbx /opt/pware/ruby/2.0.0/bin/ruby core
Type 'help' for help.
[using memory image in core]
reading symbolic information ...
Illegal instruction (illegal opcode) in . at 0x0 ($t8)
warning: Unable to access address 0x0 from core
(dbx) where
.() at 0x0
st_lookup(table = 0xd40c0708, key = 24, value = 0x1bd78365), line 414 in "st.c"
unnamed block in rb_method_entry_get_without_cache(klass = 3557309396, id = 624245420, defined_class_ptr = 0x24098d30), line 182 in "vm_method.c"
rb_method_entry_get_without_cache(klass = 3557309396, id = 624245420, defined_class_ptr = 0x24098d30), line 182 in "vm_method.c"
vm_search_method(ci = 0x20596bd4, recv = 624186940), line 858 in "vm_insnhelper.c"
unnamed block in vm_exec_core(th = (nil), initial = 0), line 2534 in "insns.def"
vm_exec_core(th = (nil), initial = 0), line 2534 in "insns.def"
unnamed block in vm_exec(th = 0x2311cc58), line 1175 in "vm.c"
unnamed block in vm_exec(th = 0x2311cc58), line 1175 in "vm.c"
unnamed block in vm_exec(th = 0x2311cc58), line 1175 in "vm.c"
vm_exec(th = 0x2311cc58), line 1175 in "vm.c"
vm_invoke_proc(th = 0x2311cc58, proc = 0x22e59108, self = 594118620, defined_class = 550801940, argc = 0, argv = 0x21d85144, blockptr = (nil)), line 648 in "vm.c"
thread_start_func_2(th = 0x2311cc58, stack_start = (nil)), line 503 in "thread.c"
unnamed block in thread_start_func_1(th_ptr = (nil)), line 724 in "thread_pthread.c"
thread_start_func_1(th_ptr = (nil)), line 724 in "thread_pthread.c"
(dbx)
I can deliver the coredump also, but it has 92mb (zipped 22mb) !!