#4505: Segmentation fault on long input (list of pairs)
---------------------------------------------------------+------------------
    Reporter:  cathper                                   |        Owner:  
simonmar     
        Type:  bug                                       |       Status:  merge 
       
    Priority:  highest                                   |    Milestone:  7.0.2 
       
   Component:  Compiler                                  |      Version:  7.0.1 
       
    Keywords:  Segmentation fault, segfault, long input  |     Testcase:        
       
   Blockedby:                                            |   Difficulty:        
       
          Os:  Linux                                     |     Blocking:        
       
Architecture:  x86_64 (amd64)                            |      Failure:  
Runtime crash
---------------------------------------------------------+------------------
Changes (by simonmar):

  * priority:  high => highest
  * status:  new => merge


Comment:

 I improved the error message.  Please merge these for 7.0.2, and then re-
 milestone to 7.2.1 for a proper fix.

 {{{
 Wed Dec  8 08:32:12 PST 2010  Simon Marlow <[email protected]>
   * Tweak the "sorry" message a bit

   -             "sorry! (this is work in progress)\n"
   +             "sorry! (unimplemented feature or known bug)\n"

 Thu Dec  9 03:40:05 PST 2010  Simon Marlow <[email protected]>
   * Catch too-large allocations and emit an error message (#4505)

   This is a temporary measure until we fix the bug properly (which is
   somewhat tricky, and we think might be easier in the new code
   generator).

   For now we get:

   ghc-stage2: sorry! (unimplemented feature or known bug)
     (GHC version 7.1 for i386-unknown-linux):
           Trying to allocate more than 1040384 bytes.

   See: http://hackage.haskell.org/trac/ghc/ticket/4550
   Suggestion: read data from a file instead of having large static data
   structures in the code.

 Thu Dec  9 12:04:04 GMT 2010  Simon Marlow <[email protected]>
   * fix ticket number (#4505)
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to