Well, there are several issues there that we need to fix. I just saw the 
source/dest bug as well. Steve, any idea under what conditions this happens? I 
couldn't quite trace through the code and I don't understand why the packet 
that is attached to the mshr and the received packet should have the same data.

==24348==
==24348== Source and destination overlap in memcpy(0x135f98d0, 0x135f98d0, 1)
==24348==    at 0x4C29E2A: memcpy (mc_replace_strmem.c:497)
==24348==    by 0x68A950: Packet::setData(unsigned char*) (packet.hh:707)
==24348==    by 0x6B87BC: Cache<LRU>::getTimingPacket() (cache_impl.hh:1475)
==24348==    by 0x6B9327: Cache<LRU>::MemSidePort::sendPacket() 
(cache_impl.hh:1641)
==24348==    by 0x6B90A6: Cache<LRU>::MemSidePort::processSendEvent() 
(cache_impl.hh:1698)
==24348==    by 0x6BC334: EventWrapper<Cache<LRU>::MemSidePort, 
&(Cache<LRU>::MemSidePort::processSendEvent())>::process() (eventq.hh:587)
==24348==    by 0x5E0BD5: EventQueue::serviceOne() (eventq.cc:203)
==24348==    by 0x62570D: simulate(long) (simulate.cc:73)
==24348==    by 0x41FE7F: _wrap_simulate__SWIG_0 (event_wrap.cc:4379)
==24348==    by 0x42003D: _wrap_simulate (event_wrap.cc:4429)
==24348==    by 0x5548312: PyEval_EvalFrameEx (in /usr/lib/libpython2.6.so.1.0)
==24348==    by 0x5549D5F: PyEval_EvalCodeEx (in /usr/lib/libpython2.6.so.1.0)

It seems like a lot of problems exist that we must have recently introduced. 
I'm also finding issues with the timing simple cpu that i'm trying to track 
down as well. Anyone volunteering to see when these issues were introduced? I'm 
trying to track down the simple cpu problems at the moment.

Thanks,

Ali


On Sep 21, 2010, at 5:24 PM, Joel Hestness wrote:

I would guess that the issues aren't related, but it's always difficult to be 
certain. Have you tried running it with valgrind?

Valgrind shows an initialization error and what appears to be an interesting 
memcpy bug in packet handling in the cache tags, but it doesn't look like 
either are the cause of the seg fault (see attached).

  Joel

--
  Joel Hestness
  PhD Student, Computer Architecture
  Dept. of Computer Science, University of Texas - Austin
  http://www.cs.utexas.edu/~hestness


<valgrind.out><ATT00001..txt>


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to