#2087: On a PPC Mac OS X 10.4, the RTS reports "Memory leak detected" running a
program compiled with -debug -threaded -fhpc
----------------------------+-----------------------------------------------
 Reporter:  thorkilnaur     |          Owner:         
     Type:  bug             |         Status:  new    
 Priority:  normal          |      Milestone:  6.8.3  
Component:  Runtime System  |        Version:  6.9    
 Severity:  normal          |     Resolution:         
 Keywords:                  |     Difficulty:  Unknown
 Testcase:                  |   Architecture:  powerpc
       Os:  MacOS X         |  
----------------------------+-----------------------------------------------
Comment (by simonmar):

 I don't understand how GC can occur during `hs_add_root` - that's
 certainly unexpected.  It's obvious that memInventory doesn't take into
 account the blocks allocated by `hs_add_root`, the reason being that I
 didn't expect it to be called while these blocks were outstanding.

 Can you verify that the GC is really called during `hs_add_root`?  If so,
 turn on `+RTS -Dsgb` (at least) and attach the log.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2087#comment:5>
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