[GHC] #9070: "Simplifier ticks exhausted"

GHC ghc-devs at haskell.org
Sat May 3 14:29:05 UTC 2014


#9070: "Simplifier ticks exhausted"
----------------------------------+-------------------------------------
       Reporter:  dermesser       |             Owner:
           Type:  bug             |            Status:  new
       Priority:  normal          |         Milestone:
      Component:  Compiler        |           Version:  7.6.3
       Keywords:                  |  Operating System:  Unknown/Multiple
   Architecture:  x86_64 (amd64)  |   Type of failure:  None/Unknown
     Difficulty:  Unknown         |         Test Case:
     Blocked By:                  |          Blocking:
Related Tickets:                  |
----------------------------------+-------------------------------------
 I know nothing more than what GHC said (I'm on debian, installed from the
 repositories).

 {{{
 (GHC version 7.6.3 for x86_64-unknown-linux):
         Simplifier ticks exhausted
     When trying UnfoldingDone base:GHC.Base.$fMonadIO_$c>>={v rJ2} [gid]
     To increase the limit, use -fsimpl-tick-factor=N (default 100)
     If you need to do this, let GHC HQ know, and what factor you needed
     To see detailed counts use -ddump-simpl-stats
     Total ticks: 31764
 }}}

 The code triggering the error is the code commented out in lines 52-54:

 {{{
  42     redis_family_raw <- getEnv redisFamilyVar
  43     redis_addr <- getEnv redisAddressVar
  44     redis_port <- getEnv redisPortVar
  45
  46     (family,redis_family) <- case (parseFamily family_raw,parseFamily
 redis_family_raw) of
  47                     (Just fam, Just rfam) -> return (fam,rfam)
  48                     x -> fail $ "Unknown address family: " ++ show x
  49
  50     sockaddr <- getSockAddr family broker_address broker_port_raw
  51
  52     --redis_conn <- case redis_family of
  53     --                        WAFamilyInet -> R.connect $
 defaultConnectInfo { connectHost = redis_addr, connectPort = Service
 redis_port }
  54     --                        WAFamilyUnix -> R.connect $
 defaultConnectInfo { connectPort = UnixSocket redis_addr }
 }}}

 However, this bug occurs only when compiling with cabal.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9070>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list