Summary: | sys-apps/coreutils-8.29: tests/rm/rm-readdir-fail fails on sparc (SIGBUS) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | TESTFAILURE, UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://lists.gnu.org/archive/html/bug-coreutils/2017-12/msg00050.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 371525 | ||
Attachments: |
build.log
Invoke gdb from test script patch to fix the issue |
Description
Rolf Eike Beer
2017-12-28 10:37:25 UTC
Created attachment 511820 [details]
build.log
This is probably caused by > FEATURES: preserve-libs sandbox test userpriv usersandbox ^^^^^^^^^^^ Please run without usersandbox like the ebuild tells you: > >>> Test phase: sys-apps/coreutils-8.29 > You are emerging coreutils-8.29 with 'usersandbox' enabled. Expect some test failures or emerge with 'FEATURES=-usersandbox'! It fails the same without sandbox. SIGBUS is an unaligned memory error, this has nothing to do with sandboxing. I have now seen the same bug in 8.28-r1. Still in 8.29-r1. I've wasted the last 2 hours trying to get the crash into gdb, but the test scripts don't let me. The only thing I managed to find out is that the test-driver script prints Usage: test-driver --test-name=NAME --log-file=PATH --trs-file=PATH but it actually wants spaces instead of the equal signs. Same with 8.30. (In reply to Rolf Eike Beer from comment #6) > Same with 8.30. Thanks for the update, I updated upstream bug report. (In reply to Rolf Eike Beer from comment #5) > Still in 8.29-r1. I've wasted the last 2 hours trying to get the crash into > gdb, but the test scripts don't let me. Can't you create a coredump for later analysis instead of live debugging? Created attachment 539034 [details, diff]
Invoke gdb from test script
To debug, try applying this patch, and then calling the test script.
$ cd /var/tmp/portage/sys-apps/coreutils-8.30/work/coreutils-8.30
$ built_programs=rm CC=gcc bash ./tests/rm/rm-readdir-fail.sh
Created attachment 539080 [details, diff]
patch to fix the issue
Thanks! Forwarded to upstream, awaiting review through upstream. (In reply to Thomas Deutschmann from comment #10) > Thanks! > > Forwarded to upstream, awaiting review through upstream. No reply sadly and I don't see any relevant commits upstream. That said, 9.0 seems fine for me on catbus in a sparc64 chroot. I don't see the error with 8.32 in sparc32 chroot anymore. |