[vbox-dev] an assert that requires a small fix

Mihai Hanor mhanor at yahoo.com
Thu Jan 27 09:48:23 GMT 2011


Hello,

vbox\src\VBox\Main\src-all\eventimpl.cpp
        
The iterator used at line 901:
    Assert(pit->second >= 0);
is invalid if we previously executed the erase map method, included by the "if" branch:
    mOwner->m->mPendingMap.erase(pit); // line 898

With page heap enabled, it always complains about memory access violation at line 901.



      




More information about the vbox-dev mailing list