[GHC] #7684: cgrun071 segfaults

#7684: cgrun071 segfaults --------------------------+------------------------------------------------- Reporter: tibbe | Owner: tibbe Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: MacOS X | Architecture: x86_64 (amd64) Failure: Runtime crash | Blockedby: Blocking: | Related: --------------------------+------------------------------------------------- I ran into this working on something unrelated today: {{{ =====> cgrun071(normal) 171 of 3449 [0, 0, 12] cd ./codeGen/should_run && '/Users/tibbe/src/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package- db -rtsopts -fno-ghci-history -o cgrun071 cgrun071.hs
cgrun071.comp.stderr 2>&1 cd ./codeGen/should_run && ./cgrun071 cgrun071.run.stdout 2>cgrun071.run.stderr /bin/sh: line 1: 37450 Segmentation fault: 11 ./cgrun071 < /dev/null > cgrun071.run.stdout 2> cgrun071.run.stderr Wrong exit code (expected 0 , actual 139 ) Stdout:
Stderr: *** unexpected failure for cgrun071(normal) }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7684 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7684: cgrun071 segfaults -------------------------------+-------------------------------------------- Reporter: tibbe | Owner: tibbe Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: | Os: MacOS X Architecture: x86_64 (amd64) | Failure: Runtime crash Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | -------------------------------+-------------------------------------------- Changes (by simonmar): * difficulty: => Unknown * milestone: => 7.8.1 Comment: As discussed on IRC, this is very likely due to #7383. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7684#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7684: cgrun071 segfaults -------------------------------+-------------------------------------------- Reporter: tibbe | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: | Os: MacOS X Architecture: x86_64 (amd64) | Failure: Runtime crash Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | -------------------------------+-------------------------------------------- Changes (by tibbe): * owner: tibbe => simonmar Comment: Assigning to Simon M as he thinks this is a codegen problem. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7684#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7684: cgrun071 segfaults -------------------------------+-------------------------------------------- Reporter: tibbe | Owner: simonmar Type: bug | Status: infoneeded Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: | Os: MacOS X Architecture: x86_64 (amd64) | Failure: Runtime crash Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | -------------------------------+-------------------------------------------- Changes (by simonmar): * status: new => infoneeded Comment: Please try the patch attached to #7383. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7684#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7684: cgrun071 segfaults ----------------------------+----------------------------------------------- Reporter: tibbe | Owner: simonmar Type: bug | Status: closed Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Resolution: fixed | Keywords: Os: MacOS X | Architecture: x86_64 (amd64) Failure: Runtime crash | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: ----------------------------+----------------------------------------------- Changes (by igloo): * status: infoneeded => closed * resolution: => fixed Comment: Fixed by the #7383 patch. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7684#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7684: cgrun071 segfaults ----------------------------+----------------------------------------------- Reporter: tibbe | Owner: simonmar Type: bug | Status: closed Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Resolution: fixed | Keywords: Os: MacOS X | Architecture: x86_64 (amd64) Failure: Runtime crash | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: ----------------------------+----------------------------------------------- Comment(by nfrisby): I still see the same error that Johan originally reported. I'm on OS X 10.7.5 with an Core i7. {{{ ghc : ade1ae97ed52c493ec415c1601dace39b64071dd testsuite : 743cab5865ae0b9820dadc33a692511e0e467b9b }}} I used `validate --slow`. Both 085e8145f63c8f42d8bc19cd3cff52b8cd5b6455 and 229323898b0809047b19b79c181085430cce9850 occur in my `git log` output. What info can I provide that would be more helpful? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7684#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7684: cgrun071 segfaults ----------------------------+----------------------------------------------- Reporter: tibbe | Owner: simonmar Type: bug | Status: closed Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Resolution: fixed | Keywords: Os: MacOS X | Architecture: x86_64 (amd64) Failure: Runtime crash | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: ----------------------------+----------------------------------------------- Comment(by simonmar): Is this 64-bit? The commit log in the patch mentioned that it might not be quite right for 64 bits. I don't have time to look at it right now, but perhaps someone else could fix it using the 32 bit patch as an example of what needs doing. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7684#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7684: cgrun071 segfaults ----------------------------+----------------------------------------------- Reporter: tibbe | Owner: simonmar Type: bug | Status: closed Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Resolution: fixed | Keywords: Os: MacOS X | Architecture: x86_64 (amd64) Failure: Runtime crash | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: ----------------------------+----------------------------------------------- Comment(by nfrisby): Yep, Core i7 is x86-64. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7684#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC