[Pkg-haskell-maintainers] Bug#790350: Bug#790350: ghc-mod: Crush problem of ghc-mod
Daniel Gröber
dxld at darkboxed.org
Sun Jun 28 12:55:30 UTC 2015
Hey,
thanks for the report! I can indeed reproduce this problem with the
version of ghc-mod in Debian and the latest version from upstream. I
added an issue upstream
(https://github.com/kazu-yamamoto/ghc-mod/issues/503) and will report
back when we have more information.
--Daniel
On Sun, Jun 28, 2015 at 08:13:23PM +0900, Kei Hibino wrote:
> 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
>
> _______________________________________________
> Pkg-haskell-maintainers mailing list
> Pkg-haskell-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-haskell-maintainers
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20150628/7842c15c/attachment-0001.sig>
More information about the Pkg-haskell-maintainers
mailing list