#20884: line buffering in sage-logger causes "hang" due to invisible prompt when
installing experimental packages
-------------------------------------+-------------------------------------
Reporter: mkoeppe | Owner:
Type: defect | Status: needs_work
Priority: critical | Milestone: sage-7.3
Component: build | Resolution:
Keywords: | Merged in:
Authors: Erik Bray | Reviewers: Dima Pasechnik,
| Matthias Koeppe
Report Upstream: N/A | Work issues:
Branch: u/embray/disable- | Commit:
exp-pkg-prompt | 705573623266f1017aa4a433e816c0e878960836
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by leif):
I didn't want to wait for the latter to finish, but now it did:
{{{
#!sh
$ time ./sage-logger-7.3.beta6 -p "cat logs/install.log" test-current.log
>/dev/null
real 0m0.311s
user 0m0.170s
sys 0m0.160s
$ time ./sage-logger-20884 -p "cat logs/install.log" test-new.log
>/dev/null
real 25m12.620s
user 24m20.680s
sys 0m51.900s
}}}
(Note that the comparison isn't even exactly fair, since `sed` had to
output a longer prefix, and the second time, `install.log` was already in
the filesystem cache. ;-) )
--
Ticket URL: <https://trac.sagemath.org/ticket/20884#comment:51>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.