Jonathan,
I believe I fixed this one today ...
Curt.
Jonathan Richards wrote:
On Wednesday 28 Apr 2004 9:00 pm, David Luff wrote:
Jonathan Richards writes:
However, if I exchange frequencies on com1, and then swap them back
again, I get a segmentation fault. I know Dave Luff reported a problem
with ATIS, but I understood that Curt had submitted a fix. This seems to
be something to do with deleting a sound sample.
Yes, it segfaults when ATIS is switched off now, rather than when switched
on as before. I haven't had time to look at it properly yet though.
Just one more, then I'll stop finding faults for the day :-)
This is a SIGABRT (just for variety) that happens when I exchange frequencies
on nav1 - I suspect that it is rooted in the sound changes, via the morse
sound outputs...
[EMAIL PROTECTED] jonathan]$ gdb /usr/local/bin/fgfs
GNU gdb 5.3-22mdk (Mandrake Linux)
This GDB was configured as i586-mandrake-linux-gnu...
(gdb) run
Starting program: /usr/local/bin/fgfs
[New Thread 16384 (LWP 6229)]
[New Thread 32769 (LWP 6236)]
[New Thread 16386 (LWP 6237)]
Initializing OpenAL sound manager
[New Thread 32771 (LWP 6239)]
Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 6229)]
0x404f1481 in kill () from /lib/i686/libc.so.6
Current language: auto; currently c
(gdb) where
#0 0x404f1481 in kill () from /lib/i686/libc.so.6
#1 0x40029acd in pthread_kill () from /lib/i686/libpthread.so.0
#2 0x40029deb in raise () from /lib/i686/libpthread.so.0
#3 0x404f1224 in raise () from /lib/i686/libc.so.6
#4 0x404f276b in abort () from /lib/i686/libc.so.6
#5 0x40133ec7 in __cxxabiv1::__terminate(void (*)()) () from
/usr/X11R6/lib/libGLU.so.1
#6 0x40133f14 in std::terminate() () from /usr/X11R6/lib/libGLU.so.1
#7 0x40134086 in __cxa_throw () from /usr/X11R6/lib/libGLU.so.1
#8 0x08312c8e in SGSoundSample (this=0x401499dc, _data=0x0, len=0,
_freq=178907312) at sample_openal.cxx:160
#9 0x082c51d9 in FGMorse::make_ident(std::string const, int)
(this=0x4ad651ad, [EMAIL PROTECTED], freq=1075091932)
at morse.cxx:263
#10 0x080f5f09 in FGNavCom::search() (this=0x4ad651a8) at navcom.cxx:657
#11 0x080e7092 in FGRadioStack::search() (this=0x4ad42008) at
radiostack.cxx:129
#12 0x080e720b in SGMethodCallbackFGRadioStack*, void
(FGRadioStack::*)()::operator()() (this=0x40030bd8)
at /usr/local/include/simgear/structure/callback.hxx:117
#13 0x0837edf3 in SGTimer::run() (this=0x9991918) at event_mgr.cxx:21
#14 0x0837f051 in SGTimerQueue::update(double) (this=0x874e39c,
deltaSecs=0.0266020001) at event_mgr.cxx:70
#15 0x0837ee6d in SGEventMgr::update(double) (this=0x874e390,
delta_time_sec=0.0266020001)
at event_mgr.cxx:34
#16 0x080548cd in fgMainLoop () at main.cxx:1068
#17 0x0807e924 in GLUTidle () at fg_os.cxx:110
#18 0x4008ffb8 in __glutRegisterEventParser () from
/usr/X11R6/lib/libglut.so.3
#19 0x080520af in main (argc=1, argv=0xb5f4) at bootstrap.cxx:148
#20 0x404de7f7 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program http://www.humanfirst.umn.edu/
FlightGear Project http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel