[GHC] #1227: Crash with biographical profiling on OS X
GHC
trac at galois.com
Fri Mar 16 02:02:57 EDT 2007
#1227: Crash with biographical profiling on OS X
----------------------------+-----------------------------------------------
Reporter: Judah Jacobson | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Multiple
Os: Multiple |
----------------------------+-----------------------------------------------
Changes (by thorkilnaur):
* architecture: powerpc => Multiple
* os: MacOS X => Multiple
Comment:
I can repeat this on PPC Mac OS X. Without -debug compile:
{{{
Thorkil-Naurs-Computer:~/tn/test/GHC/trac/1227 thorkilnaur$
/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-6.6-for-buildbot-
20070221_1000/ghc/compiler/stage2/ghc-inplace --version
The Glorious Glasgow Haskell Compilation System, version 6.6.20070220
Thorkil-Naurs-Computer:~/tn/test/GHC/trac/1227 thorkilnaur$
/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-6.6-for-buildbot-
20070221_1000/ghc/compiler/stage2/ghc-inplace --make Leak.hs -prof
[1 of 1]
Compiling Main ( Leak.hs, Leak.o )
Linking Leak ...
Thorkil-Naurs-Computer:~/tn/test/GHC/trac/1227 thorkilnaur$ ./Leak +RTS
-hc -RTS
5000050000
Thorkil-Naurs-Computer:~/tn/test/GHC/trac/1227 thorkilnaur$ ./Leak +RTS
-hc -hbvoid -RTS
5000050000
Bus error
Thorkil-Naurs-Computer:~/tn/test/GHC/trac/1227 thorkilnaur$
}}}
Using another ghc version:
{{{
Thorkil-Naurs-Computer:~/tn/test/GHC/trac/1227 thorkilnaur$
/usr/local/bin/ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.4.1
Thorkil-Naurs-Computer:~/tn/test/GHC/trac/1227 thorkilnaur$
/usr/local/bin/ghc --make Leak.hs -prof
Chasing modules from: Leak.hs
Compiling Main ( Leak.hs, Leak.o )
Linking ...
Thorkil-Naurs-Computer:~/tn/test/GHC/trac/1227 thorkilnaur$ ./Leak +RTS
-hc -RTS
5000050000
Thorkil-Naurs-Computer:~/tn/test/GHC/trac/1227 thorkilnaur$ ./Leak +RTS
-hc -hbvoid -RTS
5000050000
Bus error
Thorkil-Naurs-Computer:~/tn/test/GHC/trac/1227 thorkilnaur$
}}}
And on (SuSE) Linux:
{{{
tn at linux:~/tn/GHC/trac/1227> /home/tn/tn/GHCDarcsRepository/ghc-6.6-for-
1227-20070315_2305/ghc/compiler/stage2/ghc-inplace --version
The Glorious Glasgow Haskell Compilation System, version 6.6.20070314
tn at linux:~/tn/GHC/trac/1227> /home/tn/tn/GHCDarcsRepository/ghc-6.6-for-
1227-20070315_2305/ghc/compiler/stage2/ghc-inplace --make Leak.hs -prof
-debug
[1 of 1] Compiling Main ( Leak.hs, Leak.o )
Linking Leak ...
tn at linux:~/tn/GHC/trac/1227> ./Leak +RTS -hc -RTS
5000050000
tn at linux:~/tn/GHC/trac/1227> ./Leak +RTS -hc -hbvoid -RTS
5000050000
Segmentation fault
tn at linux:~/tn/GHC/trac/1227> rm *.o
tn at linux:~/tn/GHC/trac/1227> /home/tn/tn/GHCDarcsRepository/ghc-6.6-for-
1227-20070315_2305/ghc/compiler/stage2/ghc-inplace --make Leak.hs -prof
[1 of 1] Compiling Main ( Leak.hs, Leak.o )
Linking Leak ...
tn at linux:~/tn/GHC/trac/1227> ./Leak +RTS -hc -RTS
5000050000
tn at linux:~/tn/GHC/trac/1227> ./Leak +RTS -hc -hbvoid -RTS
5000050000
Segmentation fault
tn at linux:~/tn/GHC/trac/1227>
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1227>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list