[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:27:13 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:                
----------------------------------------+-----------------------------------

Comment(by totherme):

 Sigh - I fail at formatting. 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$
 }}}

 Sorry for the extra noise.

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



More information about the ghc-tickets mailing list