Public bug reported: Binary package hint: ruby1.9.1
A ruby/tk program of mine which works correctly under Ruby 1.8 and under a Ruby 1.9.1 which I compiled from source crashes at startup with the following backtrace: ruby1.9.1 ~/wdrive/epspdf/trunk/epspdftk.rb /usr/lib/ruby/1.9.1/tk/event.rb:451: [BUG] Segmentation fault ruby 1.9.1p243 (2009-07-16 revision 24175) [i486-linux] -- control frame ---------- c:0012 p:---- s:0039 b:0039 l:000038 d:000038 CFUNC :_define_attribute_aliases c:0011 p:2128 s:0035 b:0035 l:001b60 d:001b60 CLASS /usr/lib/ruby/1.9.1/tk/event.rb:451 c:0010 p:0019 s:0032 b:0032 l:000031 d:000031 CLASS /usr/lib/ruby/1.9.1/tk/event.rb:16 c:0009 p:0043 s:0030 b:0030 l:000029 d:000029 TOP /usr/lib/ruby/1.9.1/tk/event.rb:15 c:0008 p:---- s:0028 b:0028 l:000027 d:000027 FINISH c:0007 p:0010 s:0026 b:0025 l:000024 d:000024 CLASS /usr/lib/ruby/1.9.1/tk.rb:913 c:0006 p:0077 s:0023 b:0023 l:000022 d:000022 TOP /usr/lib/ruby/1.9.1/tk.rb:912 c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require c:0003 p:0162 s:0006 b:0006 l:0013c4 d:00036c EVAL /home/siepo/wdrive/epspdf/trunk/epspdftk.rb:55 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:0013c4 d:0013c4 TOP --------------------------- -- Ruby level backtrace information----------------------------------------- /usr/lib/ruby/1.9.1/tk/event.rb:451:in `_define_attribute_aliases' /usr/lib/ruby/1.9.1/tk/event.rb:451:in `<class:Event>' /usr/lib/ruby/1.9.1/tk/event.rb:16:in `<module:TkEvent>' /usr/lib/ruby/1.9.1/tk/event.rb:15:in `<top (required)>' /usr/lib/ruby/1.9.1/tk.rb:913:in `<module:TkComm>' /usr/lib/ruby/1.9.1/tk.rb:912:in `<top (required)>' /home/siepo/wdrive/epspdf/trunk/epspdftk.rb:55:in `require' /home/siepo/wdrive/epspdf/trunk/epspdftk.rb:55:in `<main>' -- C level backtrace information ------------------------------------------- 0x23a6e9 /usr/lib/libruby-1.9.1.so.1.9(rb_vm_bugreport+0x69) [0x23a6e9] 0x15607f /usr/lib/libruby-1.9.1.so.1.9 [0x15607f] 0x15611a /usr/lib/libruby-1.9.1.so.1.9(rb_bug+0x3a) [0x15611a] 0x1e1fa4 /usr/lib/libruby-1.9.1.so.1.9 [0x1e1fa4] 0xab3410 [0xab3410] 0x1e81ae /usr/lib/libruby-1.9.1.so.1.9(st_lookup+0xe) [0x1e81ae] 0x2271e6 /usr/lib/libruby-1.9.1.so.1.9 [0x2271e6] 0x227251 /usr/lib/libruby-1.9.1.so.1.9(rb_get_method_body+0x31) [0x227251] 0x22b2d7 /usr/lib/libruby-1.9.1.so.1.9(rb_funcall+0xd7) [0x22b2d7] 0xef19c7 /usr/lib/ruby/1.9.1/i486-linux/tkutil.so [0xef19c7] 0x228983 /usr/lib/libruby-1.9.1.so.1.9 [0x228983] 0x228ce1 /usr/lib/libruby-1.9.1.so.1.9 [0x228ce1] 0x234ddc /usr/lib/libruby-1.9.1.so.1.9 [0x234ddc] 0x22e1ee /usr/lib/libruby-1.9.1.so.1.9 [0x22e1ee] 0x231508 /usr/lib/libruby-1.9.1.so.1.9 [0x231508] 0x2317fa /usr/lib/libruby-1.9.1.so.1.9(rb_iseq_eval+0x12a) [0x2317fa] 0x159ffd /usr/lib/libruby-1.9.1.so.1.9(rb_load+0x18d) [0x159ffd] 0x15ae78 /usr/lib/libruby-1.9.1.so.1.9(rb_require_safe+0x618) [0x15ae78] 0x2129e5 /usr/lib/libruby-1.9.1.so.1.9(rb_autoload_load+0xa5) [0x2129e5] 0x2152d6 /usr/lib/libruby-1.9.1.so.1.9 [0x2152d6] 0x22f519 /usr/lib/libruby-1.9.1.so.1.9 [0x22f519] 0x231508 /usr/lib/libruby-1.9.1.so.1.9 [0x231508] 0x2317fa /usr/lib/libruby-1.9.1.so.1.9(rb_iseq_eval+0x12a) [0x2317fa] 0x159ffd /usr/lib/libruby-1.9.1.so.1.9(rb_load+0x18d) [0x159ffd] 0x15ae78 /usr/lib/libruby-1.9.1.so.1.9(rb_require_safe+0x618) [0x15ae78] 0x15b166 /usr/lib/libruby-1.9.1.so.1.9(rb_f_require+0x26) [0x15b166] 0x228983 /usr/lib/libruby-1.9.1.so.1.9 [0x228983] 0x228ce1 /usr/lib/libruby-1.9.1.so.1.9 [0x228ce1] 0x234ddc /usr/lib/libruby-1.9.1.so.1.9 [0x234ddc] 0x22e1ee /usr/lib/libruby-1.9.1.so.1.9 [0x22e1ee] 0x231508 /usr/lib/libruby-1.9.1.so.1.9 [0x231508] 0x2316ab /usr/lib/libruby-1.9.1.so.1.9(rb_iseq_eval_main+0xab) [0x2316ab] 0x158007 /usr/lib/libruby-1.9.1.so.1.9(ruby_exec_node+0xb7) [0x158007] 0x1595e6 /usr/lib/libruby-1.9.1.so.1.9(ruby_run_node+0x56) [0x1595e6] 0x80487e8 ruby1.9.1(main+0x68) [0x80487e8] 0x339b56 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x339b56] 0x80486e1 ruby1.9.1 [0x80486e1] [NOTE] You may encounter a bug of Ruby interpreter. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html Aborted Additionally, this same program suffers under bug #511339 when run by ruby1.9. I am open to suggestions how to narrow this down. Ubuntu release: Karmic Package version: 1.9.1.243-2 ** Affects: ruby1.9.1 (Ubuntu) Importance: Undecided Status: New -- segfault while executing "require 'tk'" https://bugs.launchpad.net/bugs/511355 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
