On Sat, 2009-10-24 at 10:39 +0200, Erik Hofman wrote:
> Ok, I've reserved the next two days to try to pin-point the problem. For 
> that I've taken drastic measures now; All sounds and the listener are 
> located at 0,0,0 and all orientations are omni-directional.
> What this means: no distance attenuation, no relative position to the 
> listener but only sources emitting sounds.
> 
> I was hoping this could lead to (for example) a NaN problem but ... I 
> discovered this triggered the same bug for me that others have for the F-16.
> 
> I would appreciate it if at least a few people want to test it and 
> report the results for them. In the mean time I'm trying to see if I can 
> fix it for the F-16 locally.
> Oh and no point reporting a segmentation fault at exit, I'm aware of it.
> 
> Erik

As of this morning I'm still seeing an fpe at initialization:

gdb --args fgfs --airport=KHIF --disable-real-weather-fetch --timeofday=noon   
--multiplay=out,10,mpserver07.flightgear.org,5000 --enable-fpe
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: fgfs --airport=KHIF --disable-real-weather-fetch 
--timeofday=noon --multiplay=out,10,mpserver07.flightgear.org,5000 --enable-fpe
[Thread debugging using libthread_db enabled]
[New Thread 0xb62cf6e0 (LWP 28983)]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb62cf6e0 (LWP 28983)]
SGSoundSample::update_absolute_position (this=0xd690c40) at 
../../simgear/math/SGVec3.hxx:327
327                        v1(0)*v2(1) - v1(1)*v2(0));
(gdb) bt  
#0  SGSoundSample::update_absolute_position (this=0xd690c40) at 
../../simgear/math/SGVec3.hxx:327
#1  0x085e9de8 in SGSoundSample::set_relative_position (this=0xd690c40, 
p...@0xbfe29870) at sample_openal.cxx:212
#2  0x085f1845 in SGXmlSound::init (this=0xd691168, root=0x8860080, 
node=0xd6905b8, sgrp=0x8d30248, pa...@0x885fff0) at xmlsound.cxx:262
#3  0x0852ece4 in FGFX::init (this=0x8d30248) at fg_fx.cxx:94
#4  0x084c8dca in FGAircraftModel (this=0x8d40100) at acmodel.cxx:53
#5  0x0806f55c in fgIdleFunction () at main.cxx:644
#6  0x080c3a2c in fgOSMainLoop () at fg_os_osgviewer.cxx:172
#7  0x0806ed6d in fgMainInit (argc=6, argv=0xbfe29be4) at main.cxx:897
#8  0x0806ce35 in main (argc=6, argv=0xbfe29be4) at bootstrap.cxx:229
(gdb) cont
Continuing.




------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to