Project

General

Profile

Actions

Bug #8326

closed

Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1

Added by wnovak (Werner Novak) almost 11 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.0.0p0 (2013-02-24 revision 39474) [powerpc-aix6.1.0.0]
Backport:
[ruby-core:54583]

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) !!

Additional Infos:
Environment:
Redmine version 2.3.0.stable
Ruby version 2.0.0 (powerpc-aix6.1.0.0)
Rails version 3.2.13
Environment production
Database adapter SQLite
Redmine plugins:
redmine_ldap_sync 2.0.0.devel

OS Infos:
#> oslevel -s
7100-02-02-1316
#> rpm -qa
libiconv-1.14-321
libconfuse-2.7-321
expat-2.1.0-321
unzip-5.51-1
lsof-4.61-3
zlib-1.2.7-321
nrpe-2.14-321
texinfo-4.13a-321
readline-6.2-321
bzip2-1.0.6-321
gettext-0.10.40-8
gmond-3.4.0-321
gdbm-1.10-321
gmp-5.0.5-321
file-5.14-321
sqlite-3.7.15.2-321
libffi-3.0.11-321
pkg-config-0.25-321
pcre-8.31-321
libtool-2.4.2-321
AIX-rpm-7.1.2.15-6
apr-1.4.6-321
nagios-plugins-1.4.16-321
openssl-1.0.1e-321
libidn-1.26-321
perl-5.16.3-321
neon-0.29.6-321
db-5.3.21-321
openldap-2.4.33-321
apr-util-1.5.1-321
httpd-2.4.4-321
coreutils-8.5-321
tcl-8.5.13-321
tk-8.5.13-321
Python-2.7.3-321
subversion-1.7.9-321
libxml2-2.9.0-321
xz-5.0.4-321
libxslt-1.1.28-321
libgcrypt-1.5.0-321
libgpg-error-1.10-321
samba-3.6.12-321
ruby-2.0.0-321
libssh2-1.4.3-321
curl-7.29.0-321

All modules wher compiled with:
IBM XL C/C++ for AIX, V10.1
Version: 10.01.0000.0017


Files

sbr_mark_locations_array.png (6.49 KB) sbr_mark_locations_array.png kaustubh (Kaustubh D), 11/11/2013 05:00 PM

Related issues 1 (0 open1 closed)

Related to Backport200 - Backport #8325: Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1Rejected04/25/2013Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0