Sounds like this could be the "static initialization order fiasco" -
http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.14 - or perhaps just
a plain old race condition.

Ryan

On Fri, Sep 16, 2011 at 9:42 AM, Cory Riddell <[email protected]> wrote:

> Hi Robert,
>
> I got the customer to run with --SingleThreaded and the warning
> disappeared. The warning seems to be somewhat sporadic.
>
> Cory
>
>
>
> On 9/16/2011 2:02 AM, Robert Osfield wrote:
> > HI Cory,
> >
> > I haven't heard of this specific problem before so you may well be the
> first!
> >
> > The "RenderBin" is effectively the default RenderBin, it's registered
> > during the static construction of the RenderBinPrototypeList, see the
> > top of src/osgUtil/RenderBin.cpp.  The way it's written should ensure
> > that the relevant bins are all registered before they are accessed,
> > and from the error you see it look like this isn't happening.   I
> > guess it's possible that multiple threads might call
> > renderBinPrototypeList() static method in a parallel and have the
> > static constructed in an implement way in one of the threads.
> >
> > Could you try running osgviewer single threaded to see if that makes a
> > difference.
> >
> > Robert.
> >
> > On Thu, Sep 15, 2011 at 5:51 PM, Cory Riddell <[email protected]> wrote:
> >> A customer is having trouble running our OSG-based application on his
> >> computer. I sent him osgviewer.exe and when he runs "osgviewer.exe
> >> cow.osg" it works, but this message is printed on the console:
> >>  Warning: RenderBin "RenderBin" implementation not found, using default
> >> RenderBin as a fallback.
> >>
> >> It's just a warning and he does see the cow, but I'm wondering if this
> >> message is a symptom of some other problem? FWIW, his workstation-class
> >> laptop has a FirePro m8900 video card with up to date drivers.
> >>
> >> Cory
> >> _______________________________________________
> >> osg-users mailing list
> >> [email protected]
> >>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >>
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

[email protected]
http://academic.cleardefinition.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to