Hello Venkat,
I don't have access to an OS X system, but I suspect the problem is
really this: Unknow container type DrawManager
The data files read by appCSM contained references to a type DrawManager
which does not exist, there is only CSMDrawManager. I've adjusted (and
committed) the files to use CSMDrawManager instead, which for me allows
the application to start.
Cheers,
Carsten
On 05/09/2016 12:22 PM, Venkat B wrote:
> Good day,
>
> Mac OS X El Capitan, OpenSG git latest, Xcode 7.2
>
> I am trying to run the CSM sample app and I get a crash on startup with
> the following backtrace:
> (lldb) bt
> * thread #1: tid = 0x1bc2361, 0x0000000111ea6e3c
> libOSGBase.2.0.0.dylib`OSG::PThreadBase::getCurrentChangeList() + 28 at
> OSGThread.cpp:291, queue = 'com.apple.main-thread', stop reason =
> EXC_BAD_ACCESS (code=1, address=0x0)
> * frame #0: 0x0000000111ea6e3c
> libOSGBase.2.0.0.dylib`OSG::PThreadBase::getCurrentChangeList() + 28 at
> OSGThread.cpp:291
> frame #1: 0x0000000111da0969
> libOSGBase.2.0.0.dylib`OSG::Thread::getCurrentChangeList() + 9 at
> OSGThread.inl:303
> frame #2: 0x0000000111e42929
> libOSGBase.2.0.0.dylib`OSG::FieldContainer::registerChangedContainer(this=0x0000000113b20760)
> + 313 at OSGFieldContainer.cpp:292
> frame #3: 0x00000001014db13f libOSGContribCSM.2.0.0.dylib`void
> OSG::FieldContainer::editMField<OSG::PointerMField<OSG::FieldContainer*,
> OSG::RecordedRefCountPolicy, 0> >(this=0x0000000113b20760, whichField=4,
> oField=0x0000000113b207b8) + 63 at OSGFieldContainer.inl:391
> frame #4: 0x00000001014d94f0
> libOSGContribCSM.2.0.0.dylib`OSG::ComplexSceneManagerBase::clearGlobals(this=0x0000000113b20760)
> + 48 at OSGComplexSceneManagerBase.cpp:704
> frame #5: 0x00000001014daebb
> libOSGContribCSM.2.0.0.dylib`OSG::ComplexSceneManagerBase::resolveLinks(this=0x0000000113b20760)
> + 43 at OSGComplexSceneManagerBase.cpp:1403
> frame #6: 0x0000000111e4307a
> libOSGBase.2.0.0.dylib`OSG::FieldContainer::subReferenceUnrecorded(this=0x0000000113b20760)
> + 74 at OSGFieldContainer.cpp:470
> frame #7: 0x00000001011878f3
> libOSGContribCSM.2.0.0.dylib`OSG::UnrecordedRefCountPolicy::subRef(pObject=0x0000000113b20760)
> + 35 at OSGContainerRefCountPolicies.inl:112
> frame #8: 0x00000001014ce2b4
> libOSGContribCSM.2.0.0.dylib`OSG::RefCountPtr<OSG::ComplexSceneManager,
> OSG::UnrecordedRefCountPolicy>::~RefCountPtr(this=0x000000010174d340) +
> 20 at OSGRefCountPtr.inl:110
> frame #9: 0x00000001014ca755
> libOSGContribCSM.2.0.0.dylib`OSG::RefCountPtr<OSG::ComplexSceneManager,
> OSG::UnrecordedRefCountPolicy>::~RefCountPtr(this=0x000000010174d340) +
> 21 at OSGRefCountPtr.inl:109
> frame #10: 0x00007fff89d330ff
> libsystem_c.dylib`__cxa_finalize_ranges + 345
> frame #11: 0x00007fff89d33403 libsystem_c.dylib`exit + 55
> frame #12: 0x00007fff85a605b4 libdyld.dylib`start + 8
> frame #13: 0x00007fff85a605ad libdyld.dylib`start + 1
>
> The following is printed on the screen as the application starts up:
>
> ColorBuffer : 0x0000000000000001
> DepthBuffer : 0x0000000000000002
> GBuffer : 0x0000000000000004
> ShadowFactor: 0x0000000000000008
> Unknow container type DrawManager
> WARNING: -----> syntax error in Line 71, read '['
> Got 0x11633c080
> loading osg file
> Source/Contrib/ComplexSceneManager/data/system-native.osg ...
> WARNING ADDING SECOND COMPLEX SCENE MANAGER, WILL SELF DESTRUCT IN 45
> SECONDSUnknow container type DrawManager
> WARNING: -----> syntax error in Line 71, read '['
> loading data Examples/CSM/Models/tie.wrl ...
> WARNING: ComplexSceneManager: no mainloop exiting
> FieldConnectorFactoryBase::terminate
> WARNING: FieldContainerFactoryBase::terminate: Entry [752] is not NULL
> ([0x116560fb0]).
> WARNING: [0] [0x116560ed0] [FileContextAttachment] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [751] is not NULL
> ([0x116560e80]).
> WARNING: [0] [0x116560dd0] [State] [1 0]
> [snip]
> WARNING: [0] [0x113c2c760] [Node] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [422] is not NULL
> ([0x113b208a0]).
> WARNING: [0] [0x113b20760] [ComplexSceneManager] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [331] is not NULL
> ([0x116553a60]).
> WARNING: [0] [0x116553850] [VRMLGenericAtt] [37 0]
> ComplexSceneManager: no mainloop exiting
>
> Any ideas what is happening and what I can do to fix the crash?
> Thanks in advance.
>
> Regards,
> Venkat
>
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>
>
>
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users