#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:
{{{
[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/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 ...
[EMAIL PROTECTED]:~/tn/GHC/trac/1227> ./Leak +RTS -hc -RTS
5000050000
[EMAIL PROTECTED]:~/tn/GHC/trac/1227> ./Leak +RTS -hc -hbvoid -RTS
5000050000
Segmentation fault
[EMAIL PROTECTED]:~/tn/GHC/trac/1227> rm *.o
[EMAIL PROTECTED]:~/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 ...
[EMAIL PROTECTED]:~/tn/GHC/trac/1227> ./Leak +RTS -hc -RTS
5000050000
[EMAIL PROTECTED]:~/tn/GHC/trac/1227> ./Leak +RTS -hc -hbvoid -RTS
5000050000
Segmentation fault
[EMAIL PROTECTED]:~/tn/GHC/trac/1227>
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1227>
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