#10163: make doc-html sometimes hangs after having finished
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: GeorgSWeber
Type: defect | Status: needs_info
Priority: major | Milestone: sage-4.7.3
Component: build | Keywords: build Makefile
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
Description changed by jdemeyer:
Old description:
> The following is a non-reproducible problem, but it happened several
> times.
> When building Sage from source using
> {{{
> make
> }}}
> it can happen that {{{make}}} simply hangs forever after the message
> {{{
> Build finished. The built documents can be found in
> /mnt/usb1/scratch/jdemeyer/merger/sage-4.6.1.alpha0/devel/sage/doc/output/html/fr/a_tour_of_sage
> }}}
>
> Pressing CTRL-C at this point gives
> {{{
> make: *** [doc-html] Interrupt
> }}}
>
> Here is a `ps` snapshot of a situation where it happened:
> {{{
> $ ps -u jdemeyer xfo pid,ppid,sess,tty,tpgid,args # Irrelevant entries
> removed
> PID PPID SESS TT TPGID COMMAND
> 30777 1 23411 pts/6 6956 python
> /mnt/usb1/scratch/jdemeyer/merger/sage-4.7.2.alpha4/local/bin/sage-
> cleaner
> 21614 1 21614 ? -1 SCREEN
> 23411 21614 23411 pts/6 6956 \_ /bin/bash
> 6956 23411 23411 pts/6 6956 | \_ bash -c source
> "/home/jdemeyer/merger3/main.sh"; source "./merge"
> 6969 6956 23411 pts/6 6956 | \_ bash -c source
> "/home/jdemeyer/merger3/main.sh"; source "./merge"
> 6970 6969 23411 pts/6 6956 | | \_ tee
> /home/release/sage-4.7.2.alpha4/logs/merger.log
> 30248 6956 23411 pts/6 6956 | \_ make -j6 doc-html
> 30249 30248 23411 pts/6 6956 | \_ bash -c source
> "/home/jdemeyer/merger3/main.sh"; source "./merge"
> 30250 30249 23411 pts/6 6956 | | \_ tee
> /home/release/sage-4.7.2.alpha4/logs/dochtml.log
> 30747 30248 23411 pts/6 6956 | \_ /bin/sh -c
> spkg/pipestatus "./sage -docbuild --no-pdf-links all html 2>&1" "tee -a
> dochtml.log"
> 30748 30747 23411 pts/6 6956 | \_ bash spkg/pipestatus
> ./sage -docbuild --no-pdf-links all html 2>&1 tee -a dochtml.log
> 30750 30748 23411 pts/6 6956 | \_ tee -a
> dochtml.log
> 5454
> }}}
>
> If it matters:
> {{{
> $ bash --version
> GNU bash, version 4.1.0(1)-release (x86_64-unknown-linux-gnu)
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
>
> This is free software; you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> }}}
New description:
The following is a non-reproducible problem, but it happened several
times.
When building the Sage documentation using
{{{
make doc-html
}}}
it can happen that {{{make}}} simply hangs forever after the message
{{{
Build finished. The built documents can be found in
/mnt/usb1/scratch/jdemeyer/merger/sage-4.6.1.alpha0/devel/sage/doc/output/html/fr/a_tour_of_sage
}}}
Pressing CTRL-C at this point gives
{{{
make: *** [doc-html] Interrupt
}}}
Here is a `ps` snapshot of a situation where it happened:
{{{
$ ps -u jdemeyer xfo pid,ppid,sess,tty,tpgid,args # Irrelevant entries
removed
PID PPID SESS TT TPGID COMMAND
30777 1 23411 pts/6 6956 python
/mnt/usb1/scratch/jdemeyer/merger/sage-4.7.2.alpha4/local/bin/sage-cleaner
21614 1 21614 ? -1 SCREEN
23411 21614 23411 pts/6 6956 \_ /bin/bash
6956 23411 23411 pts/6 6956 | \_ bash -c source
"/home/jdemeyer/merger3/main.sh"; source "./merge"
6969 6956 23411 pts/6 6956 | \_ bash -c source
"/home/jdemeyer/merger3/main.sh"; source "./merge"
6970 6969 23411 pts/6 6956 | | \_ tee
/home/release/sage-4.7.2.alpha4/logs/merger.log
30248 6956 23411 pts/6 6956 | \_ make -j6 doc-html
30249 30248 23411 pts/6 6956 | \_ bash -c source
"/home/jdemeyer/merger3/main.sh"; source "./merge"
30250 30249 23411 pts/6 6956 | | \_ tee
/home/release/sage-4.7.2.alpha4/logs/dochtml.log
30747 30248 23411 pts/6 6956 | \_ /bin/sh -c
spkg/pipestatus "./sage -docbuild --no-pdf-links all html 2>&1" "tee -a
dochtml.log"
30748 30747 23411 pts/6 6956 | \_ bash spkg/pipestatus
./sage -docbuild --no-pdf-links all html 2>&1 tee -a dochtml.log
30750 30748 23411 pts/6 6956 | \_ tee -a
dochtml.log
}}}
Note the orphaned `sage-cleaner` process with the same session ID as `make
doc-html`.
If it matters:
{{{
$ bash --version
GNU bash, version 4.1.0(1)-release (x86_64-unknown-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
}}}
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10163#comment:23>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.