[GHC] #14271: ghci hangs with -fexternal-interpreter -prof

GHC ghc-devs at haskell.org
Wed Oct 18 13:55:57 UTC 2017


#14271: ghci hangs with -fexternal-interpreter -prof
-------------------------------------+-------------------------------------
        Reporter:  AndreasK          |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHCi crash        |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by AndreasK):

 Replying to [comment:7 Phyx-]:
 > That's slightly worrying.. Do you happen to know which commit you were
 on before? I'd like to bisected this.

 At commit a4ee28978acbcf68da9dfb6f198cb6e1ff38ccca on the tree I had on my
 laptop with a validating build.

 Seems like an error independent of the other issue though.

 {{{
 inplace/bin/ghci.exe -fexternal-interpreter -prof
 WARNING: GHCi invoked via 'ghci.exe' in MinTTY consoles (e.g., Cygwin or
 MSYS)
          doesn't handle Ctrl-C well; use the 'ghcii.sh' shell wrapper
 instead
 GHCi, version 8.3.20171003: http://www.haskell.org/ghc/  :? for help

 <interactive>:1:19: error:
     Not in scope: `System.IO.hSetBuffering'
     No module named `System.IO' is imported.

 <interactive>:1:43: error:
     Not in scope: `System.IO.stdin'
     No module named `System.IO' is imported.

 <interactive>:1:60: error:
     Not in scope: data constructor `System.IO.NoBuffering'
     No module named `System.IO' is imported.

 <interactive>:1:81: error:
     Not in scope: `GHC.Base.thenIO'
     No module named `GHC.Base' is imported.

 <interactive>:1:99: error:
     Not in scope: `System.IO.hSetBuffering'
     No module named `System.IO' is imported.

 <interactive>:1:123: error:
     Not in scope: `System.IO.stdout'
     No module named `System.IO' is imported.

 <interactive>:1:140: error:
     Not in scope: data constructor `System.IO.NoBuffering'
     No module named `System.IO' is imported.

 <interactive>:1:161: error:
     Not in scope: `GHC.Base.thenIO'
     No module named `GHC.Base' is imported.

 <interactive>:1:179: error:
     Not in scope: `System.IO.hSetBuffering'
     No module named `System.IO' is imported.

 <interactive>:1:203: error:
     Not in scope: `System.IO.stderr'
     No module named `System.IO' is imported.

 <interactive>:1:220: error:
     Not in scope: data constructor `System.IO.NoBuffering'
     No module named `System.IO' is imported.

 }}}

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


More information about the ghc-tickets mailing list