[Pkg-haskell-maintainers] Bug#790350: ghc-mod: Crush problem of ghc-mod
Kei Hibino
ex8k.hibino at gmail.com
Sun Jun 28 11:13:23 UTC 2015
Package: ghc-mod
Version: 5.2.1.2-1
Severity: important
Dear Maintainer,
Not compiled code like below (M.hs) causes ghc-mod to crush.
-------
{-# LANGUAGE TemplateHaskell #-}
module M where
import System.Environment
import Language.Haskell.TH
$(runIO getEnvironment >> return [])
-------
Crush exmaple commands and outputs are below.
% echo check M.hs | ghc-modi
Segmentation fault (core dumped)
% ghc-mod check M.hs
Segmentation fault (core dumped)
Potentially, it may be runtime system problem of ghc package.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages ghc-mod depends on:
ii ghc 7.8.4-9
ii libc6 2.19-18
ii libffi6 3.1-2+b2
ii libgmp10 2:6.0.0+dfsg-6
Versions of packages ghc-mod recommends:
ii ghc-mod-el 5.2.1.2-1
ghc-mod suggests no packages.
-- no debconf information
More information about the Pkg-haskell-maintainers
mailing list