Anyone seeing stuff like this when attempting to use ruby and tk?

/usr/local/lib/ruby/1.8/tk/event.rb:443: [BUG] Bus Error
ruby 1.8.6 (2009-06-08) [x86_64-openbsd4.6]

Abort trap (core dumped) 

This is from trying to port RubyGo, but I don't know anything about tk.
So any help, input would be appreciated from ruby-tk guys.

I get a ruby.core file with a long backtrace:

#0  0x000000020bc5537a in kill () from /usr/lib/libc.so.51.0
#1  0x000000020bca1765 in abort () at /usr/src/lib/libc/stdlib/abort.c:68
#2  0x000000020f66709c in rb_bug () from /usr/local/lib/libruby.so.2.0
#3  0x000000020f6ca542 in sigbus () from /usr/local/lib/libruby.so.2.0
#4  <signal handler called>
#5  0x000000020f6882d2 in gc_mark () from /usr/local/lib/libruby.so.2.0
#6  0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#7  0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#8  0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#9  0x000000020f6881e4 in mark_keyvalue () from /usr/local/lib/libruby.so.2.0
#10 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#11 0x000000020f688218 in mark_hash () from /usr/local/lib/libruby.so.2.0
#12 0x000000020f6885c0 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#13 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#14 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#15 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#16 0x000000020f6dd100 in rb_mark_generic_ivar () from 
/usr/local/lib/libruby.so.2.0
#17 0x000000020f688ae5 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#18 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#19 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#20 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#21 0x000000020f688514 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#22 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#23 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#24 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#25 0x000000020f688506 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#26 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#27 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#28 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#29 0x000000020f688514 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#30 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#31 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#32 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#33 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#34 0x000000020f688514 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#35 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#36 0x000000020f6881e4 in mark_keyvalue () from /usr/local/lib/libruby.so.2.0
#37 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#38 0x000000020f688218 in mark_hash () from /usr/local/lib/libruby.so.2.0
#39 0x000000020f6885c0 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#40 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#41 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#42 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#43 0x000000020f688514 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#44 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#45 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#46 0x000000020f6886cf in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#47 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#48 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#49 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#50 0x000000020f688506 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#51 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#52 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#53 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#54 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#55 0x000000020f688514 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#56 0x000000020f6886cf in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#57 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#58 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#59 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#60 0x000000020f688506 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#61 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#62 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#63 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#64 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#65 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#66 0x000000020f688514 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#67 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#68 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#69 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#70 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#71 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
---Type <return> to continue, or q <return> to quit--- 
#72 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#73 0x000000020f688514 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#74 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#75 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#76 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#77 0x000000020f688514 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#78 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#79 0x000000020f68812e in mark_entry () from /usr/local/lib/libruby.so.2.0
#80 0x000000020f6cd150 in st_foreach () from /usr/local/lib/libruby.so.2.0
#81 0x000000020f688158 in mark_tbl () from /usr/local/lib/libruby.so.2.0
#82 0x000000020f688514 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#83 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#84 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#85 0x000000020f6883d9 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#86 0x000000020f6886cf in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#87 0x000000020f6886cf in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#88 0x000000020f6888ec in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#89 0x000000020f6886cf in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#90 0x000000020f688ab5 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#91 0x000000020f688712 in gc_mark_children () from /usr/local/lib/libruby.so.2.0
#92 0x000000020f6895ef in garbage_collect () from /usr/local/lib/libruby.so.2.0
#93 0x000000020f687825 in ruby_xmalloc () from /usr/local/lib/libruby.so.2.0
#94 0x000000020f6cc9da in st_init_table_with_size () from 
/usr/local/lib/libruby.so.2.0
#95 0x000000020f6cca2b in st_init_table () from /usr/local/lib/libruby.so.2.0
#96 0x000000020f6cca40 in st_init_numtable () from /usr/local/lib/libruby.so.2.0
#97 0x000000020f6dd441 in rb_ivar_set () from /usr/local/lib/libruby.so.2.0
#98 0x0000000212de236d in cbsubst_initialize () from 
/usr/local/lib/ruby/1.8/x86_64-openbsd4.6/tkutil.so
#99 0x000000020f682956 in call_cfunc () from /usr/local/lib/libruby.so.2.0
#100 0x000000020f674e8b in rb_call0 () from /usr/local/lib/libruby.so.2.0
#101 0x000000020f675969 in rb_call () from /usr/local/lib/libruby.so.2.0
#102 0x000000020f675fc5 in rb_funcall2 () from /usr/local/lib/libruby.so.2.0
#103 0x000000020f678e04 in rb_obj_call_init () from 
/usr/local/lib/libruby.so.2.0
#104 0x000000020f69e561 in rb_class_new_instance () from 
/usr/local/lib/libruby.so.2.0
#105 0x000000020f682956 in call_cfunc () from /usr/local/lib/libruby.so.2.0
#106 0x000000020f674e8b in rb_call0 () from /usr/local/lib/libruby.so.2.0
#107 0x000000020f675969 in rb_call () from /usr/local/lib/libruby.so.2.0
#108 0x000000020f66fa5c in rb_eval () from /usr/local/lib/libruby.so.2.0
#109 0x000000020f66faee in rb_eval () from /usr/local/lib/libruby.so.2.0
#110 0x000000020f6704df in rb_eval () from /usr/local/lib/libruby.so.2.0
#111 0x000000020f66f97d in rb_eval () from /usr/local/lib/libruby.so.2.0
#112 0x000000020f66f15c in rb_eval () from /usr/local/lib/libruby.so.2.0
#113 0x000000020f672c19 in rb_yield_0 () from /usr/local/lib/libruby.so.2.0
#114 0x000000020f67aed5 in proc_invoke () from /usr/local/lib/libruby.so.2.0
#115 0x000000020f68293e in call_cfunc () from /usr/local/lib/libruby.so.2.0
#116 0x000000020f674e8b in rb_call0 () from /usr/local/lib/libruby.so.2.0
#117 0x000000020f675969 in rb_call () from /usr/local/lib/libruby.so.2.0
#118 0x000000020f675fc5 in rb_funcall2 () from /usr/local/lib/libruby.so.2.0
#119 0x000000020f66be11 in rb_eval_cmd () from /usr/local/lib/libruby.so.2.0
#120 0x0000000212de027d in tk_eval_cmd () from 
/usr/local/lib/ruby/1.8/x86_64-openbsd4.6/tkutil.so
#121 0x000000020f682956 in call_cfunc () from /usr/local/lib/libruby.so.2.0
#122 0x000000020f674e8b in rb_call0 () from /usr/local/lib/libruby.so.2.0
#123 0x000000020f675969 in rb_call () from /usr/local/lib/libruby.so.2.0
#124 0x000000020f66fa5c in rb_eval () from /usr/local/lib/libruby.so.2.0
#125 0x000000020f66faee in rb_eval () from /usr/local/lib/libruby.so.2.0
#126 0x000000020f6751da in rb_call0 () from /usr/local/lib/libruby.so.2.0
#127 0x000000020f675969 in rb_call () from /usr/local/lib/libruby.so.2.0
#128 0x000000020f66fa5c in rb_eval () from /usr/local/lib/libruby.so.2.0
#129 0x000000020f6751da in rb_call0 () from /usr/local/lib/libruby.so.2.0
#130 0x000000020f675969 in rb_call () from /usr/local/lib/libruby.so.2.0
#131 0x000000020f66fa5c in rb_eval () from /usr/local/lib/libruby.so.2.0
#132 0x000000020f66f413 in rb_eval () from /usr/local/lib/libruby.so.2.0
#133 0x000000020f672c19 in rb_yield_0 () from /usr/local/lib/libruby.so.2.0
#134 0x000000020f6826c9 in rb_f_catch () from /usr/local/lib/libruby.so.2.0
#135 0x000000020f68293e in call_cfunc () from /usr/local/lib/libruby.so.2.0
#136 0x000000020f674e8b in rb_call0 () from /usr/local/lib/libruby.so.2.0
#137 0x000000020f675969 in rb_call () from /usr/local/lib/libruby.so.2.0
#138 0x000000020f66fa5c in rb_eval () from /usr/local/lib/libruby.so.2.0
#139 0x000000020f66ee66 in rb_eval () from /usr/local/lib/libruby.so.2.0
#140 0x000000020f66f39f in rb_eval () from /usr/local/lib/libruby.so.2.0
#141 0x000000020f66f15c in rb_eval () from /usr/local/lib/libruby.so.2.0
#142 0x000000020f6751da in rb_call0 () from /usr/local/lib/libruby.so.2.0
#143 0x000000020f675969 in rb_call () from /usr/local/lib/libruby.so.2.0
---Type <return> to continue, or q <return> to quit---
#144 0x000000020f675ab3 in rb_apply () from /usr/local/lib/libruby.so.2.0
#145 0x0000000209a85c4a in ip_ruby_cmd_core () from 
/usr/local/lib/ruby/1.8/x86_64-openbsd4.6/tcltklib.so
#146 0x000000020f6743e7 in rb_protect () from /usr/local/lib/libruby.so.2.0
#147 0x0000000209a853f0 in tcl_protect_core () from 
/usr/local/lib/ruby/1.8/x86_64-openbsd4.6/tcltklib.so
#148 0x0000000209a85a35 in tcl_protect () from 
/usr/local/lib/ruby/1.8/x86_64-openbsd4.6/tcltklib.so
#149 0x0000000209a85e71 in ip_ruby_cmd () from 
/usr/local/lib/ruby/1.8/x86_64-openbsd4.6/tcltklib.so
#150 0x000000020ecc6476 in TclEvalObjvInternal () from 
/usr/local/lib/libtcl85.so.0.4
#151 0x000000020ecc6c28 in TclEvalEx () from /usr/local/lib/libtcl85.so.0.4
#152 0x000000020ecc698f in Tcl_EvalEx () from /usr/local/lib/libtcl85.so.0.4
#153 0x000000020ecc7925 in TclEvalObjEx () from /usr/local/lib/libtcl85.so.0.4
#154 0x000000020ecceaa3 in Tcl_EvalObjCmd () from /usr/local/lib/libtcl85.so.0.4
#155 0x000000020ecc6476 in TclEvalObjvInternal () from 
/usr/local/lib/libtcl85.so.0.4
#156 0x000000020ed057e0 in TclExecuteByteCode () from 
/usr/local/lib/libtcl85.so.0.4
#157 0x000000020ed040a0 in TclCompEvalObj () from /usr/local/lib/libtcl85.so.0.4
#158 0x000000020ecc796b in TclEvalObjEx () from /usr/local/lib/libtcl85.so.0.4
#159 0x000000020ecce23f in Tcl_CatchObjCmd () from 
/usr/local/lib/libtcl85.so.0.4
#160 0x000000020ecc6476 in TclEvalObjvInternal () from 
/usr/local/lib/libtcl85.so.0.4
#161 0x000000020ed057e0 in TclExecuteByteCode () from 
/usr/local/lib/libtcl85.so.0.4
#162 0x000000020ed03c96 in Tcl_ExprObj () from /usr/local/lib/libtcl85.so.0.4
#163 0x000000020ecc7f43 in Tcl_ExprBooleanObj () from 
/usr/local/lib/libtcl85.so.0.4
#164 0x000000020ecd0e54 in Tcl_IfObjCmd () from /usr/local/lib/libtcl85.so.0.4
#165 0x000000020ecc6476 in TclEvalObjvInternal () from 
/usr/local/lib/libtcl85.so.0.4
#166 0x000000020ed057e0 in TclExecuteByteCode () from 
/usr/local/lib/libtcl85.so.0.4
#167 0x000000020ed41c20 in TclObjInterpProcCore () from 
/usr/local/lib/libtcl85.so.0.4
#168 0x000000020ed41bb8 in TclObjInterpProc () from 
/usr/local/lib/libtcl85.so.0.4
#169 0x000000020ecc6476 in TclEvalObjvInternal () from 
/usr/local/lib/libtcl85.so.0.4
#170 0x000000020ecc6c28 in TclEvalEx () from /usr/local/lib/libtcl85.so.0.4
#171 0x000000020ecc698f in Tcl_EvalEx () from /usr/local/lib/libtcl85.so.0.4
#172 0x00000002103c58ba in Tk_BindEvent () from /usr/local/lib/libtk85.so.0.4
#173 0x00000002103cae18 in TkBindEventProc () from /usr/local/lib/libtk85.so.0.4
#174 0x00000002103d226c in Tk_HandleEvent () from /usr/local/lib/libtk85.so.0.4
#175 0x00000002103d271e in WindowEventProc () from /usr/local/lib/libtk85.so.0.4
#176 0x000000020ed33ae1 in Tcl_ServiceEvent () from 
/usr/local/lib/libtcl85.so.0.4
#177 0x000000020ed33d0b in Tcl_DoOneEvent () from /usr/local/lib/libtcl85.so.0.4
#178 0x0000000209a83700 in call_DoOneEvent () from 
/usr/local/lib/ruby/1.8/x86_64-openbsd4.6/tcltklib.so
#179 0x000000020f6743e7 in rb_protect () from /usr/local/lib/libruby.so.2.0
#180 0x0000000209a838b7 in lib_eventloop_core () from 
/usr/local/lib/ruby/1.8/x86_64-openbsd4.6/tcltklib.so
#181 0x0000000209a84240 in lib_eventloop_main_core () from 
/usr/local/lib/ruby/1.8/x86_64-openbsd4.6/tcltklib.so
#182 0x000000020f674528 in rb_ensure () from /usr/local/lib/libruby.so.2.0
#183 0x0000000209a84762 in lib_eventloop_launcher () from 
/usr/local/lib/ruby/1.8/x86_64-openbsd4.6/tcltklib.so
#184 0x0000000209a8490c in lib_mainloop () from 
/usr/local/lib/ruby/1.8/x86_64-openbsd4.6/tcltklib.so
#185 0x000000020f682956 in call_cfunc () from /usr/local/lib/libruby.so.2.0
#186 0x000000020f674e8b in rb_call0 () from /usr/local/lib/libruby.so.2.0
#187 0x000000020f675969 in rb_call () from /usr/local/lib/libruby.so.2.0
#188 0x000000020f66fa5c in rb_eval () from /usr/local/lib/libruby.so.2.0
#189 0x000000020f6751da in rb_call0 () from /usr/local/lib/libruby.so.2.0
#190 0x000000020f675969 in rb_call () from /usr/local/lib/libruby.so.2.0
#191 0x000000020f66fa5c in rb_eval () from /usr/local/lib/libruby.so.2.0
#192 0x000000020f66b5f7 in ruby_exec_internal () from 
/usr/local/lib/libruby.so.2.0
#193 0x000000020f66b623 in ruby_exec () from /usr/local/lib/libruby.so.2.0
#194 0x000000020f66b650 in ruby_run () from /usr/local/lib/libruby.so.2.0
#195 0x0000000000400bb1 in main ()

Reply via email to