[GHC] #7980: runghc dies silently when given large numbers of arguments. Compiled code does not.

GHC ghc-devs at haskell.org
Wed Jun 12 20:25:16 CEST 2013


#7980: runghc dies silently when given large numbers of arguments. Compiled code
does not.
----------------------------------------+-----------------------------------
Reporter:  totherme                     |          Owner:                
    Type:  bug                          |         Status:  new           
Priority:  normal                       |      Component:  Compiler      
 Version:  7.6.2                        |       Keywords:                
      Os:  Linux                        |   Architecture:  x86_64 (amd64)
 Failure:  Incorrect result at runtime  |      Blockedby:                
Blocking:                               |        Related:                
----------------------------------------+-----------------------------------
 I'm using ghc 7.6.2 on Ubuntu 13.04. To reproduce, put the following line
 in /tmp/test.hs

 main = error "An Error message"

 Then run the following commands at the shell:

 gds at lithium:/tmp$ runghc ./test.hs `seq 1 100000`
 gds at lithium:/tmp$ ghc -o test test.hs
 gds at lithium:/tmp$ ./test `seq 1 100000`
 test: An Error message
 gds at lithium:/tmp$

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



More information about the ghc-tickets mailing list