[darcs-devel] [issue1479] Memory leak with amend --edit

Marco Túlio Gontijo e Silva bugs at darcs.net
Wed Jun 10 22:54:54 UTC 2009


New submission from Marco Túlio Gontijo e Silva <marcot at holoscopio.com>:

Hello,

I've downloaded the ghc darcs repository, and made the following patch:

    hunk ./README 55
    -  This grabs the "boot" packages by default.  To get the full set
of
    -  packages, instead say
    -
    -     $ ./darcs-all --extra get
    -
    -  This also downloads the libraries that are normally bundled in
the
    -  "extralibs" package (see above).
    -

I recorded it with darcs record, and then tried to edit it with darcs
amend --edit.

After editing, I got:

Wed Jun 10 19:23:58 BRT 2009  Marco T\c3\balio Gontijo e Silva <marcot at holoscopio.com>
  * README: Remove ./darcs-all --extra indication.
Shall I amend this patch? [yNvpxq], or ? for help: y
Waiting for Emacs...
Optimizing inventory 70200
Morto
.
.
.
marcot at zezinho:~/codigo/haskell/ghc$ darcs amend --edit
Wed Jun 10 19:23:58 BRT 2009  Marco T\c3\balio Gontijo e Silva <marcot at holoscopio.com>
  * README: Remove ./darcs-all --extra indication.
Shall I amend this patch? [yNvpxq], or ? for help: y
Waiting for Emacs...
Stack space overflow: current size 8388608 bytes.
Use `+RTS -Ksize' to increase it.
^C^C^C^C^C^C^C^C^C^C^C^@Morto

Morto means killed in pt_BR.

The first time it consumed all my 3GiB of RAM and after I pressed C-M-F1
to get to tty1 it took a while before I could killall -9 darcs.

In the second try I tried pressing C-c to stop it, but I couldn't, and I
had to go to tty1 again to kill it.

Greetings.

----------
messages: 7909
nosy: dmitry.kurochkin, kowey, marcot, simon, thorkilnaur
status: unread
title: Memory leak with amend --edit

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1479>
__________________________________


More information about the darcs-devel mailing list