At 10/23/02, Tony Peden wrote:
On Wed, 2002-10-23 at 19:14, Michael Selig wrote:
> At 10/23/02, Tony Peden wrote:
> >On Wed, 2002-10-23 at 17:39, Michael Selig wrote:
> > >
> > > I am trying to compile and run the latest version of fgfs, but I have
> > > hit a problem. When I run it I promptly get the error message
> > > "Segmentation Fault"
> > > There are no other messages.
> > >
> > > What I have:
> > > - Redhat 7.1
> > > - automake 1.6.3
> > > - autoconf 2.53
> > > - plib 1.6.0
> > > - yesterday's cvs of Simgear, fgfsbase, Flightgear (0.9)
> > >
> > > I am able to compile and run my older version of fgfs (from
> > > 8/20/2002) w/ the new plib and Simgear.
> > >
> > > Also, we're able to compile and run the new setup on some other
> > > Redhat machines.
> > >
> > > So this does seem to be machine specific, but I have not changed
> > > anything at the system level.
> > >
> > > Anyone have any ideas on what I could try next?
> >
> >It may help to know where it's crashing.
> >
> >run fgfs with this:
> >gdb fgfs
> >type run at the gdb prompt then, when it crashes, type bt and post the
> >results.
>
>
> Here's what I get:
>
> ~/www-flightgear-org> gdb ./FlightGear/src/Main/fgfs
> GNU gdb 5.0rh-5 Red Hat Linux 7.1
> Copyright 2001 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 "i386-redhat-linux"...
> (gdb) run
> Starting program:
> /home/m-seligSim/www-flightgear-org/./FlightGear/src/Main/fgfs
> [New Thread 1024 (LWP 21926)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 21926)]
> __strtol_internal (nptr=0x8833618 "", endptr=0x85ccee0, base=139597448,
> group=1065353216) at eval.c:36
> 36 eval.c: No such file or directory.
> in eval.c
> (gdb) bt
> #0 __strtol_internal (nptr=0x8833618 "", endptr=0x85ccee0, base=139597448,
> group=1065353216) at eval.c:36
> #1 0x0834b82a in SkyTextureState::SkyTextureState (this=0x8833618)
> at SkyTextureState.cpp:47
> #2 0x08348a5f in SkyMaterial::SkyMaterial (this=0x8833578) at
> SkyMaterial.cpp:60
> #3 0x08348223 in SkyLight::SkyLight (this=0x8833500,
> eType=SKY_LIGHT_DIRECTIONAL)
> at SkyLight.cpp:67
> #4 0x08346ce6 in __static_initialization_and_destruction_0 (__initialize_p=1,
> __priority=65535) at /usr/include/g++-3/stl_multimap.h:52
> #5 0x08346d8e in global constructors keyed to eType ()
> at /usr/include/g++-3/stl_multimap.h:75
> #6 0x083fb895 in __do_global_ctors_aux () at slMODfile.cxx:686
> #7 0x0804e0ae in _init () at eval.c:41
> #8 0x40317161 in __libc_start_main (main=0x80573ec <main>, argc=1,
> ubp_av=0xbffff8ec,
> init=0x804e098 <_init>, fini=0x8450e80 <_fini>, rtld_fini=0x4000e184
> <_dl_fini>,
> stack_end=0xbffff8dc) at ../sysdeps/generic/libc-start.c:122
>
> FWIW I have done things like:
> - uninstall SimGear and plib, and reinstalled.
> - I have done a cvs co from our uiuc "mirror" and a cvs update -dP from the
> fgfs site. I get the same segfault w/ both versions of the code.
> - As compared w/ the last version that worked, there has been a bunch of
> new 3D cloud work and runway lighting (I think).
> - I also installed metakit from the tarball in SimGear/src-lib, but I
> speculate that I did not really need to do that.
> - Through all of these gyrations, my version from 8/20/02 still compiles
> and runs w/ the new SimGear and plib.

Hmm, this looks like its in the 3D clouds code ... you might try running
with it disabled using: --disable-clouds3d
Beyond that, I'm not going to be much help.
I am still getting the same segfault w/ this option.

It even promptly crashes w/

./fgfs --help

i.e. I don't get the option list.


>
> Regards,
> Michael
>
>
>
> > >
> > > Regards,
> > > Michael
> > >
> > >
> > > _______________________________________________
> > > Flightgear-devel mailing list
> > > [EMAIL PROTECTED]
> > > http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> >--
> >Tony Peden
> >[EMAIL PROTECTED]
> >We all know Linux is great ... it does infinite loops in 5 seconds.
> >-- attributed to Linus Torvalds
> >
> >
> >_______________________________________________
> >Flightgear-devel mailing list
> >[EMAIL PROTECTED]
> >http://mail.flightgear.org/mailman/listinfo/flightgear-devel
>
>
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
--
Tony Peden
[EMAIL PROTECTED]
We all know Linux is great ... it does infinite loops in 5 seconds.
-- attributed to Linus Torvalds


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to