This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 455045 - Ruby/Tk crashed on simplest application
Ruby/Tk crashed on simplest application
Product: Fedora
Classification: Fedora
Component: ruby (Show other bugs)
i386 Linux
low Severity high
: ---
: ---
Assigned To: Jeroen van Meeuwen
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-07-11 12:56 EDT by Dmitry A. Ustalov
Modified: 2009-02-02 03:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 483537 (view as bug list)
Last Closed: 2009-02-02 03:11:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:

Attachments (Terms of Use)
backtrace and memory map (7.22 KB, text/plain)
2008-07-11 12:56 EDT, Dmitry A. Ustalov
no flags Details
Ruby/Tk Example 3 from PickAxe book (reproduces the bug) (528 bytes, text/plain)
2008-07-11 13:07 EDT, Dmitry A. Ustalov
no flags Details

  None (edit)
Description Dmitry A. Ustalov 2008-07-11 12:56:56 EDT
On a number of unexplained causes, launching the simplest program written in 
ruby/tk, leads to crashing ruby.

For example:
eveel{~}% cat ruby-tk-ex3.rb 
require 'tk'
root = { title "Ex3" }
top = { relief 'raised'; border 5 }
lbl = do
  justify 'center'
  text    'Hello, World!'
  pack('padx'=>5, 'pady'=>5, 'side' => 'top')
end do
  text "Ok"
  command { exit }
  pack('side'=>'left', 'padx'=>10, 'pady'=>10)
end do
  text "Cancel"
  command { lbl.configure('text'=>"Goodbye, Cruel World!") }
  pack('side'=>'right', 'padx'=>10, 'pady'=>10)
top.pack('fill'=>'both', 'side' =>'top')

eveel{~}% ruby ruby-tk-ex3.rb 
*** glibc detected *** ruby: free(): invalid next size (fast): 0x091f87a0 ***
======= Backtrace: =========
b7ee5000-b7f71000 rw-p b7ee5000 00:00 0 
bf873000-bf888000 rw-p bffeb000 00:00 0          [stack]
zsh: abort      ruby ruby-tk-ex3.rb

My system is:
    Fedora release 9 (Sulphur),
    ruby 1.8.6 (2008-06-20 patchlevel 230) [i386-linux],
    tcl 8.5.3, tk 8.5.3,
    glibc 2.8

Also, I've reported about this bug in
Comment 1 Dmitry A. Ustalov 2008-07-11 12:56:56 EDT
Created attachment 311605 [details]
backtrace and memory map
Comment 2 Dmitry A. Ustalov 2008-07-11 13:07:20 EDT
Created attachment 311608 [details]
Ruby/Tk Example 3 from PickAxe book (reproduces the bug)

example is attached
Comment 3 Fedora Admin XMLRPC Client 2009-01-30 07:45:13 EST
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.
Comment 4 Jeroen van Meeuwen 2009-02-02 03:11:39 EST
This works fine on Fedora 10's ruby-1.8.6-287, can you please confirm?

If it doesn't work still, please reopen the bug.

Note You need to log in before you can comment on or make changes to this bug.