Skip to content
Snippets Groups Projects
  1. Apr 02, 2011
  2. Apr 01, 2011
  3. Mar 30, 2011
  4. Mar 29, 2011
  5. Mar 30, 2011
  6. Dec 22, 2010
  7. Mar 29, 2011
  8. Mar 25, 2011
  9. Mar 24, 2011
    • gwright@antiope.com's avatar
      Fix #5003, test 4038 (ghci) fails on OS X 64 bit. · ad54966f
      gwright@antiope.com authored
      The underlying problem in ticket #5003 is not in ghc, but rather
      that the test condition runs off the end of the C stack on 64 bit
      processors.
      
      Test 4038 does a recursive call of a simple external function.
      Each invocation of the function allocates a bit over 16 kB of C stack
      on a 64 bit processor (half as much on a 32 bit processor).  The
      typical C stack on a unix system is 8 MB, so after no more than
      about 500 nested calls the stack pointer will move past the end
      of the allocated stack and cause a segfault.
      
      The fix is to not call the function as many times.  I've made the
      number of calls a constant and have added a note explaining its
      value.
      
      With this patch test 4038 passes consistently on OS X 64 bit.
      ad54966f
  10. Mar 06, 2011
  11. Feb 27, 2011
  12. Feb 26, 2011
  13. Feb 23, 2011
  14. Feb 21, 2011
  15. Feb 17, 2011
  16. Feb 20, 2011
  17. Feb 17, 2011
  18. Feb 16, 2011
  19. Feb 15, 2011
  20. Feb 11, 2011
  21. Feb 10, 2011
  22. Feb 06, 2011
  23. Feb 10, 2011
  24. Feb 09, 2011
  25. Feb 08, 2011
Loading