Bug 1500863
Summary: | Ruby test suite randomly fails on AArch64 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> |
Component: | ruby | Assignee: | Jeroen van Meeuwen <vanmeeuwen+fedora> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 33 | CC: | arjun.is, codonell, dj, fweimer, jakub, law, mfabian, mtasaka, pfrankli, pvalena, siddhesh, s, strzibny, vanmeeuwen+fedora, vondruch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-30 16:12:38 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: |
Description
Vít Ondruch
2017-10-11 15:36:02 UTC
BTW I reported this issue upstream, but it seem they cannot reproduce this issue on Debian. They appear to be using "uname_srvm: Linux 4.9.23-std-1 #1 SMP Mon Apr 24 13:18:14 UTC 2017 aarch64" and "glibc 2.23" Does Ruby call backtrace from a signal handler? It does on x86-64: #0 __GI___backtrace (array=0x7f9c5cd12660, size=1024) at ../sysdeps/x86_64/backtrace.c:96 #1 0x00007f9c5ca27715 in rb_print_backtrace () from /lib64/libruby.so.2.4 #2 0x00007f9c5ca2794c in rb_vm_bugreport () from /lib64/libruby.so.2.4 #3 0x00007f9c5c900984 in rb_bug_context () from /lib64/libruby.so.2.4 #4 0x00007f9c5c9bce0e in sigsegv () from /lib64/libruby.so.2.4 #5 <signal handler called> #6 0x00007f9c5ca16861 in vm_exec_core () from /lib64/libruby.so.2.4 #7 0x00007f9c5ca1b058 in vm_exec () from /lib64/libruby.so.2.4 #8 0x00007f9c5ca1bc11 in eval_string_with_cref () from /lib64/libruby.so.2.4 #9 0x00007f9c5ca1c068 in rb_f_eval () from /lib64/libruby.so.2.4 That's not valid in its own right because backtrace can call malloc, and the SIGSEGV handler might be called from within malloc. The backtrace issue we had on aarch64 has supposedly been fixed in rawhide: https://sourceware.org/bugzilla/show_bug.cgi?id=21428 (In reply to Florian Weimer from comment #2) > Does Ruby call backtrace from a signal handler? It does on x86-64: Well, I am not an expert, but I guess this is the idea. E.g. if anything goes wrong, including SIGSEGV, provide the backtrace and hence the backtrace is called. > That's not valid in its own right because backtrace can call malloc, and the > SIGSEGV handler might be called from within malloc. But how to get the backtrace in the handler then? This is the upsteram response: ~~~ [ruby-core:83231] Aktualizováno uživatelem normalperson (Eric Wong) před 7 dnů Citovat Upravit Odstranit v.ondruch wrote: Can anybody help me we answer to glibc maintainers [1]? Florian Weimer 2017-10-11 18:00:03 CEST Does Ruby call backtrace from a signal handler? It does on x86-64: Yes, it calls backtrace() unfortunately. It uses special signal handlers for SIGILL, SIGSEGV, SIGBUS which sometimes screw up debugging. When tracking down some bugs in the past; I've flipped the value of ruby_enable_coredump in signal.c to disable the nanny sighandlers and get a real core dump. (there's a more official way which involves re-running ./configure and using RUBY_DEBUG env; but that's too slow for my hardware and I'd rather just recompile signal.o) ~~~ (In reply to Vít Ondruch from comment #4) > This is the upsteram response: > > ~~~ > [ruby-core:83231] > Aktualizováno uživatelem normalperson (Eric Wong) před 7 dnů > Citovat Upravit Odstranit > > v.ondruch wrote: > > Can anybody help me we answer to glibc maintainers [1]? > > Florian Weimer 2017-10-11 18:00:03 CEST > > Does Ruby call backtrace from a signal handler? It does on x86-64: > > Yes, it calls backtrace() unfortunately. It uses special signal > handlers for SIGILL, SIGSEGV, SIGBUS which sometimes screw up > debugging. […] Okay, this makes it more of a Ruby bug, unfortunately. This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'. This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. 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 '28'. 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 28 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. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31. This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33. This message is a reminder that Fedora 33 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30. 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 '33'. 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 33 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. There were some updates upstream: https://bugs.ruby-lang.org/issues/17585 Therefore the situation should improve. Also https://bugs.ruby-lang.org/issues/17052 is relevant. Fedora 33 changed to end-of-life (EOL) status on 2021-11-30. Fedora 33 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |