Bug#1037953: darcs: frequent segmentation fault

Tirifto tirifto at posteo.cz
Wed Jun 14 19:08:24 BST 2023


Package: darcs
Version: 2.16.5-1
Severity: important
X-Debbugs-Cc: tirifto at posteo.cz

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.


-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages darcs depends on:
ii  libc6            2.36-9
ii  libcurl3-gnutls  7.88.1-10
ii  libffi8          3.4.4-1
ii  libgmp10         2:6.2.1+dfsg1-1.1
ii  libtinfo6        6.4-4
ii  zlib1g           1:1.2.13.dfsg-1

darcs recommends no packages.

darcs suggests no packages.

-- no debconf information


More information about the Pkg-haskell-maintainers mailing list