Menu ▾ ▴

#3 CHierarchy.findType causes memory access violation

open-fixed
nobody
None
5
2006-09-07
2006-08-25
No

When CHierarchy.findType(const std::string &aType) is
called with a string which does not correspond to any
of the valid types the following error is generated:

unknown location(0): fatal error in
"testHierarchyUtilities": signal: memory access violation

I'm not sure what the designed behavior should be here,
but I would guess that the returned iterator should
refer to a NULL VertexDescriptor.

I've uploaded an addition to the unit test for GraphRep
that illustrates the problem. (in the branches directory)

Discussion

  • Ernest Foster

    Ernest Foster - 2006-09-07

    Logged In: YES
    user_id=1514904

    Revision 35 of the branches work area should contain a fix
    for this bug. I've run the new unit test against it and it
    passes.

     
  • Ernest Foster

    Ernest Foster - 2006-09-07
    • status: open --> open-fixed
     

Log in to post a comment.