Hi Erik,
This morning's cvs for simgear is now giving me a segfault:

Fatal error: Failed to load wav file: There was already an ALC error on 
entry to an ALUT function

The reported wav file is different for each aircraft, but is always the 
first sound played.

 > gdb bt with debug disabled:

#0  0xffffe410 in __kernel_vsyscall ()
#1  0xa7355ae9 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xa73570a7 in *__GI_abort () at abort.c:88
#3  0xa738aed7 in __libc_message (do_abort=2,
    fmt=0xa7438088 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#4  0xa7390507 in malloc_printerr (action=2,
    str=0xa7434f77 "corrupted double-linked list", ptr=<value optimized 
out>)
    at malloc.c:5891
#5  0xa7390600 in malloc_consolidate (av=0xa7454120) at malloc.c:4834
#6  0xa7391e8c in _int_free (av=0xa7454120, mem=0xf07a598) at malloc.c:4719
#7  0xa73920e2 in *__GI___libc_free (mem=0x6) at malloc.c:3626
#8  0xa75148f1 in operator delete (ptr=0x0)
    at ../../../../gcc-4.2.3/libstdc++-v3/libsupc++/del_op.cc:49
#9  0x08078661 in std::_Deque_base<std::string, 
std::allocator<std::string> >::_M_destroy_nodes (this=0xf07a540, 
__nstart=0xf07a57c, __nfinish=0xf07a580)
    at 
/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../../include/c++/4.2.3/ext/new_allocator.h:97
#10 0x08078699 in ~_Deque_base (this=0xf07a540)
    at 
/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../../include/c++/4.2.3/bits/stl_deque.h:462
#11 0x0867e5a3 in ~Effect (this=0xebf53d0)
    at 
/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../../include/c++/4.2.3/bits/stl_deque.h:742
#12 0x086ae82d in std::_Rb_tree<std::string const, std::pair<std::string 
const, osg::ref_ptr<simgear::Effect> >, 
std::_Select1st<std::pair<std::string const, 
osg::ref_ptr<simgear::Effect> > >, std::less<std::string const>, 
std::allocator<std::pair<std::string const, 
osg::ref_ptr<simgear::Effect> > > >::_M_erase (
    this=0x888b950, __x=0xeb3cdb0) at /usr/local/include/osg/Referenced:183
#13 0x086ae7f7 in std::_Rb_tree<std::string const, std::pair<std::string 
const, osg::ref_ptr<simgear::Effect> >, 
std::_Select1st<std::pair<std::string const, 
osg::ref_ptr<simgear::Effect> > >, std::less<std::string const>, 
std::allocator<std::pair<std::string const, 
osg::ref_ptr<simgear::Effect> > > >::_M_erase (
    this=0x888b950, __x=0xe8b6f80)
    at 
/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../../include/c++/4.2.3/bits/stl_tree.h:1323
#14 0x086ab9eb in __tcf_3 ()
    at 
/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../../include/c++/4.2.3/bits/stl_tree.h:592
#15 0xa73586c9 in *__GI_exit (status=0) at exit.c:75
#16 0xa734337c in __libc_start_main (main=0x8068b60 <main>, argc=6,
    ubp_av=0xaf902d54, init=0x8757b50 <__libc_csu_init>,
    fini=0x8757b40 <__libc_csu_fini>, rtld_fini=0xa7fddb00 <_dl_fini>,
    stack_end=0xaf902d4c) at libc-start.c:252
#17 0x08068951 in _start ()


After recompiling fgfs with --enable-debug  it does not segfault, so no 
backtrace is available. However it does Exit completely when attempting 
to play the first sound.
The last few lines are:

PrecipitationEffect::update()
Cell size X=20
Cell size Y=20
Cell size Z=5
Fatal error: Failed to load wav file: There was already an ALC error on 
entry to an ALUT function
 at /usr/local/FlightGear/data/Sounds/rumble.wav
Closing DynamicLibrary osgPlugins-2.9.6/osgdb_png.so
Closing DynamicLibrary osgPlugins-2.9.6/osgdb_txf.so
Closing DynamicLibrary osgPlugins-2.9.6/osgdb_ac.so
Closing DynamicLibrary osgPlugins-2.9.6/osgdb_rgb.so
~RegisterWindowingSystemInterfaceProxy()
GraphicsContext::setWindowingSystemInterface() 0        0xa7727db0



Running the same hardware I reported yesterday. Oh! maybe you need to 
know I have alsa-1.0.16 installed.
What else would help?

Stewart


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to