Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turtle causes freeze with Linux Mint 15 #115

Open
Nogbit opened this issue Oct 12, 2013 · 1 comment
Open

Turtle causes freeze with Linux Mint 15 #115

Nogbit opened this issue Oct 12, 2013 · 1 comment
Labels

Comments

@Nogbit
Copy link

Nogbit commented Oct 12, 2013

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?

marc@ItsAllGood ~/Documents/Projects/pscripts/kidsruby $ ruby main.rb
/home/marc/.rvm/gems/ruby-1.9.2-p290@kidsruby2/gems/qtbindings-4.6.3.4/lib/Qt/qtruby4.rb:469: [BUG] cfp consistency error - call0
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]

-- control frame ----------
c:0006 p:---- s:0015 b:0015 l:000014 d:000014 CFUNC  :respond_to_missing?
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 CFUNC  :method_missing
c:0004 p:0013 s:0009 b:0009 l:000008 d:000008 METHOD /home/marc/.rvm/gems/ruby-1.9.2-p290@kidsruby2/gems/qtbindings-4.6.3.4/lib/Qt/qtruby4.rb:469
c:0003 p:0128 s:0006 b:0006 l:001d58 d:0015e8 EVAL   main.rb:18
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001d58 d:001d58 TOP   
---------------------------
-- Ruby level backtrace information ----------------------------------------
main.rb:18:in `<main>'
/home/marc/.rvm/gems/ruby-1.9.2-p290@kidsruby2/gems/qtbindings-4.6.3.4/lib/Qt/qtruby4.rb:469:in `exec'
/home/marc/.rvm/gems/ruby-1.9.2-p290@kidsruby2/gems/qtbindings-4.6.3.4/lib/Qt/qtruby4.rb:469:in `method_missing'
/home/marc/.rvm/gems/ruby-1.9.2-p290@kidsruby2/gems/qtbindings-4.6.3.4/lib/Qt/qtruby4.rb:469:in `respond_to_missing?'

rubbies....

marc@ItsAllGood ~/Documents/Projects/pscripts/kidsruby $ rvm list

rvm rubies

=> ruby-1.9.2-p290 [ x86_64 ]
   ruby-1.9.3-p448 [ x86_64 ]
 * ruby-2.0.0-p247 [ x86_64 ]

# => - current
# =* - current && default
#  * - default

gems....

marc@ItsAllGood ~/Documents/Projects/pscripts/kidsruby $ gem list

*** LOCAL GEMS ***

bundler (1.3.5)
bundler-unload (1.0.2)
chunky_png (1.2.5)
compass (0.11.5)
executable-hooks (1.2.4)
ffi (1.0.10)
fssm (0.2.7)
gosu (0.7.48)
guard (0.8.7)
guard-shell (0.1.1)
htmlentities (4.2.3)
metaclass (0.0.1)
minitest (2.11.1, 1.6.0)
mocha (0.12.10)
qtbindings (4.6.3.4)
r18n-core (1.0.0)
r18n-desktop (1.0.0)
rake (0.8.7)
rb-fchange (0.0.5)
rb-fsevent (0.9.3)
rb-inotify (0.8.8)
rdoc (2.5.8)
rubygems-bundler (1.3.4)
rubywarrior-i18n (0.0.3)
rvm (1.11.3.8)
sass (3.1.12)
thor (0.14.6)
@Nogbit
Copy link
Author

Nogbit commented Oct 12, 2013

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant