Last time I had threads enabled I was getting segfaults too.
Try configuring without.

On Saturday 01 December 2001 7:51 pm, you wrote:
> This is from CVS of FlightGear from today :
>
> # gdb /usr/local/bin/fgfs
> ...
> Registering event: fgLight::Update()
> Updating light parameters.
>   Sun angle = nan
>   ambient = 0.14  diffuse = 1  sky = 1
> Registering event: fgUpdateLocalTime()
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 18458)]
> SGTime::updateLocal (this=0x85230d0, lon=nan(0x8000000000000),
>     lat=nan(0x8000000000000), root=@0xbfffe830)
>     at /usr/include/g++-3/std/bastring.h:183
> 183         : dat (nilRep.grab ()) { assign (s); }
> (gdb) bt
> #0  SGTime::updateLocal (this=0x85230d0, lon=nan(0x8000000000000),
>     lat=nan(0x8000000000000), root=@0xbfffe830)
>     at /usr/include/g++-3/std/bastring.h:183
> #1  0x082521e0 in fgUpdateLocalTime () at ../../src/Main/globals.hxx:132
> #2  0x082f9780 in fgFunctionCallback::call0v (this=0x85e3bf8)
>     at ../../src/Include/fg_callback.hxx:111
> #3  0x082f976c in fgFunctionCallback::call (this=0x85e3bf8, in=0x0)
>     at ../../src/Include/fg_callback.hxx:105
> #4  0x0824e7a1 in fgEVENT::run (this=0x85e3bb8) at event.cxx:133
> #5  0x0824ec53 in fgEVENT_MGR::Register (this=0x846b460,
> desc=@0xbfffec00,
>     cb=@0xbfffebe0, status=FG_EVENT_READY, interval=1800000) at
> event.cxx:202
> #6  0x0806c107 in fgInitSubsystems () at
> ../../src/Include/fg_callback.hxx:89
> #7  0x08057f8e in fgIdleFunction () at main.cxx:1355
> #8  0x40084123 in idleWait () at eval.c:41
> #9  0x0805e044 in main (argc=1, argv=0xbffff674) at main.cxx:1878
> #10 0x40326306 in __libc_start_main (main=0x805e030 <main>, argc=1,
>     ubp_av=0xbffff674, init=0x804dc80 <_init>, fini=0x833efd8 <_fini>,
>     rtld_fini=0x4000d2cc <_dl_fini>, stack_end=0xbffff66c)
>     at ../sysdeps/generic/libc-start.c:129
> (gdb)
>
> Any ideas?

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

Reply via email to