#5003: test 4038 (ghci) fails on OS X 64 bit.
-------------------------------+--------------------------------------------
Reporter: gwright | Owner: gwright
Type: bug | Status: new
Priority: high | Milestone: 7.2.1
Component: GHCi | Version: 7.0.2
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: MacOS X | Blocking:
Architecture: x86_64 (amd64) | Failure: Runtime crash
-------------------------------+--------------------------------------------
Comment(by gwright):
On OS X 64 bit, valgrind didn't show anything:
{{{
gwright-macbook> valgrind "inplace/bin/ghc-stage2 --interactive 4038.hs"
valgrind: inplace/bin/ghc-stage2 --interactive 4038.hs: No such file or
directory
gwright-macbook> valgrind inplace/bin/ghc-stage2 --interactive 4038.hs
==24759== Memcheck, a memory error detector
==24759== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==24759== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright
info
==24759== Command: inplace/bin/ghc-stage2 --interactive 4038.hs
==24759==
GHCi, version 7.1.20110320: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
[1 of 1] Compiling Main ( 4038.hs, interpreted )
Ok, modules loaded: Main.
*Main> main
Bus error
gwright-macbook>
}}}
Poking around with gdb will be needed to find out when the stack (or stack
pointer) is corrupted.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5003#comment:11>
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