I forgot to mention, I am on RHEL 7.3 using gcc 5.4.0 From: Gutierrez, Anthony Sent: Wednesday, December 5, 2018 2:52 PM To: [email protected] Subject: Problem with dyn insts/refcnt pointers in O3 LSQ.
Hi All, I am getting a segfault almost immediately after simulation starts, I think due to this change: https://gem5-review.googlesource.com/c/public/gem5/+/13105/5, as I'm attempting to merge master into our internal master branch. What I see happening is that LSQUnit<Impl>::executeStore() calls LSQUnit<Impl>::checkViolations() and at some point DynInstPtr ld_inst = loadQueue[load_idx]; returns a DynInstPtr whose data is null. I haven't looked at the recent changes to the DynInst and RefCountingPtr closely, but I'm guessing somehow the reference count for the obj is not tracked properly at some point and the object is deleted. Giacomo, do you have any idea what could be causing this? In the meantime, I'll do some debugging to try to understand the issue better. Thanks, Tony _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
