[cgma-dev] [MOAB-dev] Problems with ReadCGM

Jason Kraftcheck kraftche at cae.wisc.edu
Tue Oct 27 09:03:26 CDT 2009


Tim Tautges wrote:
> This might be related to calling the wrong overloaded function in CGM,
> for get_graphics or something related to it.
> 

It shouldn't be possible to call the wrong overloaded function (C++ name
mangling.)  Changing vtables would cause this, but I don't think we're
calling any virtual functions.  Is the get_graphics call in GQT or RefEdge?

> Could you run the cubit-based code under gdb, stop in
> GeometryQueryEngine::get_graphics (all instances, if multiple), and
> print a stack trace?  That would help determine which variants are being
> called on the way down to the function.
> 

As a last resort, you could try running it in valgrind.

- jason





More information about the cgma-dev mailing list