darcs

Issue 2069 darcs diff sometimes leaves temporary files when interrupted by a signal

Title darcs diff sometimes leaves temporary files when interrupted by a signal
Priority Status given-up
Milestone Resolved in
Superseder Nosy List
Assigned To
Topics

Created on 2011-04-28.21:06:08 by bfr, last changed 2017-07-31.00:24:38 by gh.

Messages
msg13968 (view) Author: bfr Date: 2011-04-28.21:06:07
We found this when the /tmp partition overflowed on our webserver that
uses the darcsweb cgi script. The /tmp contained lots of new-<project>
and old-<project> directories, and the same with -<n> added (with n form
1 to some two-digit number).

We can reproduce the bug by issuing

  darcs diff --from-patch=<some patch name>

and then hitting Ctrl-C fast; we need to try this a number of times
before the error occurs, it "helps" if the darcs diff is slow.

The version we use is darcs-2.4.4 (with later versions we still
regularly encounter http://bugs.darcs.net/issue1980).
msg13976 (view) Author: bfr Date: 2011-04-29.13:14:08
I have looked at the source code and cannot detect anything that would
explain this. Also, I could not reproduce this problem on any other
machine here, except on the web server. It might be possible that the
darcs binary is not 100% compatible with the OS on the server (a SuSE
SLES 10); I copied a darcs binary compiled on a debian system to the
server machine, since I could not find binary rpms for SLES 10.
History
Date User Action Args
2011-04-28 21:06:08bfrcreate
2011-04-29 13:14:09bfrsetmessages: + msg13976
2017-07-31 00:24:38ghsetstatus: unknown -> given-up
nosy: - bfr