Hi there, <div><br></div><div>I'm doing some experiments with the GHC time profiler and I need to add a new field to the Cost Centre structures. I managed to add the field in the <i>CCS.h</i> header as well as in <i>codeGen/StgCmmProf.hs</i> but for some reason the program is crashing during garbage collection.</div><div><br>As I have no experience with the GHC internals, I'm having trouble to find the problem. It would be very nice if someone could give me some clue to find this bug.</div><div><br></div><div>The patch on GHC as well as the test sample and stack traces can be found here: <a href="https://gist.github.com/luisgabriel/39d51cf4d661c7e62e22">https://gist.github.com/luisgabriel/39d51cf4d661c7e62e22</a> </div><div><br></div><div>Thanks,</div><div>Luís Gabriel</div>