And it only happens with *some* *JSBSim* aircraft? Jon
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:flightgear-devel-admin@;flightgear.org]On Behalf Of Curtis L. > Olson > Sent: Wednesday, October 23, 2002 11:13 PM > To: [EMAIL PROTECTED] > Subject: RE: [Flightgear-devel] segfault > > > I'm not coming up with any good ideas ... I *thought* that if you > didn't specify --enable-clouds3d, then none of that code was executed, > but perhaps that's not the case ... (?) > > From gdb, it's dying in the 3d cloud setup/init but beyond that I'm > not sure why. > > Curt. > > > Jon Berndt writes: > > Can anyone offer some help, here? I do not have a recent build > of FlightGear > > and cannot build it at the moment for reasons I don't want to > go into (that > > have nothing to do with FlightGear or my computer). Can someone > copy the log > > output concerning JSBSim for the X-15 and post it or email to > me and Tony? > > Also, some detailed info and wierdness and/or where it > segfaults would be > > helpful. Platform info, too. > > > > Jon > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:flightgear-devel-admin@;flightgear.org]On Behalf Of > Michael Selig > > > Sent: Wednesday, October 23, 2002 10:54 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: [Flightgear-devel] segfault > > > > > > > > > At 10/23/02, John Check wrote: > > > >I just ran through firing up all the non 172 planes > > > >and there are several JSBsim planes that segfault > > > > > > > >x24b > > > >X15 > > > >Shuttle > > > > > > I have been down this road before. These planes are crashing for some > > > reason, and the segfault is not the first thing that happens. > > > > > > This segfault is very different and probably simply FDM related. > > > > > > It seems that a big clue w/ my segfault is that it happens > "right out of > > > the box", i.e. immediately. > > > > > > > > > >On Wednesday 23 October 2002 10:30 pm, 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. > > > > > > > > > > > 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 > > > > > > > > > > > >_______________________________________________ > > > >Flightgear-devel mailing list > > > >[EMAIL PROTECTED] > > > >http://mail.flightgear.org/mailman/listinfo/flightgear-devel > > > > > > > > > > > > ************************************************** > > > Prof. Michael S. Selig > > > Dept. of Aero/Astro Engineering > > > University of Illinois at Urbana-Champaign > > > 306 Talbot Laboratory > > > 104 South Wright Street > > > Urbana, IL 61801-2935 > > > (217) 244-5757 (o), (509) 691-1373 (fax) > > > mailto:m-selig@;uiuc.edu > > > http://www.uiuc.edu/ph/www/m-selig > > > http://www.uiuc.edu/ph/www/m-selig/faq.html (FAQ) > > > ************************************************** > > > > > > > > > _______________________________________________ > > > 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 > > -- > Curtis Olson IVLab / HumanFIRST Program FlightGear Project > Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED] > Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org > > _______________________________________________ > 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