darcs

Issue 928 pull => exits 512

Title pull => exits 512
Priority bug Status chatting
Superseder Nosy List beschmi, dagit, droundy, kowey, mornfall, simon, simonmar, simonpj, tommy
Assigned To Topics

Created on 2008-06-18.06:16:58 by simonpj, last changed 2008-08-13.13:02:40 by mornfall.

Files
File name Uploaded Type Edit Remove
unnamed simonpj, 2008-06-18.06:16:55 text/html
Messages (mbox)
msg5096 (view) Author: simonpj Date: 2008-06-18.06:16:55
Here's another Darcs failure.

This is on Windows with darcs 1.0.9, using ssh.  The local repo is not partial.  I was pulling from the main GHC repo.

As usual I'm stumped.  A subsequent 'darcs pull' said "no remote changes to pull in".  So maybe it's ok.  But the failure message is alarming

Simon

[Add some x86/Linux outputs
Ian Lynagh <igloo@earth.li>**20080603145857]
[Add x86-linux output for a couple of benchmarks running the slow way
Ian Lynagh <igloo@earth.li>**20080603164937]
diffing dir...
Applying patches to the local directories...
diffing dir...
darcs failed: 512 at ./darcs-all line 59.
msg5098 (view) Author: kowey Date: 2008-06-18.14:49:48
No idea.  The error message is from the darcs-all script (and not darcs), but I
do not know why it would be exiting 512.

I did not find any interesting instances of the string '512' in our source code.

Thoughts, anyone?
msg5099 (view) Author: droundy Date: 2008-06-18.16:13:54
I've no ideas.

David
msg5442 (view) Author: mornfall Date: 2008-08-12.22:13:16
It's especially weird since exit code is a single byte under POSIX. Dunno about
Windows though. Might be something else than darcs is generating that? I actually
don't know zilch about Windows, but could the 512 be a symptom of a violent
termination, by something akin to a Unix signal? Out of memory, whatever? I can't
extract any useful information from that myself. I think there's basically no way
to know what's going wrong from the report...
msg5473 (view) Author: kowey Date: 2008-08-13.09:23:37
Does this help at all?
  http://coding.derkeiler.com/Archive/Python/comp.lang.python/2004-05/3713.html

In the sense that the exit code isn't /really/ 512?

Maybe #haskell would know what it means when we get an exit 512 from a Haskell
program?
msg5481 (view) Author: mornfall Date: 2008-08-13.13:02:37
Now, then, 512 sounds like a bug in whatever has been calling darcs. So what does
an exit code 2 mean with darcs? And is the caller bug really forgetting to shift
the value from the OS, or is it mangling it differently? (I believe applying
WEXITSTATUS under POSIX.)

Browse related patches: unstable | stable

History
Date User Action Args
2008-06-18 06:16:58simonpjcreate
2008-06-18 14:44:30koweylinkissue929 superseder
2008-06-18 14:49:50koweysetpriority: bug
nosy: + droundy, kowey
status: unread -> chatting
messages: + msg5098
title: Darcs fallure -> darcs pull => exits 512
2008-06-18 14:50:52koweysetnosy: droundy, tommy, beschmi, kowey, dagit, simonmar, simonpj
title: darcs pull => exits 512 -> pull => exits 512
2008-06-18 16:13:55droundysetnosy: droundy, tommy, beschmi, kowey, dagit, simonmar, simonpj
messages: + msg5099
2008-08-12 22:13:19mornfallsetnosy: + mornfall
messages: + msg5442
2008-08-13 09:23:40koweysetnosy: + simon
messages: + msg5473
2008-08-13 13:02:40mornfallsetnosy: droundy, tommy, beschmi, kowey, dagit, simonmar, simonpj, simon, mornfall
messages: + msg5481