[ruby-core:32895] [Backport192-Backport#3980][Open] Try to use GTK2 + libglade in ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]

From: gabriel mancini <redmine@...>
Date: 2010-10-24 23:30:03 UTC
List: ruby-core #32895
Backport #3980: Try to use GTK2 + libglade in ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
http://redmine.ruby-lang.org/issues/show/3980

Author: gabriel mancini
Status: Open, Priority: Normal
Assigned to: Yuki Sonoda, Category: core

irb(main):002:0> require 'gtk2'                                            
/home/gabriel/.rvm/gems/ruby-1.9.2-p0@gtk2/gems/glib2-0.90.3/lib/glib2.rb:173: [BUG] Segmentation fault
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]                                                

-- control frame ----------
c:0038 p:---- s:0145 b:0145 l:000144 d:000144 CFUNC  :set_handler
c:0037 p:0062 s:0140 b:0140 l:000139 d:000139 METHOD /home/gabriel/.rvm/gems/ruby-1.9.2-p0@gtk2/gems/glib2-0.90.3/lib/glib2.rb:173
c:0036 p:0225 s:0135 b:0135 l:000134 d:000134 TOP    /home/gabriel/.rvm/gems/ruby-1.9.2-p0@gtk2/gems/glib2-0.90.3/lib/glib2.rb:203
c:0035 p:---- s:0128 b:0128 l:000127 d:000127 FINISH                                                                              
c:0034 p:---- s:0126 b:0126 l:000125 d:000125 CFUNC  :require                                                                     
c:0033 p:0013 s:0122 b:0122 l:000121 d:000121 METHOD <internal:lib/rubygems/custom_require>:29                                    
c:0032 p:0011 s:0117 b:0117 l:000116 d:000116 TOP    /home/gabriel/.rvm/gems/ruby-1.9.2-p0@gtk2/gems/gtk2-0.90.3/lib/gtk2/base.rb:12
c:0031 p:---- s:0109 b:0109 l:000108 d:000108 FINISH                                                                                
c:0030 p:---- s:0107 b:0107 l:000106 d:000106 CFUNC  :require                                                                       
c:0029 p:0013 s:0103 b:0103 l:000102 d:000102 METHOD <internal:lib/rubygems/custom_require>:29                                      
c:0028 p:0011 s:0098 b:0098 l:000097 d:000097 TOP    /home/gabriel/.rvm/gems/ruby-1.9.2-p0@gtk2/gems/gtk2-0.90.3/lib/gtk2.rb:11     
c:0027 p:---- s:0096 b:0096 l:000095 d:000095 FINISH                                                                                
c:0026 p:---- s:0094 b:0094 l:000093 d:000093 CFUNC  :require                                                                       
c:0025 p:0073 s:0090 b:0090 l:000086 d:000089 BLOCK  <internal:lib/rubygems/custom_require>:33                                      
c:0024 p:0014 s:0087 b:0087 l:000086 d:000086 METHOD <internal:lib/rubygems/custom_require>:29                                      
c:0023 p:0011 s:0082 b:0082 l:000778 d:000081 EVAL   (irb):2                                                                        
c:0022 p:---- s:0080 b:0080 l:000079 d:000079 FINISH                                                                                
c:0021 p:---- s:0078 b:0078 l:000077 d:000077 CFUNC  :eval                                                                          
c:0020 p:0028 s:0071 b:0071 l:000070 d:000070 METHOD /home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/workspace.rb:80     
c:0019 p:0033 s:0064 b:0063 l:000062 d:000062 METHOD /home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/context.rb:254      
c:0018 p:0031 s:0058 b:0058 l:0026a8 d:000057 BLOCK  /home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:159              
c:0017 p:0042 s:0050 b:0050 l:000049 d:000049 METHOD /home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:273              
c:0016 p:0011 s:0045 b:0045 l:0026a8 d:000044 BLOCK  /home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:156              
c:0015 p:0144 s:0041 b:0041 l:000024 d:000040 BLOCK  /home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:243     
c:0014 p:---- s:0038 b:0038 l:000037 d:000037 FINISH                                                                                
c:0013 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC  :loop                                                                          
c:0012 p:0009 s:0033 b:0033 l:000024 d:000032 BLOCK  /home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:229     
c:0011 p:---- s:0031 b:0031 l:000030 d:000030 FINISH                                                                                
c:0010 p:---- s:0029 b:0029 l:000028 d:000028 CFUNC  :catch                                                                         
c:0009 p:0023 s:0025 b:0025 l:000024 d:000024 METHOD /home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:228     
c:0008 p:0046 s:0022 b:0022 l:0026a8 d:0026a8 METHOD /home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:155              
c:0007 p:0011 s:0019 b:0019 l:000758 d:000018 BLOCK  /home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:70               
c:0006 p:---- s:0017 b:0017 l:000016 d:000016 FINISH                                                                                
c:0005 p:---- s:0015 b:0015 l:000014 d:000014 CFUNC  :catch                                                                         
c:0004 p:0183 s:0011 b:0011 l:000758 d:000758 METHOD /home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:69               
c:0003 p:0177 s:0006 b:0006 l:000748 d:001398 EVAL   /home/gabriel/.rvm/rubies/ruby-1.9.2-p0/bin/irb:17                             
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH                                                                                
c:0001 p:0000 s:0002 b:0002 l:000748 d:000748 TOP                                                                                   
---------------------------                                                                                                         
-- Ruby level backtrace information ----------------------------------------                                                        
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/bin/irb:17:in `<main>'                                                                      
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:69:in `start'                                                         
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:69:in `catch'                                                         
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:70:in `block in start'                                                
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:155:in `eval_input'                                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement'                            
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch'                                               
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement'                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop'                                                
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement'        
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input'                                          
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:273:in `signal_status'                                                
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input'                               
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate'                                             
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate'                                            
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval'                                                
(irb):2:in `irb_binding'                                                                                                            
<internal:lib/rubygems/custom_require>:29:in `require'                                                                              
<internal:lib/rubygems/custom_require>:33:in `rescue in require'                                                                    
<internal:lib/rubygems/custom_require>:33:in `require'                                                                              
/home/gabriel/.rvm/gems/ruby-1.9.2-p0@gtk2/gems/gtk2-0.90.3/lib/gtk2.rb:11:in `<top (required)>'                                    
<internal:lib/rubygems/custom_require>:29:in `require'                                                                              
<internal:lib/rubygems/custom_require>:29:in `require'                                                                              
/home/gabriel/.rvm/gems/ruby-1.9.2-p0@gtk2/gems/gtk2-0.90.3/lib/gtk2/base.rb:12:in `<top (required)>'                               
<internal:lib/rubygems/custom_require>:29:in `require'                                                                              
<internal:lib/rubygems/custom_require>:29:in `require'                                                                              
/home/gabriel/.rvm/gems/ruby-1.9.2-p0@gtk2/gems/glib2-0.90.3/lib/glib2.rb:203:in `<top (required)>'                                 
/home/gabriel/.rvm/gems/ruby-1.9.2-p0@gtk2/gems/glib2-0.90.3/lib/glib2.rb:173:in `set_log_domain'                                   
/home/gabriel/.rvm/gems/ruby-1.9.2-p0@gtk2/gems/glib2-0.90.3/lib/glib2.rb:173:in `set_handler'                                      

-- C level backtrace information -------------------------------------------
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_vm_bugreport+0x5f) [0x7f9252e49b5f]
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252d376e6]                      
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_bug+0xb3) [0x7f9252d37883]         
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252ddc465]                      
/lib/libpthread.so.0 [0x7f9252ac8190]                                                            
/home/gabriel/.rvm/gems/ruby-1.9.2-p0@gtk2/gems/glib2-0.90.3/lib/glib2.so(rbg_rval2cstr+0x39) [0x7f9251642fb9]
/home/gabriel/.rvm/gems/ruby-1.9.2-p0@gtk2/gems/glib2-0.90.3/lib/glib2.so [0x7f925164f1a1]                    
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e44928]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e37a69]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e3ead9]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_iseq_eval+0x1e6) [0x7f9252e3f116]               
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252d3d0d0]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_require_safe+0x67f) [0x7f9252d3e80f]            
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e44928]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e37a69]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e3ead9]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_iseq_eval+0x1e6) [0x7f9252e3f116]               
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252d3d0d0]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_require_safe+0x67f) [0x7f9252d3e80f]            
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e44928]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e37a69]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e3ead9]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_iseq_eval+0x1e6) [0x7f9252e3f116]               
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252d3d0d0]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_require_safe+0x67f) [0x7f9252d3e80f]            
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e44928]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e37a69]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e3ead9]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e3f540]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_f_eval+0xd9) [0x7f9252e3fac9]                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e44928]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e37a69]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e3ead9]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e41fa9]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_rescue2+0x16b) [0x7f9252d3a00b]                 
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e348de]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e44928]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e37a69]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e3ead9]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e481a2]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_catch_obj+0xbe) [0x7f9252e3336e]                
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e3478e]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e44928]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e37a69]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e3ead9]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e481a2]                                   
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_catch_obj+0xbe) [0x7f9252e3336e]                
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e3478e]
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e44928]
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e37a69]
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252e3ead9]
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(rb_iseq_eval_main+0x280) [0x7f9252e3eef0]
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9 [0x7f9252d3a392]
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(ruby_exec_node+0x1d) [0x7f9252d3a3bd]
/home/gabriel/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.so.1.9(ruby_run_node+0x1e) [0x7f9252d3bd4e]
irb(main+0x4b) [0x4009fb]
/lib/libc.so.6(__libc_start_main+0xfd) [0x7f9251e9eabd]
irb [0x4008e9]

[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

Abortado


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next