Looks like fgInitProps() needs to have the sound manager initialized
first. When it ties /sim/freeze/master, this calls setFreeze() which
needs to have a valid globals->get_sound_mgr(). We might also be able
to test if sound_mgr is null and not try to mess with it.
Regards,
Curt.
William Earnest writes:
> Hello,
>
> Managed to get more info than usual from an execution crash after
> rebuild with 12/11/02 7AM EST CVS. Hope someone can make use of it.
> Run on RH 7.1, g++ = 2.96-112.7.1 of RH.
>
> --
> Bill Earnest wde3@ptd-dot-net Linux Powered Allentown, PA, USA
> Computers, like air conditioners, work poorly with Windows open.
> Done reading panel instruments
> Loaded new panel from Aircraft/c172/Panels/c172-vfr-panel.xml
> leave NewTgtAirportInit()start of fgInitProps()
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 4124)]
> 0x0807bd47 in setFreeze (f=false) at ../../src/Main/globals.hxx:241
> 241 inline FGSoundMgr *get_soundmgr() const { return soundmgr; }
> (gdb) bt
> #0 0x0807bd47 in setFreeze (f=false) at ../../src/Main/globals.hxx:241
> #1 0x08404fd2 in SGRawValueFunctions<bool>::setValue (this=0x92a8368,
> value=false) at /usr/local/include/simgear/misc/props.hxx:331
> #2 0x083817a7 in SGPropertyNode::setBoolValue (this=0x8853aa0, value=false)
> at props.cxx:374
> #3 0x08382bc6 in SGPropertyNode::tie (this=0x8853aa0, rawValue=@0xbffff490,
> useDefault=true) at props.cxx:1522
> #4 0x0807c4f1 in fgInitProps () at ../../src/Main/globals.hxx:254
> #5 0x08074a14 in fgInitSubsystems () at fg_init.cxx:1596
> #6 0x0805315a in fgIdleFunction () at main.cxx:1314
> #7 0x40288123 in idleWait () from /usr/lib/libglut.so.3
> #8 0x080561ee in main (argc=1, argv=0xbffff944) at main.cxx:1815
> #9 0x4032c657 in __libc_start_main (main=0x80561d0 <main>, argc=1,
> ubp_av=0xbffff944, init=0x804def8 <_init>, fini=0x8452c34 <_fini>,
> rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbffff93c)
> at ../sysdeps/generic/libc-start.c:129
>
--
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