Bug #7985

Kidsruby crashes on Ubuntu thin client

Added by David Clinton about 1 year ago. Updated 2 months ago.

[ruby-core:53026]
Status:Third Party's Issue
Priority:Normal
Assignee:-
Category:-
Target version:-
ruby -v:- Backport:

Description

I'm running Edubuntu 12.04. Kidsruby (ruby 1.9.2p320) runs fine on the server, but when it is run on a thin client (LTSP), and a simple program is invoked, it crashes. By simple program, I mean something like this:

Turtle.draw do
forward 50
end

kidsruby -v produced this output:

/usr/local/kidsruby/app/models/runner.rb:23:in method_missing': undefined methodwarning' for Qt::MessageBox:Class (NoMethodError)
from /usr/local/kidsruby/app/models/runner.rb:23:in save_kid_code'
from /usr/local/kidsruby/app/models/runner.rb:12:in
run'
from /usr/local/kidsruby/app/widgets/main.rb:96:in evaluateRuby'
from /usr/local/kidsruby/vendor/ruby/1.9.1/gems/qtbindings-4.6.3.4/lib/Qt/qtruby4.rb:469:in
qt_metacall'
from /usr/local/kidsruby/vendor/ruby/1.9.1/gems/qtbindings-4.6.3.4/lib/Qt/qtruby4.rb:469:in method_missing'
from /usr/local/kidsruby/vendor/ruby/1.9.1/gems/qtbindings-4.6.3.4/lib/Qt/qtruby4.rb:469:in
exec'
from /usr/local/kidsruby/main.rb:18:in `'
/usr/local/kidsruby/main.rb: [BUG] Segmentation fault
ruby 1.9.2p320 (2012-04-20 revision 35421) [i686-linux]

-- control frame ----------

c:0001 p:0000 s:0002 b:0002 l:00077c d:00077c TOP

-- C level backtrace information -------------------------------------------
/usr/local/kidsruby/ruby/lib/libruby.so.1.9(rbvmbugreport+0x72) [0xb7765242]
/usr/local/kidsruby/ruby/lib/libruby.so.1.9(+0x567b7) [0xb763d7b7]
/usr/local/kidsruby/ruby/lib/libruby.so.1.9(rbbug+0x3a) [0xb763d8aa]
/usr/local/kidsruby/ruby/lib/libruby.so.1.9(+0x10a5e4) [0xb76f15e4]
[0xb77da40c]
/usr/local/kidsruby/vendor/dependencies/libQtGui.so.4(
ZNK12QFontPrivate15engineForScriptEi+0x70) [0xb6628830]
/usr/local/kidsruby/vendor/dependencies/libQtGui.so.4(ZNK12QFontMetrics6ascentEv+0x27) [0xb6640917]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x717a71) [0xb3fcba71]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x5d8d60) [0xb3e8cd60]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x7177b4) [0xb3fcb7b4]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x7178c6) [0xb3fcb8c6]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x5ce0d0) [0xb3e820d0]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x6b4a5f) [0xb3f68a5f]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x6b5b03) [0xb3f69b03]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x6b424e) [0xb3f6824e]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x642fb0) [0xb3ef6fb0]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x643438) [0xb3ef7438]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x65153b) [0xb3f0553b]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x6687af) [0xb3f1c7af]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x668d4e) [0xb3f1cd4e]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x65153b) [0xb3f0553b]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x657b3b) [0xb3f0bb3b]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x65b5b4) [0xb3f0f5b4]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x66d46c) [0xb3f2146c]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x635d38) [0xb3ee9d38]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x64f823) [0xb3f03823]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x6469e1) [0xb3efa9e1]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x635d38) [0xb3ee9d38]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x645ee8) [0xb3ef9ee8]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x646871) [0xb3efa871]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x635d38) [0xb3ee9d38]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x6c8f47) [0xb3f7cf47]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x5ab053) [0xb3e5f053]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x5a5b91) [0xb3e59b91]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x60df31) [0xb3ec1f31]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x60df92) [0xb3ec1f92]
/usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x722bfb) [0xb3fd6bfb]
/usr/local/kidsruby/vendor/dependencies/libQtCore.so.4(
ZN14QObjectPrivate14deleteChildrenEv+0x6f) [0xb6ea027f]
/usr/local/kidsruby/vendor/dependencies/libQtCore.so.4(ZN7QObjectD2Ev+0x39d) [0xb6ea730d]
/usr/local/kidsruby/vendor/dependencies/libQtCore.so.4(
ZN16QCoreApplicationD2Ev+0xba) [0xb6e929da]
/usr/local/kidsruby/vendor/dependencies/libQtGui.so.4(ZN12QApplicationD2Ev+0x466) [0xb63f1c26]
/usr/local/kidsruby/vendor/ruby/1.9.1/gems/qtbindings-4.6.3.4/lib/1.9/libsmokeqtgui.so.3(
ZN12smokeqtgui14xQApplicationD0Ev+0x51) [0xb599f9f5]
/usr/local/kidsruby/vendor/ruby/1.9.1/gems/qtbindings-4.6.3.4/lib/1.9/libsmokeqtgui.so.3(
ZN12
smokeqtgui18xcallQApplicationEsPvPN5Smoke9StackItemE+0x8d1) [0xb598b558]
/usr/local/kidsruby/vendor/ruby/1.9.1/gems/qtbindings-4.6.3.4/lib/1.9/libqtruby4shared.so.2(
Z14smokerubyfreePv+0x7de) [0xb50fc6eb]
/usr/local/kidsruby/ruby/lib/libruby.so.1.9(+0x6d1aa) [0xb76541aa]
/usr/local/kidsruby/ruby/lib/libruby.so.1.9(ruby
cleanup+0x1be) [0xb764163e]
/usr/local/kidsruby/ruby/lib/libruby.so.1.9(rubyrunnode+0x3d) [0xb764187d]
ruby(main+0x68) [0x80487e8]
/lib/i386-linux-gnu/libc.so.6(_libcstart_main+0xf3) [0xb73b44d3]

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

/usr/bin/kidsruby: line 7: 29589 Aborted (core dumped) ruby /usr/local/kidsruby/main.rb

History

#1 Updated by Eric Hodel about 1 year ago

  • ruby -v changed from /usr/local/kidsruby/app/models/runner.rb:23:in `method_missing': undefined method `warning' for Qt::MessageBox:Class (NoMethodError) from /usr/local/kidsruby/app/models/runner.rb:23:in `save_kid_code' from /usr/local/kidsruby/app/models/runner.rb:12:in `run' from /usr/local/kidsruby/app/widgets/main.rb:96:in `evaluateRuby' from /usr/local/kidsruby/vendor/ruby/1.9.1/gems/qtbindings-4.6.3.4/lib/Qt/qtruby4.rb:469:in `qt_metacall' from /usr/local/kidsruby/vendor/ruby/1.9.1/gems/qtbindings-4.6.3.4/lib/Qt/qtruby4.rb:469:in `method_missing' from /usr/local/kidsruby/vendor/ruby/1.9.1/gems/qtbindings-4.6.3.4/lib/Qt/qtruby4.rb:469:in `exec' from /usr/local/kidsruby/main.rb:18:in `<main>' /usr/local/kidsruby/main.rb: [BUG] Segmentation fault ruby 1.9.2p320 (2012-04-20 revision 35421) [i686-linux] -- control frame ---------- c:0001 p:0000 s:0002 b:0002 l:00077c d:00077c TOP --------------------------- -- C level backtrace information ------------------------------------------- /usr/local/kidsruby/ruby/lib/libruby.so.1.9(rb_vm_bugreport+0x72) [0xb7765242] /usr/local/kidsruby/ruby/lib/libruby.so.1.9(+0x567b7) [0xb763d7b7] /usr/local/kidsruby/ruby/lib/libruby.so.1.9(rb_bug+0x3a) [0xb763d8aa] /usr/local/kidsruby/ruby/lib/libruby.so.1.9(+0x10a5e4) [0xb76f15e4] [0xb77da40c] /usr/local/kidsruby/vendor/dependencies/libQtGui.so.4(_ZNK12QFontPrivate15engineForScriptEi+0x70) [0xb6628830] /usr/local/kidsruby/vendor/dependencies/libQtGui.so.4(_ZNK12QFontMetrics6ascentEv+0x27) [0xb6640917] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x717a71) [0xb3fcba71] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x5d8d60) [0xb3e8cd60] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x7177b4) [0xb3fcb7b4] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x7178c6) [0xb3fcb8c6] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x5ce0d0) [0xb3e820d0] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x6b4a5f) [0xb3f68a5f] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x6b5b03) [0xb3f69b03] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x6b424e) [0xb3f6824e] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x642fb0) [0xb3ef6fb0] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x643438) [0xb3ef7438] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x65153b) [0xb3f0553b] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x6687af) [0xb3f1c7af] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x668d4e) [0xb3f1cd4e] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x65153b) [0xb3f0553b] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x657b3b) [0xb3f0bb3b] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x65b5b4) [0xb3f0f5b4] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x66d46c) [0xb3f2146c] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x635d38) [0xb3ee9d38] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x64f823) [0xb3f03823] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x6469e1) [0xb3efa9e1] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x635d38) [0xb3ee9d38] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x645ee8) [0xb3ef9ee8] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x646871) [0xb3efa871] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x635d38) [0xb3ee9d38] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x6c8f47) [0xb3f7cf47] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x5ab053) [0xb3e5f053] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x5a5b91) [0xb3e59b91] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x60df31) [0xb3ec1f31] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x60df92) [0xb3ec1f92] /usr/local/kidsruby/vendor/dependencies/libQtWebKit.so.4(+0x722bfb) [0xb3fd6bfb] /usr/local/kidsruby/vendor/dependencies/libQtCore.so.4(_ZN14QObjectPrivate14deleteChildrenEv+0x6f) [0xb6ea027f] /usr/local/kidsruby/vendor/dependencies/libQtCore.so.4(_ZN7QObjectD2Ev+0x39d) [0xb6ea730d] /usr/local/kidsruby/vendor/dependencies/libQtCore.so.4(_ZN16QCoreApplicationD2Ev+0xba) [0xb6e929da] /usr/local/kidsruby/vendor/dependencies/libQtGui.so.4(_ZN12QApplicationD2Ev+0x466) [0xb63f1c26] /usr/local/kidsruby/vendor/ruby/1.9.1/gems/qtbindings-4.6.3.4/lib/1.9/libsmokeqtgui.so.3(_ZN12__smokeqtgui14x_QApplicationD0Ev+0x51) [0xb599f9f5] /usr/local/kidsruby/vendor/ruby/1.9.1/gems/qtbindings-4.6.3.4/lib/1.9/libsmokeqtgui.so.3(_ZN12__smokeqtgui18xcall_QApplicationEsPvPN5Smoke9StackItemE+0x8d1) [0xb598b558] /usr/local/kidsruby/vendor/ruby/1.9.1/gems/qtbindings-4.6.3.4/lib/1.9/libqtruby4shared.so.2(_Z14smokeruby_freePv+0x7de) [0xb50fc6eb] /usr/local/kidsruby/ruby/lib/libruby.so.1.9(+0x6d1aa) [0xb76541aa] /usr/local/kidsruby/ruby/lib/libruby.so.1.9(ruby_cleanup+0x1be) [0xb764163e] /usr/local/kidsruby/ruby/lib/libruby.so.1.9(ruby_run_node+0x3d) [0xb764187d] ruby(main+0x68) [0x80487e8] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb73b44d3] [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html /usr/bin/kidsruby: line 7: 29589 Aborted (core dumped) ruby /usr/local/kidsruby/main.rb to -

Seems to be a QtGui font bug.

#2 Updated by Hiroshi SHIBATA 2 months ago

  • Status changed from Open to Third Party's Issue

Also available in: Atom PDF