On the surface, it looks like the problem involves the scenery loader so it
may also help to know your location when the segfault happens.

On the other hand, line #98 of FGTileLoader.cxx is this:

            throw sg_throwable(string("No valid scenery path defined!"));

So you may want to double check your scenery path to make sure that is
defined and defined correctly.

Regards,

Curt.


On Dec 16, 2007 5:31 PM, Syd&Sandy <> wrote:

> On Sun, 16 Dec 2007 23:01:01 +0100
> Melchior FRANZ <[EMAIL PROTECTED]> wrote:
>
> > * Syd&Sandy -- Sunday 16 December 2007:
> > > fgfd --Aircraft=Bravo --log-level=debug
> >
> > Works here. No segfault. (Just dead slow. :-)
> >
> >
> >
> > > Uncaught Exception: you should see a meaningful error message
> >
> > Try this:
> >
> >   $ gdb --args fgfs --aircraft=Bravo --log-level=debug
> >   (gdb) break main
> >   (gdb) run
> >   (gdb) catch throw
> >   (gdb) cont
> >
> > ... then wait until it stops at the guilty "throw", do a
> >
> >   (gdb) bt
> >
> > and post the interesting part of it, that is the first ~10 frames
> > or something. You need to have debug symbols compiled in, which
> > every developer here hopefully has.  :-)
> >
> > m.
>
> Hi  again ...this is what i got...
>
> #0  0xb7b49b25 in __cxa_throw () from /usr/lib/libstdc++.so.6
> #1  0x084a5126 in FGTileLoader::add (this=0xadde67c, tile=0x117c4878)
>    at FGTileLoader.cxx:98
> #2  0x084a01b9 in FGTileMgr::sched_tile (this=0xadde5e8, [EMAIL PROTECTED],
>    is_inner_ring=true) at tilemgr.cxx:145
> #3  0x084a1d13 in FGTileMgr::schedule_needed (this=0xadde5e8, vis=32000,
>    [EMAIL PROTECTED]) at tilemgr.cxx:203
> #4  0x084a279f in FGTileMgr::update (this=0xadde5e8, location=0xaddedc8,
>    visibility_meters=32000) at tilemgr.cxx:429
> #5  0x084a2c8a in FGTileMgr::update (this=0xadde5e8,
> visibility_meters=32000)
>    at tilemgr.cxx:394
> #6  0x0805a950 in do_presets_commit (arg=0x1175e350) at
> fg_commands.cxx:1191
> #7  0x0861a4d6 in SGCommandMgr::execute (this=0x8a9dc80, [EMAIL PROTECTED],
>    arg=0x1175e350) at commands.cxx:61
> #8  0x084b56f0 in f_fgcommand (c=0x116d6778, me=
>        {num = nan(0x5678900000000), ref = {ptr = {obj = 0x0, str = 0x0,
> vec = 0x0, hash = 0x0, code = 0x0, func = 0x0, ccode = 0x0, ghost = 0x0},
> reftag = 2146789257}}, argc=<value optimized out>, args=0x116d7384) at
> NasalSys.cxx:273
> #9  0x085f8bf6 in setupFuncall (ctx=0x116d6778, nargs=2, mcall=0) at
> code.c:301
> #10 0x085f9a3c in run (ctx=0x116d6778) at code.c:639
> #11 0x085fafed in naCall (ctx=0x116d6778, func=
>        {num = nan(0x567891171cb5c), ref = {ptr = {obj = 0x1171cb5c, str =
> 0x1171cb5c, vec = 0x1171cb5c, hash = 0x1171cb5c, code = 0x1171cb5c, func =
> 0x1171cb5c---Type <return> to continue, or q <return> to quit---
>
> Hope it makes more sense to someone than it does for me :)
> Cheers
> --
> Syd&Sandy <[EMAIL PROTECTED]>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Flightgear-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>



-- 
Curtis Olson: http://baron.flightgear.org/~curt/
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to