[Pkg-haskell-maintainers] Bug#786727: crashes with segfault when drawLineH is called

Joey Hess id at joeyh.name
Sun May 24 23:00:15 UTC 2015


Package: libghc-ncurses-dev
Version: 0.2.11-1+b1
Severity: normal

This program crashes with a segfault.

import UI.NCurses
main = runCurses $ do
        w <- defaultWindow
        updateWindow w $ do
                drawLineH (Just (Glyph ' ' [])) 80

This didn't used to happen; the library was working when I wrote scroll earlier
this spring. Something, perrhaps the new version of C ncurses, or the upgrade
from ncurses-0.2.7 to 0.2.11, or the update from ghc 7.6.3 to 7.8.4, must have
broken it.

FWIW, I get the same crash if I install ncurses with cabal.

(gdb) bt
#0  __memcpy_sse2_unaligned ()
    at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:33
#1  0x0000000000415ede in ncurseszm0zi2zi11_UIziNCurses_drawBorder3_info ()
#2  0x0000000000000000 in ?? ()

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

Kernel: Linux 3.16.0-4-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 libghc-ncurses-dev depends on:
ii  ghc [libghc-transformers-dev-0.3.0.0-6458c]      7.8.4-6
ii  libc6                                            2.19-18
pn  libghc-base-dev-4.7.0.2-bfd89                    <none>
pn  libghc-containers-dev-0.5.5.1-d4bd8              <none>
ii  libghc-text-dev [libghc-text-dev-1.1.1.3-1cb5a]  1.1.1.3-2+b2
ii  libncurses5-dev                                  5.9+20150516-2
ii  libncursesw5                                     5.9+20150516-2
ii  libncursesw5-dev                                 5.9+20150516-2
ii  libtinfo5                                        5.9+20150516-2

libghc-ncurses-dev recommends no packages.

Versions of packages libghc-ncurses-dev suggests:
ii  libghc-ncurses-doc   0.2.11-1
pn  libghc-ncurses-prof  <none>

-- no debconf information

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20150524/960eec74/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list