On Thu, 2006-11-09 at 17:36 +0100, Frederic Bouvier wrote:
> Quoting George Patterson:
> 
> > On Thu, 2006-11-09 at 16:22 +0100, Frederic Bouvier wrote:
> > > Quoting George Patterson:
> > >
> > > > On Thu, 2006-11-09 at 13:03 +0000, AJ MacLeod wrote:
> > > > > On Thursday 09 November 2006 10:33, Frederic Bouvier wrote:
> > > > > > > Don't you see these messages on Windows ?
> > > > > > > Cannot find image file "Aircraft/b1900d/Models/chrome1.rgb"
> > > > > > > Cannot find image file "Aircraft/b1900d/Models/chrome.rgb"
> > > > > > > Cannot find image file "<wherever is $FG_ROOT>/FOO"
> > > > > > I saw problems loading texture, but from memory, the file names were
> > the
> > > > > > empty string except for the last that is caused by a panel
> > declaration
> > > > > > without backgroud texture.
> > > > >
> > > > > The "chrome" messages are related to the chrome shader effect which 
> > > > > has
> > not
> > > > > yet been implemented in the OSG version of FG.  The Lightning shows 
> > > > > the
> > > > same
> > > > > messages (but suffers much more because practically the whole a/c skin
> > uses
> > > > > that effect).
> > > > >
> > > > > The b1900d segfaults here with OSG (Linux x86).
> > > > >
> > > >
> > > > Hi All,
> > > >
> > > > The B1900d will also segfault on the OSG version (with 64bit
> > > > libraries)on the AMD64 Architecture.
> > >
> > > nobody to post a backtrace ?
> > >
> > > -Fred
> > >
> > > --
> >
> >
> > Hi Fred,
> >
> > Sorry about that.
> >
> > See attached file (8.9kB) for backtrace.
> >
> > I'm not that familiar with gdb as far as getting the best output for a
> > backtrace.
> 
> Thanks George,
> 
> I will try to look into that, but unfortunately, your OSG build has no debug
> information.
> 
> -Fred

Hi Fred,

I have compiled the OSG,SimGear,Flightgear with the -g debug flag.
Backtrace attached.

Regards


George
$ gdb fgfs
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db library 
"/lib/libthread_db.so.1".

(gdb) run --aircraft=b1900d
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/local/bin/fgfs --aircraft=b1900d
[Thread debugging using libthread_db enabled]
[New Thread 47174223195120 (LWP 25958)]
[New Thread 1082636624 (LWP 25965)]
Cannot find image file "Aircraft/b1900d/Models/chrome1.rgb"
Cannot find image file "Aircraft/b1900d/Models/chrome.rgb"
[New Thread 1091029328 (LWP 25970)]
Cannot find image file "/usr/local/share/FlightGear/FOO"
Flight Director Check

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47174223195120 (LWP 25958)]
0x00002ae798382214 in osg::StateSet::runUpdateCallbacks (this=Cannot access 
memory at address 0x800013a34da8
) at ../StateSet.cpp:1453
1453        if (_updateCallback.valid()) (*_updateCallback)(this,nv);
(gdb) backtrace full
#0  0x00002ae798382214 in osg::StateSet::runUpdateCallbacks (this=Cannot access 
memory at address 0x800013a34da8
) at ../StateSet.cpp:1453
        itr = Cannot access memory at address 0x800013a34db0
(gdb) backtrace
#0  0x00002ae798382214 in osg::StateSet::runUpdateCallbacks (this=Cannot access 
memory at address 0x800013a34da8
) at ../StateSet.cpp:1453
#1  0x00000000004232a8 in osgUtil::UpdateVisitor::apply (this=0x60b5a80, 
node=<value optimized out>)
    at /usr/local/include/osgUtil/UpdateVisitor:74
#2  0x00002ae798314fae in osg::Group::accept (this=Cannot access memory at 
address 0x800013a34e58
) at ../../../include/osg/Group:38
#3  0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a34e78
) at ../Group.cpp:62
#4  0x00002ae798314fae in osg::Group::accept (this=Cannot access memory at 
address 0x800013a34eb8
) at ../../../include/osg/Group:38
#5  0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a34ed8
) at ../Group.cpp:62
#6  0x00002ae7979d5665 in osg::NodeVisitor::traverse (this=Cannot access memory 
at address 0x800013a34f18
) at ../../../include/osg/NodeVisitor:180
#7  0x00002ae798331b00 in osg::NodeCallback::traverse (this=Cannot access 
memory at address 0x800013a34f48
) at ../NodeCallback.cpp:22
#8  0x00000000008bcd4c in SGTranslateAnimation::operator() (this=0x499af20, 
node=0x49ac1b0, nv=0x60b5a80) at animation.cxx:699
#9  0x00002ae79832f4ce in osg::MatrixTransform::accept (this=Cannot access 
memory at address 0x800013a35018
) at ../../../include/osg/MatrixTransform:37
#10 0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a35038
) at ../Group.cpp:62
#11 0x00002ae798314fae in osg::Group::accept (this=Cannot access memory at 
address 0x800013a35078
) at ../../../include/osg/Group:38
#12 0x00002ae79839329d in osg::Switch::traverse (this=Cannot access memory at 
address 0x800013a350a8
) at ../Switch.cpp:40
#13 0x00002ae7983948f2 in osg::Switch::accept (this=Cannot access memory at 
address 0x800013a350f8
) at ../../../include/osg/Switch:36
#14 0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a35118
) at ../Group.cpp:62
#15 0x00002ae79832f4ce in osg::MatrixTransform::accept (this=Cannot access 
memory at address 0x800013a35158
) at ../../../include/osg/MatrixTransform:37
#16 0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a35178
) at ../Group.cpp:62
#17 0x00002ae79832f4ce in osg::MatrixTransform::accept (this=Cannot access 
memory at address 0x800013a351b8
) at ../../../include/osg/MatrixTransform:37
#18 0x00002ae79839329d in osg::Switch::traverse (this=Cannot access memory at 
address 0x800013a351e8
) at ../Switch.cpp:40
#19 0x00002ae7983948f2 in osg::Switch::accept (this=Cannot access memory at 
address 0x800013a35238
) at ../../../include/osg/Switch:36
#20 0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a35258
) at ../Group.cpp:62
#21 0x00002ae79832f4ce in osg::MatrixTransform::accept (this=Cannot access 
memory at address 0x800013a35298
) at ../../../include/osg/MatrixTransform:37
#22 0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a352b8
) at ../Group.cpp:62
#23 0x00000000008b928c in osg::Transform::accept (this=0x43bb0a0, [EMAIL 
PROTECTED]) at /usr/local/include/osg/Transform:79
#24 0x00002ae79839329d in osg::Switch::traverse (this=Cannot access memory at 
address 0x800013a35338
) at ../Switch.cpp:40
#25 0x00002ae7983948f2 in osg::Switch::accept (this=Cannot access memory at 
address 0x800013a35388
) at ../../../include/osg/Switch:36
#26 0x00002ae79839329d in osg::Switch::traverse (this=Cannot access memory at 
address 0x800013a353b8
) at ../Switch.cpp:40
#27 0x00002ae7983948f2 in osg::Switch::accept (this=Cannot access memory at 
address 0x800013a35408
) at ../../../include/osg/Switch:36
#28 0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a35428
) at ../Group.cpp:62
#29 0x00002ae798314fae in osg::Group::accept (this=Cannot access memory at 
address 0x800013a35468
) at ../../../include/osg/Group:38
#30 0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a35488
) at ../Group.cpp:62
#31 0x00002ae798314fae in osg::Group::accept (this=Cannot access memory at 
address 0x800013a354c8
) at ../../../include/osg/Group:38
#32 0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a354e8
) at ../Group.cpp:62
#33 0x00002ae79828db16 in osg::CameraNode::accept (this=Cannot access memory at 
address 0x800013a35528
) at ../../../include/osg/CameraNode:41
#34 0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a35548
) at ../Group.cpp:62
#35 0x00002ae798314fae in osg::Group::accept (this=Cannot access memory at 
address 0x800013a35588
) at ../../../include/osg/Group:38
#36 0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a355a8
) at ../Group.cpp:62
#37 0x00002ae798291202 in osg::CameraView::accept (this=Cannot access memory at 
address 0x800013a355e8
) at ../../../include/osg/CameraView:43
#38 0x00002ae798313310 in osg::Group::traverse (this=Cannot access memory at 
address 0x800013a35608
) at ../Group.cpp:62
#39 0x00002ae79828db16 in osg::CameraNode::accept (this=Cannot access memory at 
address 0x800013a35648
) at ../../../include/osg/CameraNode:41
#40 0x00002ae797a854f8 in osgUtil::SceneView::update (this=Cannot access memory 
at address 0x800013a35668
) at ../SceneView.cpp:274
#41 0x000000000041ede2 in FGRenderer::update (refresh_camera_settings=true) at 
renderer.cxx:663
#42 0x0000000000455e62 in GLUTdraw () at fg_os.cxx:128
#43 0x00002ae7988d4f03 in fgJoystickDetect () from /usr/lib/libglut.so.3
#44 0x00002ae7988d8124 in fgEnumWindows () from /usr/lib/libglut.so.3
#45 0x00002ae7988d53b1 in glutMainLoopEvent () from /usr/lib/libglut.so.3
#46 0x00002ae7988d5bba in glutMainLoop () from /usr/lib/libglut.so.3
#47 0x000000000041c15c in fgMainInit (argc=2, argv=0x7fff13a35d68) at 
main.cxx:1036
#48 0x0000000000419b43 in main (argc=2, argv=0x7fff13a35d68) at 
bootstrap.cxx:204
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to