Open GoogleCodeExporter opened 9 years ago
Dereference after delete.
Original comment by neil.dav...@googlemail.com
on 15 Apr 2008 at 1:09
CloningFirst-chance exception at 0x7c812a5b in ProtoHaptic.exe: Microsoft C++
exception: HL::HLException at memory location 0x0395f70c..
->Destroying Historic Document...
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
Destroying Shape
First-chance exception at 0x03571290 in ProtoHaptic.exe: 0xC0000005: Access
violation
reading location 0x3003613e.
Unhandled exception at 0x03571290 in ProtoHaptic.exe: 0xC0000005: Access
violation
reading location 0x3003613e.
Original comment by neil.dav...@googlemail.com
on 15 Apr 2008 at 1:13
void CProtoHapticDoc::pushHistory(CProtoHapticDoc *doc)
{
if(m_historyCount<MAX_HISTORY) {
m_history[m_historyCount]= doc;
m_historyCount++;
} else {
// delete m_history[0]; //delete oldest and shift along ***********
int i;
for(i= 1; i<MAX_HISTORY; i++) {
m_history[i-1]= m_history[i];
}
m_history[MAX_HISTORY-1]= doc;
}
}
Original comment by neil.dav...@googlemail.com
on 15 Apr 2008 at 1:21
Original issue reported on code.google.com by
neil.dav...@googlemail.com
on 15 Apr 2008 at 1:08