Bug 1235245
Summary: | rubygem-celluloid does not build with recent glibc | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> | ||||
Component: | glibc | Assignee: | Torvald Riegel <triegel> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 23 | CC: | arjun.is, codonell, fweimer, jakub, law, mnewsome, pfrankli, triegel, vondruch | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-11-24 12:14:18 UTC | Type: | Bug | ||||
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
Vít Ondruch
2015-06-24 11:50:44 UTC
Just FTR, I needed 4 attempts to build the package for F23. Poor souls who need to use this package (it is in Ruby on Rails dependency chain, so there is chance somebody will need it). Thanks, could you please isolate a test case (preferrably in C) that I can use for debugging? I wish it was the simple. But probably fixing bug 1229659 could help resolve this as well. Adding this file into the test suite: $ cat spec/glibc_spec.rb require 'spec_helper' describe "a Celluloid Actor using Fibers", actor_system: :global do class ExampleCrash < StandardError attr_accessor :foo end let(:actor_class) { ExampleActorClass.create(Celluloid, Celluloid::TaskFiber) } it "supports synchronous calls" do actor = actor_class.new "Troy McClure" actor.greet.should eq("Hi, I'm Troy McClure") end end and executing it as: $ while true; do rspec2 -fd spec/glibc_spec.rb; done This triggers sometimes: Run options: include {:focus=>true} All examples were filtered out; ignoring {:focus=>true} a Celluloid Actor using Fibers supports synchronous calls Finished in 0.00494 seconds 1 example, 0 failures [BUG] pthread_cond_destroy: Device or resource busy (EBUSY) ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] [BUG] Segmentation fault at 0x00000000000030 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] Segmentation fault (core dumped)Run options: include {:focus=>true} All examples were filtered out; ignoring {:focus=>true} a Celluloid Actor using Fibers supports synchronous calls Finished in 0.00494 seconds 1 example, 0 failures [BUG] pthread_cond_destroy: Device or resource busy (EBUSY) ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] [BUG] Segmentation fault at 0x00000000000030 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] Segmentation fault (core dumped) Which seems to be similar to bug 1229659, but if you let it run long enough, ignoring the errors above, it may get stuck finally. Torvald, Could you have a look and see what the ruby gem is doing under the hood? I usually use strace orlltrace to see what calls the gem is making and see if the actual sequence of calls makes sense. Remember that Fedora Rawhide is basically upstream master, so you can build upstream master if you want and run ruby with it. Created attachment 1049325 [details]
ABRT's core dump
This might be hopefully useful for analysis.
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23 Current Rawhide contains a new condition variable implementation. It would be nice if someone could test with this new implementation. Thanks. Testing with glibc-2.24.90-13.fc26.i686, I did 10 builds in Koji and no SEGV/hangs anymore. I run the test case from comment 4 for several minutest without issues. This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. (In reply to Vít Ondruch from comment #9) > Testing with glibc-2.24.90-13.fc26.i686, I did 10 builds in Koji and no > SEGV/hangs anymore. I run the test case from comment 4 for several minutest > without issues. Closing based on this feedback. |