Bug 560053

Summary: [abrt] crash in ruby-1.8.6.383-6.fc12
Product: [Fedora] Fedora Reporter: Edward Strauch <edward>
Component: rubyAssignee: Jeroen van Meeuwen <vanmeeuwen+fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: jeremy, mtasaka, rz, tagoh, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:ff43e3b3b7f5955b729c24574707718e272eb646
Fixed In Version: ruby-1.8.6.399-4.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-26 21:50:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
Ruby Tk source none

Description Edward Strauch 2010-01-29 18:52:17 UTC
abrt 1.0.4 detected a crash.

architecture: i686
Attached file: backtrace
cmdline: ruby ./CheckButton.rb
comment: Possible problem with the ruby-tcltk package.
component: ruby
executable: /usr/bin/ruby
kernel: 2.6.31.12-174.2.3.fc12.i686.PAE
package: ruby-1.8.6.383-6.fc12
rating: 4
reason: Process was terminated by signal 6 (Aborted)
release: Fedora release 12 (Constantine)

How to reproduce
-----
1. Running the Frame.rb program causes core dump
2. Comment out the TkFrame.new() command, and the program run normally.
3.

Comment 1 Edward Strauch 2010-01-29 18:52:18 UTC
Created attachment 387626 [details]
File: backtrace

Comment 2 Edward Strauch 2010-01-29 18:57:36 UTC
Created attachment 387627 [details]
Ruby Tk source

Comment 3 Richard Z. 2010-02-17 14:14:29 UTC
Interesting that it goes away when you dont TkFrame.new

I have never suceeded to run on of my ruby-tcltk programs on F10-F12 but for me TkFrame is pretty essential:(

Comment 4 Richard Z. 2010-02-17 14:21:30 UTC
tested for fun - exactly the same problem and exactly the same workaround works on F10 as well.

Comment 5 Richard Z. 2010-02-17 17:54:30 UTC
tested a more complex program after removing all TkFrame calls - still crashes with what appears to be random memory corruption.

Comment 7 Richard Z. 2010-05-12 14:01:51 UTC
thanks, I did recompile the package in F10 and my testcase now works without any glitches.

I expect the same result in F12 which I will hopefully be able to test within a day.

Should I test the ruby-1.9 packages again as well? Some weeks ago I tried but my tcltk testcase had many failures.

Comment 8 Mamoru TASAKA 2010-05-12 14:31:19 UTC
@Richard:
Thank you for testing. If Fedora's ruby-sig agrees to push this
ruby rpms, I will submit updates request.

I have not tested ruby 1.9 yet, however if Tk module of ruby 1.9
won't work, trying to replace ext/tk directory in ruby source with
the latest trunk, i.e.
http://svn.ruby-lang.org/repos/ruby/trunk/ext/tk/ 
may work.

... And it seems I have completely forgotton that the original
reporter was Edward, sorry. Edward, I appreciate if you would test
the new rpm, too.

Comment 9 Fedora Update System 2010-05-14 19:49:55 UTC
ruby-1.8.6.399-3.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/ruby-1.8.6.399-3.fc13

Comment 10 Fedora Update System 2010-05-14 19:50:20 UTC
ruby-1.8.6.399-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/ruby-1.8.6.399-3.fc12

Comment 11 Fedora Update System 2010-05-15 20:42:07 UTC
ruby-1.8.6.399-3.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ruby'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/ruby-1.8.6.399-3.fc12

Comment 12 Richard Z. 2010-05-15 23:09:44 UTC
for some reason I was not able to use the mentioned yum update command (see bellow). 

However I did recompile the exact source package on an up to date F12 system and it works fine, all problems gone.
The same test program caused immedaiate coredump just before the update.


# yum --enablerepo=updates-testing update ruby
Loaded plugins: auto-update-debuginfo, changelog, downloadonly, keys, presto,
              : refresh-packagekit, security
updates-testing/metalink                                 |  20 kB     00:01     
updates-testing                                          | 4.5 kB     00:00     
http://mirror1.atrpms.net/fedora/linux/updates/testing/12/i386/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates-testing
Trying other mirror.
updates-testing                                          | 4.5 kB     00:00     
http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/updates/testing/12/i386/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates-testing
Trying other mirror.
...
...

Comment 13 Fedora Update System 2010-05-17 15:36:15 UTC
ruby-1.8.6.399-4.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/ruby-1.8.6.399-4.fc13

Comment 14 Fedora Update System 2010-05-17 15:38:23 UTC
ruby-1.8.6.399-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/ruby-1.8.6.399-4.fc12

Comment 15 Fedora Update System 2010-05-18 21:59:29 UTC
ruby-1.8.6.399-4.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ruby'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/ruby-1.8.6.399-4.fc12

Comment 16 Fedora Update System 2010-05-26 21:47:37 UTC
ruby-1.8.6.399-4.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2010-05-26 21:49:53 UTC
ruby-1.8.6.399-4.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2010-08-22 18:08:03 UTC
ruby-1.8.6.399-6.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/ruby-1.8.6.399-6.fc13

Comment 19 Fedora Update System 2010-08-22 18:11:03 UTC
ruby-1.8.6.399-6.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/ruby-1.8.6.399-6.fc12

Comment 20 Fedora Update System 2010-08-23 21:56:34 UTC
ruby-1.8.6.399-6.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.