Bug 1380100

Summary: Four segmentation faults during sagemath docs build
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: sagemathAssignee: Paulo Andrade <paulo.cesar.pereira.de.andrade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: paulo.cesar.pereira.de.andrade
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sagemath-7.5.1-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-20 12:01:21 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:

Description Dominik 'Rathann' Mierzejewski 2016-09-28 16:21:30 UTC
Description of problem:
There are four SIGSEGV messages visible in sagemath build log during building docs.

Version-Release number of selected component (if applicable):
sagemath-7.3-4.fc26

How reproducible:
Always.

Steps to Reproduce:
1. fedpkg clone rpms/sagemath && cd sagemath
2. fedpkg build --scratch --nowait --arch=x86_64

Actual results:
[...]
+ /usr/bin/python2 -m docbuild --no-pdf-links -k all html
Setting permissions of DOT_SAGE directory so only you can read and write it.
Building reference manual, first pass.
[manifolds] /usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:279: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
[manifolds] warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
[manifolds] WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead.
[manifolds] /builddir/build/BUILDROOT/sagemath-7.3-4.fc26.x86_64/usr/share/doc/sagemath/en/reference/manifolds/index.rst:4: WARNING: undefined label: tensors-on-free-modules (if the link has no caption the label must precede a section header)
Build finished.  The built documents can be found in /builddir/build/BUILDROOT/sagemath-7.3-4.fc26.x86_64/usr/share/doc/sagemath/inventory/en/reference/manifolds
[polynomia] WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead.
Build finished.  The built documents can be found in /builddir/build/BUILDROOT/sagemath-7.3-4.fc26.x86_64/usr/share/doc/sagemath/inventory/en/reference/polynomial_rings
[repl     ] WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead.
Build finished.  The built documents can be found in /builddir/build/BUILDROOT/sagemath-7.3-4.fc26.x86_64/usr/share/doc/sagemath/inventory/en/reference/repl
[tensor_fr] WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead.
Build finished.  The built documents can be found in /builddir/build/BUILDROOT/sagemath-7.3-4.fc26.x86_64/usr/share/doc/sagemath/inventory/en/reference/tensor_free_modules
[combinat ] WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead.
------------------------------------------------------------------------
/builddir/build/BUILDROOT/sagemath-7.3-4.fc26.x86_64/usr/lib64/python2.7/site-packages/cysignals/signals.so(+0x3f97)[0x7fd53b84bf97]
[...]
/lib64/libc.so.6(clone+0x5f)[0x7fd54381a23f]
------------------------------------------------------------------------
Attaching gdb to process id 25695.
Unable to start gdb (not installed?)
GDB is not installed.
Install gdb for enhanced tracebacks.
------------------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.
------------------------------------------------------------------------

Expected results:
No segfaults during build.

Additional info:
This is not new. Previous build logs show SIGSEGVs, too:
https://kojipkgs.fedoraproject.org//packages/sagemath/7.3/3.fc25/data/logs/x86_64/build.log

Comment 1 Paulo Andrade 2016-12-21 17:17:11 UTC
These should be related to symmetrica.
It is happening for some sagemath rpm package releases.

Any help debugging it is welcome :)

Comment 2 Fedora End Of Life 2017-02-28 10:22:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 3 Fedora Update System 2017-04-16 23:21:40 UTC
Macaulay2-1.9.2-1.fc26, Singular-4.1.0p2-1.fc26, arb-2.10.0-1.fc26, cbmc-5.7-1.fc26, coin-or-Cbc-2.9.8-3.fc26, coin-or-Osi-0.107.8-3.fc26, coin-or-SYMPHONY-5.6.14-3.fc26, coin-or-lemon-1.3.1-10.fc26, eclib-20170330-1.fc26, fflas-ffpack-2.2.2-5.fc26, flint-2.5.2-15.fc26, frobby-0.9.0-10.fc26, gap-pkg-float-0.7.5-2.fc26, giac-1.2.3-3.25.fc26, givaro-4.0.2-5.fc26, glpk-4.61-1.fc26, latte-integrale-1.7.3b-3.fc26, libfplll-5.0.3-1.fc26, libgap-4.8.6-1.fc26, linbox-1.4.2-7.fc26, normaliz-3.1.4-1.fc26, ntl-10.3.0-1.fc26, octave-4.2.1-2.fc26, openms-2.1.0-7.20170131gitbde813.fc26, polymake-3.1-2.fc26, pynac-0.7.3-1.fc26, python-cvxopt-1.1.9-4.fc26, sagemath-7.5.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4e8cf20cbb

Comment 4 Fedora Update System 2017-04-20 12:01:21 UTC
Macaulay2-1.9.2-1.fc26, Singular-4.1.0p2-1.fc26, arb-2.10.0-1.fc26, cbmc-5.7-1.fc26, coin-or-Cbc-2.9.8-3.fc26, coin-or-Osi-0.107.8-3.fc26, coin-or-SYMPHONY-5.6.14-3.fc26, coin-or-lemon-1.3.1-10.fc26, eclib-20170330-1.fc26, fflas-ffpack-2.2.2-5.fc26, flint-2.5.2-15.fc26, frobby-0.9.0-10.fc26, gap-pkg-float-0.7.5-2.fc26, giac-1.2.3-3.25.fc26, givaro-4.0.2-5.fc26, glpk-4.61-1.fc26, latte-integrale-1.7.3b-3.fc26, libfplll-5.0.3-1.fc26, libgap-4.8.6-1.fc26, linbox-1.4.2-7.fc26, normaliz-3.1.4-1.fc26, ntl-10.3.0-1.fc26, octave-4.2.1-2.fc26, openms-2.1.0-7.20170131gitbde813.fc26, polymake-3.1-2.fc26, pynac-0.7.3-1.fc26, python-cvxopt-1.1.9-4.fc26, sagemath-7.5.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.