#14055: Fix sage-cleaner
------------------------------------------------+---------------------------
Reporter: jdemeyer | Owner: leif
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-5.9
Component: scripts | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: John
Palmieri, Leif Leonhardy, Volker Braun
Authors: Jeroen Demeyer, Volker Braun | Merged in:
Dependencies: | Stopgaps:
------------------------------------------------+---------------------------
Comment (by vbraun):
I ran `strace -ff -o /tmp/log/trace -s 128 sage -tp
doc/en/constructions/linear_algebra.rst` on my desktop and there isn't
much going on in the file system:
{{{
$ grep ^unlink *
trace.13793:unlink("/tmp/ffiHfdBLe") = 0
trace.13793:unlink("/tmp/QMFB1f") = 0
trace.13793:unlink("/tmp/tmp7WBqmx") = 0
trace.13793:unlink("/dev/shm/sem.opP4VE") = 0
trace.13793:unlink("/dev/shm/sem.mp13793-0") = 0
trace.13793:unlink("/dev/shm/sem.yHmC64") = 0
trace.13793:unlink("/dev/shm/sem.mp13793-1") = 0
trace.13793:unlink("/dev/shm/sem.8cqchv") = 0
trace.13793:unlink("/dev/shm/sem.mp13793-2") = 0
trace.13793:unlink("/tmp/tmpfadSPrV") = 0
trace.13834:unlink("/home/vbraun/opt/sage-5.9.beta5/local/lib/sage-force-
relocate.txt") = -1 ENOENT (No such file or directory)
trace.13844:unlink("/home/vbraun/.sage/temp/volker-
desktop.stp.dias.ie/13859/spawned_processes") = 0
$ grep ^rmdir *
trace.13793:rmdir("/home/vbraun/.sage/temp/volker-
desktop.stp.dias.ie/13793") = 0
trace.13844:rmdir("/home/vbraun/.sage/temp/volker-
desktop.stp.dias.ie/13859") = 0
$ grep ^rename *
trace.13793:rename("/tmp/tmp7WBqmx",
"/home/vbraun/.sage/cache/_home_vbraun_opt_sage-5.9.beta5_devel_sage-main-
lazy_import_cache.pickle") = -1 EXDEV (Invalid cross-device link)
trace.13793:rename("/home/vbraun/.sage/tmpQCpKCj",
"/home/vbraun/.sage/timings2.json") = 0
}}}
The only obvious race is #13826, though I don't think that could cause the
lisp failure. All communication with Maxima goes through a pty.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14055#comment:85>
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 http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.