logo       

Segfault in __stginit_Main_ on powerpc-linux: msg#00034

lang.haskell.glasgow.bugs

Subject: Segfault in __stginit_Main_ on powerpc-linux

Hi!

Yi [1] contains a ncurses binding that exhibits a strange bug on
powerpc-linux when built with GHC 6.4 using -fasm.

Attached is a not so minimal test case. The main module just import
Yi.Curses.Curses and it seems to be sufficient to kill module
initialisation.

$ gdb main
[...]
Program received signal SIGSEGV, Segmentation fault.
0x1000395c in __stginit_Main_ ()

With the 6.4 -fvia-C vs ncurses bug, that means that Yi is currently
unusable at all on powerpc-linux.

Cheers,
Jérémy.

[1] http://www.cse.unsw.edu.au/~dons/yi.html

Attachment: fasm-segfault.tar.bz2
Description: application/tbz

Attachment: pgpZ3R4oaSIVe.pgp
Description: PGP signature

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise