Skip to content

CUtlHashFast::FastInsert crash (debug builds) #11

@dy-dx

Description

@dy-dx

Issue from Jul 17, 2013

SS_DeletePlayer
utllinkedlist.h (707) : Assertion Failed: IsInList(before
utlfixedmemory.h (214) : Assertion Failed: IsIdxValid(i)

>   sizzlingstats.dll!CUtlLinkedList<CUtlHashFast<playerAndExtra_s,CUtlHashFastNoHash>::HashFastData_t_<playerAndExtra_s>,int,1,int,CUtlFixedMemory<UtlLinkedListElem_t<CUtlHashFast<playerAndExtra_s,CUtlHashFastNoHash>::HashFastData_t_<playerAndExtra_s>,int> > >::LinkBefore(int before, int elem) Line 709    C++
    sizzlingstats.dll!CUtlHashFast<playerAndExtra_s,CUtlHashFastNoHash>::FastInsert(unsigned int uiKey, const playerAndExtra_s & data) Line 632 C++
    sizzlingstats.dll!CPlayerDataManager::RemovePlayer(engineContext_s & context, edict_t * pEdict) Line 125    C++
    sizzlingstats.dll!SizzlingStats::SS_DeletePlayer(edict_t * pEdict) Line 325 C++
    sizzlingstats.dll!CEmptyServerPlugin::ClientDisconnect(edict_t * pEdict) Line 569   C++

REPRO STEPS:
create CUtlHashFast<> object
call CUtlHashFast<>::RemoveAll()
call CUtlHashFast<>::FastInsert()

HAPPENS ONLY ON DEBUG BUILDS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions