#5396: rare segfault in a terminal game
--------------------------------+-------------------------------------------
Reporter: MikolajKonarski | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.3 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: Runtime crash
--------------------------------+-------------------------------------------
Comment(by MikolajKonarski):
Update: when doing gdb debug correctly, I get:
Program received signal SIGSEGV, Segmentation fault.
0x000000000059e5b7 in mk_wcswidth ()
(gdb) where
#0 0x000000000059e5b7 in mk_wcswidth ()
#1 0x0000000000570fbd in scmf_info ()
#2 0x0000000000000000 in ?? ()
and the mk_wcswidth is probably a binding to custom C code defined here:
https://github.com/coreyoconnor/vty/blob/master/cbits/mk_wcwidth.c#L207
It seems other programs trigger it too:
http://chatlogs.jabber.ru/[email protected]/2011/04/13.html
(but it's not clear to me what problem it is).
May be related to:
https://github.com/coreyoconnor/vty/issues/14
Notified the maintainer.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5396#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs