If I open a k-meleon window from a shortcut three times in a row (rather than by Ctrl-N) Windows 2000 pro build 2195 sp1 displays the following error:
The instruction at "0x6c371351" referenced memory at "0x0000809b". The memory could not be "read".
If I debug I get:
Unhandled exception in k-meleon.exe (MFC42.DLL): 0xC0000005: Access Violation
and the code has been stopped in the position marked with ->
void* CMapPtrToPtr::GetValueAt(void* key) const
// find value (or return NULL -- NULL values not different as a result)
-> {
if (m_pHashTable == NULL)
return NULL;
UINT nHash = HashKey(key) % m_nHashTableSize;
// see if it exists
CAssoc* pAssoc;
for (pAssoc = m_pHashTable[nHash]; pAssoc != NULL; pAssoc = pAssoc->pNext)
{
if (pAssoc->key == key)
return pAssoc->value;
}
return NULL;
}