#1037953 darcs: frequent segmentation fault

Package:
darcs
Source:
darcs
Description:
distributed, interactive, smart revision control system
Submitter:
Tirifto
Date:
2023-07-02 12:51:02 UTC
Severity:
normal
#1037953#5
Date:
2023-06-14 18:08:24 UTC
From:
To:
Dear Maintainer,

when trying to run different commands with darcs, it often happens that the
program crashes right away, reporting this segmentation fault:

  darcs: mmap 4096 bytes at (nil): Cannot allocate memory
  darcs: Try specifying an address with +RTS -xm<addr> -RTS
  Segmentation fault

This leaves a ‘lock’ file in the ‘_darcs’ directory. I must remove the file to
be able to try again. Trying again works sometimes.

Running ‘darcs record’ sometimes fails, but retrying can usually make it work.
At one point, the program only crashed after I had entered a patch description.
At the moment, I am unable to run ‘darcs amend’ no matter how many times I try.
I'm not seeing any pattern to the crashes.

I should note that the problem might not be in Debian’s build of darcs, but
rather in other parts of Debian and how they interact with darcs. I tried
uninstalling Debian's darcs and installing darcs using the Guix package manager
instead, but the issue has persisted. I have no clue what might be causing it.

#1037953#10
Date:
2023-07-02 12:43:38 UTC
From:
To:
Hello,

I'm experiencing this bug in stable.

I tested following commands:

darcs record : works proper in all cases

darcs clone/push/pull between local filesystems: works proper

darcs clone/push/pull in LAN without ssh: works proper

darcs clone from remote via https: works proper

darcs clone/push/pull from/to remote via ssh/ssl (hub.darcs.net):
segmentation fault after entering the pass phrase of the key. Constant
in all tries on different machines.


I hope this information could be usefull for you.


With friendly regards,

J. Dumke