Opened 8 years ago

Last modified 4 years ago

#487 new bug (None)

powerpc/linux segfaulting binaries

Reported by: dons Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.4.1
Keywords: Cc:
Operating System: Linux Architecture: powerpc
Type of failure: Runtime crash Difficulty: Unknown
Test Case: N/A Blocked By:
Blocking: Related Tickets:

Description (last modified by igloo)

(Just so we don't forget) On powerpc/linux both yi and
hmp3 segfault immediately when built the -fvia-C or
-fasm ways, with (in the case of hmp3):

(gdb) where
#0  0x100529d4 in __stginit_Binary_ ()
#1  0x1046ed78 in StgRun ()
#2  0x104671e0 in hs_add_root ()
#3  0x10467128 in startupHaskell ()
#4  0x10464f18 in main ()

and in stginit_Main_() with yi.

They die before any code in Main.main is executed.
Not much other info seems available. Both these
applications are built with the ncurses binding, and
this appears to be the same problem repored to the
lists back in June 05 by J. Bobbio:

http://www.mail-archive.com/glasgow-haskell-bugs@haskell.org/msg07478.html

A test case is attached to that mail.
To reproduce the hmp3 crash:

$ darcs get --partial

http://www.cse.unsw.edu.au/~dons/code/hmp3

And follow the cabalised build process. Both
applications work on apple/powerpc, interestingly enough.

-- Don

Change History (6)

comment:1 Changed 8 years ago by simonmar

  • Architecture set to powerpc
  • Description modified (diff)
  • Operating System set to Linux

comment:2 Changed 8 years ago by simonmar

  • Difficulty set to Unknown
  • Version changed from None to 6.4.1

comment:3 Changed 7 years ago by igloo

  • Description modified (diff)
  • Test Case set to N/A

comment:4 Changed 7 years ago by igloo

  • Milestone set to _|_

This sounds like a bug in the registerised powerpc/Linux port, which I don't think is being actively worked on, so I'm setting the milestone to _|_.

comment:5 Changed 5 years ago by igloo

  • Owner nobody deleted
  • Status changed from assigned to new

comment:6 Changed 4 years ago by simonmar

  • Type of failure set to Runtime crash
Note: See TracTickets for help on using tickets.