You still have not specified the values that m_data, obj.m_data, RubySystem::getBlockSizeBytes() take when passed on to memcpy().

--
Nilay


On Tue, 28 Jun 2011, Junghoon wrote:


Program received signal SIGSEGV, Segmentation fault.
0x00007ffff643ed30 in memcpy () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff643ed30 in memcpy () from /lib/libc.so.6
#1  0x00000000008fa7a5 in DataBlock::operator= (this=0x82e0a28, obj=...) at
build/ALPHA_SE/mem/ruby/common/DataBlock.cc:95
#2  0x0000000000881339 in Directory_Controller::qf_queueMemoryFetchRequest
(this=0x22485e0, m_tbe_ptr=@0x7fffffffc5e8, addr=...) at
build/ALPHA_SE/mem/protocol/Directory_Controller.cc:445
#3  0x00000000008956e1 in Directory_Controller::doTransitionWorker
(this=0x22485e0, event=Directory_Event_FIRST, state=Directory_State_FIRST,
next_state=@0x7fffffffcd64, m_tbe_ptr=@0x7fffffffc5e8, addr=...

vi  build/ALPHA_SE/mem/ruby/common/DataBlock.cc:95

95 :  memcpy(m_data, obj.m_data, RubySystem::getBlockSizeBytes());


Is this right???

Thanks
Junghoon, Lee

2011. 6. 28. 오전 11:45 Nilay Vaish <[email protected]> 작성:

Arguments for the memcpy() function.

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to