On Mon, 10 Dec 2007 07:26:30 +0100
Tim Moore wrote
> Tim Moore wrote:
> > Chris Metzler wrote:
> >> Hi. Probably not a lot of interest in this with the new release
> >> coming shortly, but I just now updated the OSG branch from CVS and
> >> rebuilt. I'm getting a segfault during startup, as "loading scenery
> >> objects" comes up on the screen. A quick check in gdb shows:
> ...
> >> } Program received signal SIGSEGV, Segmentation fault.
> >> } [Switching to Thread 1082636640 (LWP 32616)]
> >> } simgear::ModelRegistry::readNode (this=0xc4d590,
> >> [EMAIL PROTECTED], opt=0x0) }
> >> at
> >> /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:131
> >> }
> >> 131 _M_last(__x._M_last), _M_node(__x._M_node) {}
> >>
> >>
> >> I built the OSG version a couple of weeks ago without incident. It
> >> looks like scene/model/ModelRegistry.cxx has been tweaked a couple of
> >> times since, including 6 hours ago, so maybe it's something about the
> >> most recent changes?
> >>
> >> If it matters in this case: Linux, amd64; current CVS/SVN OSG, plib,
> >> SimGear, fgfs.
> >>
> >> -c
> >>
> > I'm interested in the rest of your backtrace, though I think I know
> > what the problem is.
Yeah, sorry, that was dumb of me. Here's what I get:
} (gdb) bt
} #0 simgear::ModelRegistry::readNode (this=0xc4d590, [EMAIL PROTECTED],
} opt=0x0)
} at
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:131
} #1 0x0000000000819adc in FGTileEntry::load (this=0xa83c550,
} path_list=<value optimized out>, is_base=<value optimized out>)
} at /usr/local/include/osgDB/Registry:206
} #2 0x0000000000816b31 in FGTileLoader::LoaderThread::run (this=0x8cbb980)
} at FGTileLoader.cxx:182
} #3 0x00000000009bb48a in start_handler (arg=0x4087afb0) at SGThread.cxx:23
} #4 0x00002aaaabb19f1a in start_thread () from /lib/libpthread.so.0
} #5 0x00002aaaad44c6c2 in clone () from /lib/libc.so.6
} #6 0x0000000000000000 in ?? ()
> In any event, this should be fixed now.
I'll give it a shot.
-c
--
Chris Metzler [EMAIL PROTECTED]
(remove "snip-me." to email)
"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear
signature.asc
Description: PGP signature
------------------------------------------------------------------------- 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://sourceforge.net/services/buy/index.php
_______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

