Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 938242 Details for
Bug 1136388
Segmentation fault during build: ../bin/R --vanilla < ok-errors.R > ok-errors.Rout.fail
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Patch to R.spec file with a fix
0001-Add-ulimit-s-16384-to-avoid-segfault-on-PPC64-during.patch (text/plain), 1.59 KB, created by
David Sommerseth
on 2014-09-16 21:05:23 UTC
(
hide
)
Description:
Patch to R.spec file with a fix
Filename:
MIME Type:
Creator:
David Sommerseth
Created:
2014-09-16 21:05:23 UTC
Size:
1.59 KB
patch
obsolete
>From 589250d597aafb05dc045b895b8ce0b8b1b6e07a Mon Sep 17 00:00:00 2001 >From: David Sommerseth <davids@redhat.com> >Date: Tue, 16 Sep 2014 15:01:58 -0600 >Subject: [PATCH] Add ulimit -s 16384 to avoid segfault on PPC64 during make > check > >The issue is related to the stack being too small when running the >ok-errors.R test case. This test will cause an infinite recursion >loop, which should be interrupted by R. On x86_64, this works as >expected. On ppc64, the stack size needs to be doubled to 16384 >(ulimit -s 16384) to be able to run successfully, otherwise the >segfault will happen. > >RHBZ: 1136388 > >Signed-off-by: David Sommerseth <davids@redhat.com> >--- > R.spec | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/R.spec b/R.spec >index 317084b..0b820b4 100644 >--- a/R.spec >+++ b/R.spec >@@ -40,7 +40,7 @@ > > Name: R > Version: 3.1.1 >-Release: 5%{?dist} >+Release: 6%{?dist} > Summary: A language for data analysis and graphics > URL: http://www.r-project.org > Source0: ftp://cran.r-project.org/pub/R/src/base/R-3/R-%{version}.tar.gz >@@ -477,6 +477,8 @@ ln -s ../../../R/texmf/tex/latex R > popd > > %check >+# Needed by tests/ok-error.R, which will smash the stack on PPC64. This is the purpose of the test. >+ulimit -s 16384 > make check > > %files >@@ -911,6 +913,9 @@ R CMD javareconf \ > %postun -n libRmath -p /sbin/ldconfig > > %changelog >+* Tue Sep 16 2014 David Sommerseth <davids@redhat.com> - 3.1.1-6 >+- Setting ulimit when running make check, to avoid segfault due to too small stack (needed on PPC64) >+ > * Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 3.1.1-5 > - rebuild for ICU 53.1 > >-- >2.1.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1136388
:
934322
|
934326
| 938242