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

GHC ghc-devs at haskell.org
Fri Sep 6 16:48:04 CEST 2013


#7980: runghc dies silently when given large numbers of arguments. Compiled code
does not.
------------------------------------------------+--------------------------
        Reporter:  totherme                     |            Owner:
            Type:  bug                          |           Status:  closed
        Priority:  normal                       |        Milestone:
       Component:  Compiler                     |          Version:  7.6.2
      Resolution:  fixed                        |         Keywords:
Operating System:  Linux                        |     Architecture:  x86_64
 Type of failure:  Incorrect result at runtime  |  (amd64)
       Test Case:                               |       Difficulty:
        Blocking:                               |  Unknown
                                                |       Blocked By:
                                                |  Related Tickets:
------------------------------------------------+--------------------------
Changes (by rwbarton):

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


Comment:

 I'm going to mark this as fixed since `runghc` no longer dies silently
 when given too many arguments.

 It's a little annoying that because `runghc` packs its argument list into
 a single argument to `ghc`, the effective maximum argument list size for
 `runghc` is quite a lot smaller than it would be for the compiled program,
 because of the two different limits in Linux.  But I'm going to chalk that
 up to an oddity of Linux; there would always be *some* difference in
 maximum argument list size.  If this really bothers someone, they can open
 a new ticket.

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




More information about the ghc-tickets mailing list