[GHC] #8216: Segment fault using TH

#8216: Segment fault using TH ------------------------------------+------------------------------------- Reporter: klrr | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Keywords: segment fault th | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- Hey, I was asked on reddit to report this as it was a bug. :-) When I try compile this code https://gist.github.com/klrr/6414202 (one of the acid-state examples) I get this error/Segment fault https://gist.github.com/klrr/6414605 The problem seem to be on line 19 "$(deriveSafeCopy 0 'base ''HelloWorldState)" that makes me think it's some issue with TH. Also, while I'm here, I'm sorry for my previous actions on #haskell, I wanna contribute and help Haskell community not be annoying and in the way. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8216 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8216: Segment fault using TH -------------------------------------+------------------------------------ Reporter: klrr | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: segment fault th Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by goldfire): I can't reproduce this on GHC 7.6.3. When I try compiling the file provided, it compiles cleanly. What version of GHC are you on? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8216#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8216: Segment fault using TH -------------------------------------+------------------------------------ Reporter: klrr | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: segment fault th Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by klrr): Oh, sorry forgot to add which version! I use version 7.4.1 on Ubuntu 12.04. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8216#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8216: Segment fault using TH -------------------------------------+------------------------------------ Reporter: klrr | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.4.1 Resolution: | Keywords: segment fault th Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by klrr): * version: 7.6.3 => 7.4.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8216#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8216: Segment fault using TH -------------------------------------+------------------------------------ Reporter: klrr | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.4.1 Resolution: duplicate | Keywords: segment fault th Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by goldfire): * status: new => closed * resolution: => duplicate Comment: In that case, it seems that the bug has already been found and fixed in GHC. I'll close this ticket, but do please reopen if you can reproduce the behavior in GHC 7.6.3 (or, even better, in GHC HEAD). Thanks for reporting! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8216#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC