#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
> 26136 24879 24879 ?           -1 sshd: jdemeyer@pts/25
> 26308 26136 26308 pts/25   26434  \_ -bash
> 26434 26308 26308 pts/25   26434      \_ screen -r
> 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
> 21615 21614 21615 pts/24   21623  \_ /bin/bash
> 21623 21615 21615 pts/24   21623  |   \_ top
> 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
   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.

--

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