darcs

Issue 413 getMBlocks: misaligned block returned

Title getMBlocks: misaligned block returned
Priority not-our-bug Status resolved
Milestone Resolved in
Superseder Nosy List CBa, darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy
Assigned To
Topics

Created on 2007-02-16.16:42:35 by Christoph.Bauer, last changed 2009-10-24.00:29:53 by admin.

Files
File name Uploaded Type Edit Remove
unnamed Christoph.Bauer, 2007-02-16.16:42:31 text/html
version.txt Christoph.Bauer, 2007-02-16.16:42:31 text/plain
Messages
msg1486 (view) Author: CBa Date: 2007-02-16.16:42:33
I have major troubles with darcs now.

I know from another machine, thar darcs needs 1750M to 

run darcs optimize -reoder-patches:

<quote>

11:cb@kl-nb16-005:~/imsbf% darcs +RTS -M1750M -RTS optimize
--reorder-patches

darcs.exe: getMBlocks: VirtualAlloc failed with: 8 

darcs.exe: internal error: getMBlocks: misaligned block returned

   Please report this as a bug to glasgow-haskell-bugs@haskell.org,

   or http://www.sourceforge.net/projects/ghc/

Version: (Windows XP)

darcs compiled on Jun 16 2006, at 13:00:32

# configured Fri Jun 16 12:59:52 USMST 2006

./configure --disable-mmap

Context:

[TAG 1.0.8

Tommy Pettersson <ptp@lysator.liu.se>**20060616160213]

</quote>

On the remote repro I get a "darcs: failed to read patch in
get_extra"-Message.

I found an email, that darcs optimize -reorder-patches could help.

The latest snapshot of darcs tells me:

<quote>

612:cb@kl-nb16-005:~/imsbf% darcs +RTS -M1750M -RTS optimize
--reorder-patches

darcs.exe: bug in darcs!

Failure commuting patches in commute_by called by gpit!

Please report this to bugs@darcs.net,

If possible include the output of 'darcs --exact-version'.

</quote>

The output of darcs -exact-version is attached.

And now darcs-1.0.8 check fails: 

darcs failed:  Error applying hunk to file ...

The same message from dacs-1.0.8 repair.

Christoph Bauer
Attachments
msg1521 (view) Author: kowey Date: 2007-03-08.16:25:24
Hmm... I'm just going on the error message here and suggesting that you report
this to the GHC folks.

We do know about the performance issues and are working on it.
msg1530 (view) Author: CBa Date: 2007-03-09.09:15:40
Meanwhile I found a solution for me. The command

darcs +RTS -M1500M -c -RTS optimize --reorder-patches

succedes. It used up to 1G memory.
msg1531 (view) Author: CBa Date: 2007-03-09.09:32:24
GHC Bug Entry: http://hackage.haskell.org/trac/ghc/ticket/1209

I'm not sure about ghc's version, since I used a precompiled darcs.
guess it was 6.4.2.
msg3137 (view) Author: kowey Date: 2008-02-05.21:13:58
Marked as fixed on the GHC tracker.
History
Date User Action Args
2007-02-16 16:42:35Christoph.Bauercreate
2007-03-08 16:25:27koweysetstatus: unread -> unknown
nosy: droundy, tommy, beschmi, kowey, Christoph.Bauer
messages: + msg1521
title: Bug report -> getMBlocks: misaligned block returned
2007-03-09 09:15:54CBasetnosy: + CBa
messages: + msg1530
2007-03-09 09:32:43CBasetnosy: droundy, tommy, beschmi, kowey, Christoph.Bauer, CBa
messages: + msg1531
2008-02-05 21:13:59koweysetstatus: unknown -> resolved
nosy: droundy, tommy, beschmi, kowey, Christoph.Bauer, CBa
messages: + msg3137
2009-08-06 17:46:28adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, Christoph.Bauer, CBa
2009-08-06 20:42:10adminsetnosy: - beschmi
2009-08-10 22:02:00adminsetnosy: + CBa, Christoph.Bauer, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:58:16adminsetnosy: + darcs-devel, - simon
2009-08-27 13:54:13adminsetnosy: tommy, kowey, darcs-devel, Christoph.Bauer, CBa, thorkilnaur, dmitry.kurochkin
2009-10-24 00:29:53adminsetnosy: - Christoph.Bauer