Bug#847677: "unable to decommit memory" data loss

Joey Hess id at joeyh.name
Sat Dec 10 15:24:26 UTC 2016

Package: ghc
Version: 8.0.1-14
Severity: serious

git-annex: unable to decommit memory: Invalid argument

This happened with a git-annex built with this ghc, and bundled with
Debian's glibc (essentially a chroot), on a Fedora system with a 4.4.14
Linux kernel.

It apparently then led to memory corruption, since git-annex created
some very bogus symlinks:

lrwxrwxrwx 1 user user 338 Jun 17 22:36 bup.git/objects/pack/pack-47b493a3bbbd22200d2b390c277e49ce713243cc.pack -> *??:?;J?????????

So, we seem to have data loss, presumably any git-annex binary built
with this ghc and used with a too old kernel. Could also affect other
haskell programs.

The ghc bug leading to this problem has been fixed:


Could you please fast-track this fix into Debian?

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ghc depends on:
ii  dpkg             1.18.14
ii  gcc              4:6.1.1-1
ii  libbsd-dev       0.8.3-1
ii  libc6            2.24-5
ii  libc6-dev        2.24-5
ii  libffi-dev       3.2.1-6
ii  libffi6          3.2.1-6
ii  libgmp-dev       2:6.1.1+dfsg-1
ii  libgmp10         2:6.1.1+dfsg-1
ii  libncurses5-dev  6.0+20160917-1
ii  libtinfo5        6.0+20160917-1

ghc recommends no packages.

Versions of packages ghc suggests:
ii  ghc-doc      8.0.1-14
ii  ghc-prof     8.0.1-14
pn  haskell-doc  <none>
pn  llvm-3.7     <none>
ii  perl         5.24.1~rc3-3

-- no debconf information

see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20161210/f349e9ba/attachment.sig>

More information about the Pkg-haskell-maintainers mailing list