Archived
This forum has been archived. Please start a new discussion on GitHub.
Freeze problem
ruzark
in Help Center
Hello guys, I'm reading through the ICE documentation doing all the examples, and I'm stuck in the Freeze section because of this problem:
for( p = map.begin(); p != map.end(); ++p )
{
p.set( p->second + 1 );
}
The p.set( p->second + 1 ); instruction makes my program crash, besides if I comment that line so my program can run without crashing, I need to do this: p = map.end(); before clossing the connection to the database if I don't the programs shows an error.
I'm using windows XP with VS.net2k3.
The error I get is this:
Debug Assertion Failed!
Program: bla bla bla.exe
File: dbgdel.cpp
Line: 52
Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
Can anyone help me with this?
for( p = map.begin(); p != map.end(); ++p )
{
p.set( p->second + 1 );
}
The p.set( p->second + 1 ); instruction makes my program crash, besides if I comment that line so my program can run without crashing, I need to do this: p = map.end(); before clossing the connection to the database if I don't the programs shows an error.
I'm using windows XP with VS.net2k3.
The error I get is this:
Debug Assertion Failed!
Program: bla bla bla.exe
File: dbgdel.cpp
Line: 52
Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
Can anyone help me with this?
0
