[GHC] #14129: GHC segfaults trying to use ANN code when ghc is compiled as DYNAMIC_GHC_PROGRAMS=NO

#14129: GHC segfaults trying to use ANN code when ghc is compiled as DYNAMIC_GHC_PROGRAMS=NO -------------------------------------+------------------------------------- Reporter: pacak | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- ghc: HEAD {{{ module A where {-# ANN module "KABOOM" #-} }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14129 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14129: GHC segfaults trying to use ANN code when ghc is compiled as DYNAMIC_GHC_PROGRAMS=NO -------------------------------------+------------------------------------- Reporter: pacak | Owner: bgamari Type: bug | Status: new Priority: high | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * owner: (none) => bgamari * priority: normal => high * milestone: => 8.4.1 Old description:
ghc: HEAD
{{{ module A where
{-# ANN module "KABOOM" #-} }}}
New description: ghc: HEAD {{{#!hs module A where {-# ANN module "KABOOM" #-} }}} -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14129#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14129: GHC segfaults trying to use ANN code when ghc is compiled as
DYNAMIC_GHC_PROGRAMS=NO
-------------------------------------+-------------------------------------
Reporter: pacak | Owner: bgamari
Type: bug | Status: new
Priority: high | Milestone: 8.4.1
Component: Compiler | Version: 8.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#14129: GHC segfaults trying to use ANN code when ghc is compiled as DYNAMIC_GHC_PROGRAMS=NO -------------------------------------+------------------------------------- Reporter: pacak | Owner: bgamari Type: bug | Status: closed Priority: high | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14115 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * cc: Jaffacake (added) * resolution: => duplicate * related: => #14115 Comment: I just noticed that this is very likely a duplicate of #14115; I was actually thinking these were the same ticket for the last several days. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14129#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14129: GHC segfaults trying to use ANN code when ghc is compiled as DYNAMIC_GHC_PROGRAMS=NO -------------------------------------+------------------------------------- Reporter: pacak | Owner: bgamari Type: bug | Status: closed Priority: high | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14115 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by pacak): Maybe. I'm not 100% sure how ANN is implemented internally, people on #ghc suggested to submit all individual segfaults I can achieve. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14129#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14129: GHC segfaults trying to use ANN code when ghc is compiled as DYNAMIC_GHC_PROGRAMS=NO -------------------------------------+------------------------------------- Reporter: pacak | Owner: bgamari Type: bug | Status: closed Priority: high | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14115 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Don't worry, you absolutely did the right thing by opening separate tickets. However, my current thinking strongly leans towards these being the same issue as both `ANN` and TH use the interpreter, which seems to be failing here. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14129#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC