[GHC] #3616: ghci crash from :l

View: New views
9 Messages — Rating Filter:   Alert me  

[GHC] #3616: ghci crash from :l

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3616: ghci crash from :l
---------------------+------------------------------------------------------
Reporter:  eflister  |          Owner:                  
    Type:  bug       |         Status:  new            
Priority:  normal    |      Component:  Compiler        
 Version:  6.10.3    |       Severity:  normal          
Keywords:            |       Testcase:                  
      Os:  MacOS X   |   Architecture:  Unknown/Multiple
---------------------+------------------------------------------------------
 i got the following from trying to :l this file

 Prelude> :l tmp.hs
 ghc: panic! (the 'impossible' happened)
   (GHC version 6.10.3 for i386-apple-darwin):
         getOptions'.parseLanguage(2) went past eof token

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3616>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #3616: ghci crash from :l

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3616: ghci crash from :l
----------------------+-----------------------------------------------------
 Reporter:  eflister  |          Owner:        
     Type:  bug       |         Status:  new  
 Priority:  normal    |      Milestone:        
Component:  Compiler  |        Version:  6.10.3
 Severity:  normal    |     Resolution:        
 Keywords:            |       Testcase:        
       Os:  MacOS X   |   Architecture:  x86  
----------------------+-----------------------------------------------------
Changes (by eflister):

  * architecture:  Unknown/Multiple => x86

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3616#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #3616: ghci crash from :l

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3616: ghci crash from :l
----------------------+-----------------------------------------------------
 Reporter:  eflister  |          Owner:        
     Type:  bug       |         Status:  new  
 Priority:  normal    |      Milestone:        
Component:  Compiler  |        Version:  6.10.3
 Severity:  normal    |     Resolution:        
 Keywords:            |       Testcase:        
       Os:  MacOS X   |   Architecture:  x86  
----------------------+-----------------------------------------------------
Changes (by eflister):

 * cc: erik.flister@... (added)

Comment:

 consistently occurs even in a fresh ghci session.  i'm on osx 10.5.8.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3616#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #3616: ghci crash from :l

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3616: ghci crash from :l
----------------------+-----------------------------------------------------
 Reporter:  eflister  |          Owner:        
     Type:  bug       |         Status:  new  
 Priority:  normal    |      Milestone:        
Component:  Compiler  |        Version:  6.10.3
 Severity:  normal    |     Resolution:        
 Keywords:            |       Testcase:        
       Os:  MacOS X   |   Architecture:  x86  
----------------------+-----------------------------------------------------
Comment (by eflister):

 ha ha, i tracked it down to having added -XNoMonomo... to the pragmas
 (copied and pasted from the error), rather than omitting the -X.  would be
 nice for the error to print out both the -X and {-# LANGUAGE #-} versions
 for easy cut and pasting.  i prefer the latter if you only have one.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3616#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #3616: ghci crash from :l

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3616: ghci crash from :l
----------------------+-----------------------------------------------------
 Reporter:  eflister  |          Owner:        
     Type:  bug       |         Status:  new  
 Priority:  normal    |      Milestone:        
Component:  Compiler  |        Version:  6.10.3
 Severity:  normal    |     Resolution:        
 Keywords:            |       Testcase:        
       Os:  MacOS X   |   Architecture:  x86  
----------------------+-----------------------------------------------------
Comment (by eflister):

 please also allow this format:

 {-# LANGUAGE
    EmptyDataDecls
  , MultiParamTypeClasses
 #-}

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3616#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #3616: ghci crash from :l

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3616: ghci crash from :l
-------------------------+--------------------------------------------------
    Reporter:  eflister  |        Owner:        
        Type:  bug       |       Status:  new    
    Priority:  normal    |    Milestone:        
   Component:  Compiler  |      Version:  6.10.3
    Severity:  normal    |   Resolution:        
    Keywords:            |   Difficulty:  Unknown
    Testcase:            |           Os:  MacOS X
Architecture:  x86       |  
-------------------------+--------------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown

Old description:

> i got the following from trying to :l this file
>
> Prelude> :l tmp.hs
> ghc: panic! (the 'impossible' happened)
>   (GHC version 6.10.3 for i386-apple-darwin):
>         getOptions'.parseLanguage(2) went past eof token
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

New description:

 i got the following from trying to :l this file
 {{{
 Prelude> :l tmp.hs
 ghc: panic! (the 'impossible' happened)
   (GHC version 6.10.3 for i386-apple-darwin):
         getOptions'.parseLanguage(2) went past eof token

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3616#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #3616: ghci crash from :l

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3616: ghci crash from :l
-------------------------+--------------------------------------------------
    Reporter:  eflister  |        Owner:          
        Type:  bug       |       Status:  closed  
    Priority:  normal    |    Milestone:          
   Component:  Compiler  |      Version:  6.10.3  
    Severity:  normal    |   Resolution:  duplicate
    Keywords:            |   Difficulty:  Unknown  
    Testcase:            |           Os:  MacOS X  
Architecture:  x86       |  
-------------------------+--------------------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => duplicate

Comment:

 dup of #3153 (the most opt-reported GHC bug!  we could have saved
 ourselves a lot of time by merging that fix into 6.10.4.  oh well.)

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3616#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #3616: ghci crash from :l

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3616: ghci crash from :l
--------------------------------+-------------------------------------------
    Reporter:  eflister         |        Owner:          
        Type:  feature request  |       Status:  reopened
    Priority:  normal           |    Milestone:          
   Component:  Compiler         |      Version:  6.10.3  
    Severity:  normal           |   Resolution:          
    Keywords:                   |   Difficulty:  Unknown
    Testcase:                   |           Os:  MacOS X
Architecture:  x86              |  
--------------------------------+-------------------------------------------
Changes (by eflister):

  * status:  closed => reopened
  * type:  bug => feature request
  * resolution:  duplicate =>

Comment:

 sorry, i didn't search for dupes cuz the message said to report it and i
 didn't have time to dig through a large ticket system.

 should i re-enter the two suggestions above as FR's?  i can't tell if they
 were addressed in the fix to 3153:
 -unify -X and pragma formats/error messages so that cut/paste is easy, etc
 -allow vertical tab structure of pragmas so they are easy to toggle with
 comments

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3616#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #3616: ghci crash from :l

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3616: ghci crash from :l
--------------------------------+-------------------------------------------
    Reporter:  eflister         |        Owner:        
        Type:  feature request  |       Status:  closed
    Priority:  normal           |    Milestone:        
   Component:  Compiler         |      Version:  6.10.3
    Severity:  normal           |   Resolution:  fixed  
    Keywords:                   |   Difficulty:  Unknown
    Testcase:                   |           Os:  MacOS X
Architecture:  x86              |  
--------------------------------+-------------------------------------------
Changes (by igloo):

  * status:  reopened => closed
  * resolution:  => fixed

Comment:

 I've opened #3645 for the interaction of layout and pragmas.

 I'm not sure about the idea of allowing `-XFoo` in a pragma header, as the
 `-XFoo` flags are specific to GHC.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3616#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs