An error is thrown during swig-3.0.5-5.fc23 ruby test suite run on s390 and very likely the same error is also on arm (currently has the ruby support disabled in f23). from build.log at http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1800834 ... checking Examples/ruby/mark_function runme.rb:15: [BUG] object allocation during garbage collection phase ruby 2.2.1p85 (2015-02-26 revision 49769) [s390-linux] -- Control frame information ----------------------------------------------- c:0003 p:---- s:0011 e:000010 CFUNC :start c:0002 p:0065 s:0008 E:00253c EVAL runme.rb:15 [FINISH] c:0001 p:0000 s:0002 E:001824 TOP [FINISH] -- Ruby level backtrace information ---------------------------------------- runme.rb:15:in `<main>' runme.rb:15:in `start' -- C level backtrace information ------------------------------------------- /lib/libruby.so.2.2 [0x7d2945b6] /lib/libruby.so.2.2 [0x7d294666] /lib/libruby.so.2.2(rb_bug+0x7e) [0x7d177ade] /lib/libruby.so.2.2 [0x7d198346] /lib/libruby.so.2.2(rb_newobj_of+0x1a) [0x7d198392] /lib/libruby.so.2.2 [0x7d144c92] /lib/libruby.so.2.2(rb_uint2big+0x2c) [0x7d14e67c] /lib/libruby.so.2.2(rb_int2big+0x1a) [0x7d14e6da] /builddir/build/BUILD/swig-3.0.5/Examples/ruby/mark_function/example.so(rb_long2num_inline+0x4c) [0x7cd7336c] /builddir/build/BUILD/swig-3.0.5/Examples/ruby/mark_function/example.so [0x7cd73b9a] /builddir/build/BUILD/swig-3.0.5/Examples/ruby/mark_function/example.so [0x7cd73c76] /builddir/build/BUILD/swig-3.0.5/Examples/ruby/mark_function/example.so [0x7cd74f48] /lib/libruby.so.2.2 [0x7d193f3a] /lib/libruby.so.2.2 [0x7d1967b0] /lib/libruby.so.2.2 [0x7d196c04] /lib/libruby.so.2.2 [0x7d197d60] /lib/libruby.so.2.2 [0x7d28115a] /lib/libruby.so.2.2 [0x7d28f65c] /lib/libruby.so.2.2 [0x7d2847a2] /lib/libruby.so.2.2 [0x7d289194] /lib/libruby.so.2.2(rb_iseq_eval_main+0x8c) [0x7d28a90c] /lib/libruby.so.2.2 [0x7d17ab62] /lib/libruby.so.2.2(ruby_exec_node+0x26) [0x7d17c636] /lib/libruby.so.2.2(ruby_run_node+0x28) [0x7d17e1a8] /usr/bin/ruby-mri [0x557c37e8] /lib/libc.so.6(__libc_start_main+0xce) [0x7ce99b46] /usr/bin/ruby-mri [0x557c3926] -- Other runtime information ----------------------------------------------- * Loaded script: runme.rb * Loaded features: 0 enumerator.so 1 rational.so 2 complex.so 3 /usr/lib/ruby/enc/encdb.so 4 /usr/lib/ruby/enc/trans/transdb.so 5 /usr/share/ruby/unicode_normalize.rb 6 /usr/lib/ruby/rbconfig.rb 7 thread.rb 8 /usr/lib/ruby/thread.so 9 /usr/share/rubygems/rubygems/compatibility.rb 10 /usr/share/rubygems/rubygems/defaults.rb 11 /usr/share/rubygems/rubygems/deprecate.rb 12 /usr/share/rubygems/rubygems/errors.rb 13 /usr/share/rubygems/rubygems/version.rb 14 /usr/share/rubygems/rubygems/requirement.rb 15 /usr/share/rubygems/rubygems/platform.rb 16 /usr/share/rubygems/rubygems/basic_specification.rb 17 /usr/share/rubygems/rubygems/stub_specification.rb 18 /usr/share/rubygems/rubygems/util/stringio.rb 19 /usr/share/rubygems/rubygems/specification.rb 20 /usr/share/rubygems/rubygems/exceptions.rb 21 /usr/share/rubygems/rubygems/defaults/operating_system.rb 22 /usr/share/rubygems/rubygems/core_ext/kernel_gem.rb 23 /usr/share/ruby/monitor.rb 24 /usr/share/rubygems/rubygems/core_ext/kernel_require.rb 25 /usr/share/rubygems/rubygems.rb 26 /builddir/build/BUILD/swig-3.0.5/Examples/ruby/mark_function/example.so * Process memory map: 557c3000-557c4000 r-xp 00000000 fd:00 2627804 /usr/bin/ruby-mri 557c4000-557c5000 r--p 00000000 fd:00 2627804 /usr/bin/ruby-mri 557c5000-557c6000 rw-p 00001000 fd:00 2627804 /usr/bin/ruby-mri 55858000-55ac0000 rw-p 00000000 00:00 0 [heap] 7c78a000-7c953000 r--s 00000000 fd:00 2632224 /usr/lib/libc-2.21.90.so 7c953000-7c965000 r--s 00000000 fd:00 668449 /builddir/build/BUILD/swig-3.0.5/Examples/ruby/mark_function/example.so 7c965000-7cbd1000 r--s 00000000 fd:00 2631288 /usr/lib/libruby.so.2.2.0 7cbd1000-7cbdf000 r-xp 00000000 fd:00 2632173 /usr/lib/libgcc_s-5.0.0-20150319.so.1 7cbdf000-7cbe0000 r--p 0000d000 fd:00 2632173 /usr/lib/libgcc_s-5.0.0-20150319.so.1 7cbe0000-7cbe1000 rw-p 0000e000 fd:00 2632173 /usr/lib/libgcc_s-5.0.0-20150319.so.1 7cbe1000-7cd5a000 r-xp 00000000 fd:00 2632271 /usr/lib/libstdc++.so.6.0.21 7cd5a000-7cd5f000 r--p 00179000 fd:00 2632271 /usr/lib/libstdc++.so.6.0.21 7cd5f000-7cd61000 rw-p 0017e000 fd:00 2632271 /usr/lib/libstdc++.so.6.0.21 7cd61000-7cd63000 rw-p 00000000 00:00 0 7cd6a000-7cd6c000 r--s 00000000 fd:00 2627804 /usr/bin/ruby-mri 7cd6c000-7cd79000 r-xp 00000000 fd:00 668449 /builddir/build/BUILD/swig-3.0.5/Examples/ruby/mark_function/example.so 7cd79000-7cd7a000 r--p 0000c000 fd:00 668449 /builddir/build/BUILD/swig-3.0.5/Examples/ruby/mark_function/example.so 7cd7a000-7cd7b000 rw-p 0000d000 fd:00 668449 /builddir/build/BUILD/swig-3.0.5/Examples/ruby/mark_function/example.so 7cd7b000-7cd7e000 r-xp 00000000 fd:00 2763802 /usr/lib/ruby/thread.so 7cd7e000-7cd7f000 r--p 00002000 fd:00 2763802 /usr/lib/ruby/thread.so 7cd7f000-7cd80000 rw-p 00000000 00:00 0 7cd80000-7cd82000 r-xp 00000000 fd:00 2753540 /usr/lib/ruby/enc/trans/transdb.so 7cd82000-7cd83000 r--p 00001000 fd:00 2753540 /usr/lib/ruby/enc/trans/transdb.so 7cd83000-7ce06000 rw-p 00000000 00:00 0 7ce06000-7ce79000 r-xp 00000000 fd:00 2632176 /usr/lib/libfreebl3.so 7ce79000-7ce7a000 r--p 00073000 fd:00 2632176 /usr/lib/libfreebl3.so 7ce7a000-7ce7b000 rw-p 00074000 fd:00 2632176 /usr/lib/libfreebl3.so 7ce7b000-7ce7f000 rw-p 00000000 00:00 0 7ce7f000-7d00a000 r-xp 00000000 fd:00 2632224 /usr/lib/libc-2.21.90.so 7d00a000-7d00c000 r--p 0018a000 fd:00 2632224 /usr/lib/libc-2.21.90.so 7d00c000-7d00d000 rw-p 0018c000 fd:00 2632224 /usr/lib/libc-2.21.90.so 7d00d000-7d011000 rw-p 00000000 00:00 0 7d011000-7d0bd000 r-xp 00000000 fd:00 2632233 /usr/lib/libm-2.21.90.so 7d0bd000-7d0be000 r--p 000ab000 fd:00 2632233 /usr/lib/libm-2.21.90.so 7d0be000-7d0bf000 rw-p 000ac000 fd:00 2632233 /usr/lib/libm-2.21.90.so 7d0bf000-7d0c8000 r-xp 00000000 fd:00 2632228 /usr/lib/libcrypt-2.21.90.so 7d0c8000-7d0c9000 r--p 00008000 fd:00 2632228 /usr/lib/libcrypt-2.21.90.so 7d0c9000-7d0ca000 rw-p 00009000 fd:00 2632228 /usr/lib/libcrypt-2.21.90.so 7d0ca000-7d0f1000 rw-p 00000000 00:00 0 7d0f1000-7d0f4000 r-xp 00000000 fd:00 2632230 /usr/lib/libdl-2.21.90.so 7d0f4000-7d0f5000 r--p 00002000 fd:00 2632230 /usr/lib/libdl-2.21.90.so 7d0f5000-7d0f6000 rw-p 00003000 fd:00 2632230 /usr/lib/libdl-2.21.90.so 7d0f6000-7d10e000 r-xp 00000000 fd:00 2632251 /usr/lib/libpthread-2.21.90.so 7d10e000-7d10f000 r--p 00017000 fd:00 2632251 /usr/lib/libpthread-2.21.90.so 7d10f000-7d110000 rw-p 00018000 fd:00 2632251 /usr/lib/libpthread-2.21.90.so 7d110000-7d112000 rw-p 00000000 00:00 0 7d112000-7d370000 r-xp 00000000 fd:00 2631288 /usr/lib/libruby.so.2.2.0 7d370000-7d373000 r--p 0025d000 fd:00 2631288 /usr/lib/libruby.so.2.2.0 7d373000-7d375000 rw-p 00260000 fd:00 2631288 /usr/lib/libruby.so.2.2.0 7d375000-7d37e000 rw-p 00000000 00:00 0 7d37e000-7d380000 r-xp 00000000 fd:00 2753498 /usr/lib/ruby/enc/encdb.so 7d380000-7d381000 r--p 00001000 fd:00 2753498 /usr/lib/ruby/enc/encdb.so 7d381000-7d382000 rw-p 00000000 00:00 0 7d382000-7d383000 ---p 00000000 00:00 0 7d383000-7d389000 rw-p 00000000 00:00 0 [stack:13124] 7d389000-7d38b000 r-xp 00000000 00:00 0 [vdso] 7d38b000-7d3ac000 r-xp 00000000 fd:00 2632217 /usr/lib/ld-2.21.90.so 7d3ac000-7d3ad000 r--p 00020000 fd:00 2632217 /usr/lib/ld-2.21.90.so 7d3ad000-7d3ae000 rw-p 00021000 fd:00 2632217 /usr/lib/ld-2.21.90.so 7f50f000-7fd0f000 rw-p 00000000 00:00 0 [stack] [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html /bin/sh: line 1: 13123 Aborted ruby -I. runme.rb > /dev/null ../../Makefile:1082: recipe for target 'ruby_run' failed Makefile:9: recipe for target 'check' failed Makefile:251: recipe for target 'mark_function.actionexample' failed make[3]: *** [ruby_run] Error 134 make[2]: *** [check] Error 2 make[1]: *** [mark_function.actionexample] Error 2 A google search returns couple hopefully useful results https://github.com/swig/swig/issues/225 https://bugs.ruby-lang.org/issues/10968 https://bugs.ruby-lang.org/issues/10933 so there is a chance it is fixed in the latest ruby 2.2 Version-Release number of selected component (if applicable): ruby-2.2.1-10.fc23
I'd say that [1] is the right issue. And it seems to be SWIG issue, since there is not possible direct conversion between pointer and fixnum. First I thought it is BE vs LE issue, but now I can reproduce it on i386 as well, although just under GDB, which is a bit weird ... [1] https://github.com/swig/swig/issues/225
Actually, I cant see any relevant code change since 2007, so this behavior has to be exposed by some environment change.
I submitted patch fixing this issue upstream [1], but since it changes the implementation quite a bit, I'd prefer to have so feedback from upstream first. [1] https://github.com/swig/swig/pull/444
(In reply to Vít Ondruch from comment #3) > I submitted patch fixing this issue upstream [1], but since it changes the > implementation quite a bit, I'd prefer to have so feedback from upstream > first. > > > > [1] https://github.com/swig/swig/pull/444 I'll backport the patches to SWIG, once they are accepted by upstream.
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23
swig-3.0.7-5.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15903
swig-3.0.7-5.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update swig'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15903
swig-3.0.7-6.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16287
swig-3.0.7-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16289
swig-3.0.7-3.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16291
swig-3.0.7-3.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update swig' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16291
swig-3.0.7-3.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update swig' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16289
swig-3.0.7-6.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update swig' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16287
swig-3.0.7-6.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
swig-3.0.7-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
swig-3.0.7-3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.