It may not be the same problem, but I remember getting almost no
helpful indications from either of those debug methods so OTOH it may
indeed be the same problem. Make sure you don't have conflicting
plugins in /Library or wherever the OSG release readme says to put
them, try moving them from /usr/local to /usr, try setting some
environment variable that I wish I had written down, etc.

I really should have blogged it when I figured it out, and I'm kicking
myself now for not doing that.

One way to be sure is to see if you can tell if this is the first
texture that it's trying to load. My guess is yes, but if it's not
then it's not the same problem. Also, if you built OSG from scratch
maybe you didn't get all the plugins needed by flightgear?

On Jan 19, 2008 10:15 PM, Ulrich Hertlein <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Hans Fugal wrote:
> >> It compiles and runs the splash screen and setups but then crashes 
> >> applying a
> >> texture (don't know which).
> >
> > I don't see that here (MacBook with Leopard), it runs fine. I think I
>
> MacBook Pro with Tiger.
>
> > have had a problem like this before and it ended up being related to
> > the OSG plugin search path. Make sure you only have one set of plugins
> > and that OSG and FlightGear are successfully finding them.
>
> Seems to be OK at least nobody's complaining about anything i.e. 'fgfs
> --log-level=debug' and OSG_NOTIFY_LEVEL don't give away anything.
>
> > Are you using the released OSG framework or did you compile OSG yourself?
>
> Compiling myself from svn, as library not framework.
> I'm pretty confident that the OSG build is OK as I'm using it for other 
> projects
> as well.
>
> I've attached a gdb backtrace of the crash along with some detail of the 
> images
> it's crashing on (cirrus.rgba). As you can see the crash is actually in the
> OpenGL driver
> (gldAllocVertexBuffer..gldGetTextureLevel..gleGenMipmaps..glTexImage2D) called
> from osg::Texture::applyTexImage2D_load().
>
> The texture and image look fine so maybe this is completely unrelated to the
> actual problem.  If it's the first texture download it could just as well be a
> GL context problem...
>
> I'm just getting my feet wet with the codebase so any help/hints etc. are
> appreciated.
>
> Cheers!
> /ulrich
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
>



-- 
Hans Fugal

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to