From: Tanaka Akira Date: 2009-02-28T17:00:24+09:00 Subject: [ruby-core:22585] Re: ruby-1.9.1-p0 build failure on i586 In article <499B9A87.9080906@fedoraproject.org>, "Jeroen van Meeuwen (Fedora Project)" writes: > However, I get a i586 build failure: I installed Fedora 11 Alpha. % uname -a Linux fedora.localdomain 2.6.29-0.145.rc6.fc11.i586 #1 SMP Mon Feb 23 03:35:28 EST 2009 i686 i686 i386 GNU/Linux I see a build problem with -O3. The problem can be reproduced as follows. % ./miniruby -ve 'catch(:tag) { throw :tag }' ruby 1.9.2dev (2009-02-28 trunk 22672) [i686-linux] -e:1: [BUG] Segmentation fault ruby 1.9.2dev (2009-02-28 trunk 22672) [i686-linux] -- control frame ---------- c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :catch c:0003 p:0011 s:0006 b:0006 l:000e2c d:0007a4 EVAL -e:1 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:000e2c d:000e2c TOP
:17 --------------------------- -e:1:in `
' -e:1:in `catch' -- C level backtrace information ------------------------------------------- 0x81869b5 ./miniruby(rb_vm_bugreport+0xb5) [0x81869b5] 0x8088d46 ./miniruby [0x8088d46] 0x8088de8 ./miniruby(rb_bug+0x28) [0x8088de8] 0x8122430 ./miniruby [0x8122430] 0xff3410 [0xff3410] 0x817ec9c ./miniruby [0x817ec9c] 0x8172e7d ./miniruby [0x8172e7d] 0x8183817 ./miniruby [0x8183817] 0x8177ad4 ./miniruby [0x8177ad4] 0x817d8b1 ./miniruby [0x817d8b1] 0x817dba5 ./miniruby(rb_iseq_eval_main+0x195) [0x817dba5] 0x808b0ff ./miniruby(ruby_exec_node+0x9f) [0x808b0ff] 0x808c866 ./miniruby(ruby_run_node+0x46) [0x808c866] 0x8059b9e ./miniruby(main+0x6e) [0x8059b9e] 0x540736 /lib/libc.so.6(__libc_start_main+0xe6) [0x540736] 0x8059a91 ./miniruby [0x8059a91] [NOTE] You may encounter a bug of Ruby interpreter. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html However I couldn't find a way to work with gdb on Fedora... % gdb miniruby GNU gdb (GDB) Fedora (6.8.50.20090210-1.fc11) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu". For bug reporting instructions, please see: ... (gdb) run -ve 'catch(:tag) { throw :tag }' Starting program: /tmp/o3/ruby/miniruby -ve 'catch(:tag) { throw :tag }' [Thread debugging using libthread_db enabled] Error while reading shared library symbols: find_new_threads_callback: cannot get thread info: generic error find_new_threads_callback: cannot get thread info: generic error (gdb) bt Target is executing. (gdb) -- Tanaka Akira