#3618: memory-leak detector in +RTS -DS fails to track allocations in 
constructors
-------------------------------+--------------------------------------------
    Reporter:  guest           |         Type:  bug           
      Status:  closed          |     Priority:  normal        
   Milestone:  _|_             |    Component:  Runtime System
     Version:  6.12.1 RC1      |   Resolution:  fixed         
    Keywords:                  |     Testcase:                
   Blockedby:                  |   Difficulty:  Unknown       
          Os:  Linux           |     Blocking:                
Architecture:  x86_64 (amd64)  |      Failure:  None/Unknown  
-------------------------------+--------------------------------------------

Comment(by simonmar):

 The warnings about memory allocation are probably harmless, yes.

 To avoid jumping into `handle_tick` when debugging, you can try `+RTS
 -V0`, although removing `-threaded` is better (single-threaded is easier
 to debug).

 Since the problem appears to be related to `StablePtr`s, you might want to
 check all the StablePtr-related code for bugs first, e.g. you might have
 freed a `StablePtr` before using it.  If you still can't find the bug, and
 can't reduce the size of your program, but you can make it crash reliably,
 then please do submit a bug report with instructions to reproduce it.

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