From: quillion Date: 2003-12-25T01:21:52+09:00 Subject: Re: TkText freezes quillion wrote: > ts wrote: > >>>>>>> "q" == quillion writes: >> >> >> >> q> The program will not accept keystrokes when attached to gdb >> >> Well, here an example (~/b.rb is the example that you have posted) >> >> svg% gdb ruby >> GNU gdb Red Hat Linux (5.2.1-4) >> Copyright 2002 Free Software Foundation, Inc. >> GDB is free software, covered by the GNU General Public License, and >> you are >> welcome to change it and/or distribute copies of it under certain >> conditions. >> Type "show copying" to see the conditions. >> There is absolutely no warranty for GDB. Type "show warranty" for >> details. >> This GDB was configured as "i386-redhat-linux"... >> (gdb) set li 32 >> (gdb) r ~/b.rb >> Starting program: /home/ts/ruby/ruby-1.8.1/ruby ~/b.rb >> > cut ... > > thanks still wont run i'll work on it got it running under gdb cannot get it to segfault but get the same as under debug ["update"] => "update" tcltklib: invoke from current eventloop 401d0928 tcltklib: invoke_real called by thread:401d0928 tcltklib: call Tcl_GetCommandInfo, update tcltklib: end Tcl_GetCommandInfo tcltklib: rb_eval_string(TkCore.callback %Q!c00070 8980 ?? ?? ?? ?? ?? ?? 0x2a00032 67 ?? ?? ?? 16 2683329 ?? 19 -8 \{} ?? 67 0 F1 65470 0x00007d 00000000 2 .w00001 254 110!) Exception `RuntimeError' at /usr/local/lib/ruby/1.8/tk.rb:780 - check backtrace Exception `ArgumentError' at /usr/local/lib/ruby/1.8/tk.rb:232 - invalid value for Number:"??" Exception `ArgumentError' at /usr/local/lib/ruby/1.8/tk.rb:232 - invalid value for Number:"??" Exception `ArgumentError' at /usr/local/lib/ruby/1.8/tk.rb:232 - invalid value for Number:"??" Exception `ArgumentError' at /usr/local/lib/ruby/1.8/tk.rb:232 - invalid value for Number:"??" Exception `ArgumentError' at /usr/local/lib/ruby/1.8/tk.rb:232 - invalid value for Number:"??" tcltklib: (rb_eval_string result) tcltklib: Tcl_AppendResult tcl Oh my it's christmas eve grand children here what am I doing :( Neil