Open Nogbit opened 10 years ago
A little more info here, when it freezes with turtle I hit CTRL+C in the terminal and get the following....
marc@ItsAllGood ~/Documents/Projects/pscripts/kidsruby $ ruby main.rb
^C/home/marc/Documents/Projects/pscripts/kidsruby/app/models/turtle.rb:19:in `method_missing': Interrupt
from /home/marc/Documents/Projects/pscripts/kidsruby/app/models/turtle.rb:19:in `command_turtle'
from /home/marc/Documents/Projects/pscripts/kidsruby/app/widgets/server.rb:42:in `connection'
from /home/marc/.rvm/gems/ruby-1.9.2-p290@kidsruby2/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:469:in `qt_metacall'
from /home/marc/.rvm/gems/ruby-1.9.2-p290@kidsruby2/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:469:in `method_missing'
from /home/marc/.rvm/gems/ruby-1.9.2-p290@kidsruby2/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:469:in `exec'
from main.rb:18:in `<main>'
QThread::wait: Thread tried to wait on itself
(ruby:5958): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `g_queue_peek_head (stack) == context' failed
main.rb: [BUG] Segmentation fault
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
The first time I run KidsRuby (
ruby main.rb
) I get the following error, but running the same command again it opens fine. Any of the ruby samples and gosu work great. Turtle causes it to freeze, peak the ruby process to 100% cpu and consume all the available memory.I can post the C level backtrace as well if that would help?
rubbies....
gems....