#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
>   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.

New 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
 }}}
 Note the orphaned `sage-cleaner` process.
 {{{
 $ ls -F ~/.sage/temp/sage.math.washington.edu/
 19769/  20243/  20643/  21176/  30653/  3678/  4272/  4335/  4385/  4425/
 5168/  5235/  5522/
 19942/  20359/  20860/  21288/  30822/  3828/  4291/  4351/  4400/  4445/
 5187/  5307/
 20207/  20517/  20978/  30444/  30880/  3966/  4320/  4370/  4406/  5149/
 5210/  5454/
 }}}
 Each of these directories seems to contain only an `interface` directory,
 but there are no files.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10163#comment:13>
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.

Reply via email to