From: "wnovak (Werner Novak)" Date: 2013-04-25T20:17:51+09:00 Subject: [ruby-core:54582] [Backport 200 - Backport #8325] Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1 Issue #8325 has been updated by wnovak (Werner Novak). Also tried it with Redmine 2.2.4 under ruby 1.9.3 p392, with the same results, see dump below: #> dbx /opt/pware/ruby/1.9.3/bin/ruby core Type 'help' for help. [using memory image in core] reading symbolic information ... Illegal instruction (illegal opcode) in . at 0x0 ($t14) warning: Unable to access address 0x0 from core (dbx) where .() at 0x0 st_lookup(table = 0xd4aad6c8, key = 17, value = (nil)), line 341 in "st.c" search_method@AF293_120(??, ??), line 374 in "vm_method.c" rb_method_entry_get_without_cache(klass = 581288160, id = 581288180), line 393 in "vm_method.c" unnamed block in vm_exec_core(th = (nil), initial = 0), line 2080 in "vm_insnhelper.c" unnamed block in vm_exec_core(th = (nil), initial = 0), line 2080 in "vm_insnhelper.c" vm_exec_core(th = (nil), initial = 0), line 2080 in "vm_insnhelper.c" unnamed block in vm_exec(th = 0x225565f8), line 1236 in "vm.c" unnamed block in vm_exec(th = 0x225565f8), line 1236 in "vm.c" vm_exec(th = 0x225565f8), line 1236 in "vm.c" rb_vm_invoke_proc(th = 0x225565f8, proc = 0x22dfb8f8, self = 554994300, argc = 1, argv = 0x22af8d10, blockptr = (nil)), line 640 in "vm.c" proc_call(argc = 576022008, argv = 0x213df958, procval = 554994300), line 561 in "proc.c" vm_call_method(th = 0x229a58a4, cfp = 0x229a58b8, num = 586449168, blockptr = 0x22f482d4, flag = 586449616, id = 586449224, me = 0x22f48100, recv = 537705864), line 317 in "vm_insnhelper.c" unnamed block in vm_exec_core(th = 0x00000001, initial = 570025340), line 1018 in "insns.def" unnamed block in vm_exec_core(th = 0x00000001, initial = 570025340), line 1018 in "insns.def" vm_exec_core(th = 0x00000001, initial = 570025340), line 1018 in "insns.def" unnamed block in vm_exec(th = 0x225565f8), line 1236 in "vm.c" unnamed block in vm_exec(th = 0x225565f8), line 1236 in "vm.c" vm_exec(th = 0x225565f8), line 1236 in "vm.c" rb_yield(val = 580541480), line 648 in "vm.c" rb_ary_each(array = 3568469004), line 1495 in "array.c" vm_call_method(th = 0x229975b0, cfp = 0x2299a198, num = 1, blockptr = 0x2298d09c, flag = 550528788, id = 3, me = 0x12e20067, recv = 1), line 320 in "vm_insnhelper.c" unnamed block in vm_exec_core(th = (nil), initial = 0), line 1018 in "insns.def" unnamed block in vm_exec_core(th = (nil), initial = 0), line 1018 in "insns.def" vm_exec_core(th = (nil), initial = 0), line 1018 in "insns.def" unnamed block in vm_exec(th = 0x225565f8), line 1236 in "vm.c" unnamed block in vm_exec(th = 0x225565f8), line 1236 in "vm.c" vm_exec(th = 0x225565f8), line 1236 in "vm.c" rb_vm_invoke_proc(th = 0x225565f8, proc = 0x222899e8, self = 577397360, argc = 0, argv = 0x2298dd24, blockptr = (nil)), line 640 in "vm.c" thread_start_func_2(th = 0x225565f8, stack_start = (nil)), line 460 in "thread.c" unnamed block in thread_start_func_1(th_ptr = (nil)), line 654 in "thread_pthread.c" thread_start_func_1(th_ptr = (nil)), line 654 in "thread_pthread.c" (dbx) ---------------------------------------- Backport #8325: Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1 https://bugs.ruby-lang.org/issues/8325#change-38907 Author: wnovak (Werner Novak) Status: Open Priority: Normal Assignee: Category: Target version: 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) !! -- http://bugs.ruby-lang.org/