Hi, On Tue, 2009-07-07 at 20:30 -0500, Dirk Reiners wrote: > Hi Gerrit, > > I've been valgrinding OpenSG a few times today to find where one of our > programs > drops huge amounts of memory (see other mail) and in that context I saw these > two: > > ==5241== by 0x4CADA6C: OSG::osgDoInit(int, char**, unsigned short, > unsigned short, unsigned short, bool, bool, bool) > (OSGBaseInitFunctions.cpp:781) > ==5241== by 0x42DAF2: OSG::osgInit(int, char**, unsigned short, > unsigned short, unsigned short, bool, bool, bool) > (OSGBaseInitFunctions.inl:80) > ==5241== by 0x42D091: main (main.cpp:146) > > > ==5241== by 0x4CADAD9: OSG::osgDoInit(int, char**, unsigned short, > unsigned short, unsigned short, bool, bool, bool) > (OSGBaseInitFunctions.cpp:793) > ==5241== by 0x42DAF2: OSG::osgInit(int, char**, unsigned short, > unsigned short, unsigned short, bool, bool, bool) > (OSGBaseInitFunctions.inl:80) > > > I'm very confused about them. 27 MB for a few vectors from the > RegisterCombinersChunk seems pretty weird, and so do 8 MB from the StateChunk > initialization. > > Have you seen those, and do you have an explanation for them? Or is it just a > sideeffect of something else going wrong with our version?
this really looks rather strange. Could you run a simple test with just osgInit and osgExit. Those leaks are all from the init part so if they are real they should show up there too. I'll tried it with my version (current head) and nothing shows up (again except something from gl and dl). What OS and variant (opt/debug/32/64) are you running ? kind regards, gerrit ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Opensg-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-core
