Melchior FRANZ wrote : >> Do you already have a clue where in simgears code this exception is thrown? >> > > Nope. But linking with a (free)glut/SDL lib that was > configured/compiled/linked > with CFLAGS="-fexceptions $CFLAGS" LDFLAGS="-fexceptions $LDFLAGS" ./configure > should be more helpful. >
May I remind you the helpfull stack sent by Isao ? > This is the stack trace I've got : > > (gdb) info stack > #0 0xb7a9a7a7 in raise () from /lib/tls/libc.so.6 > #1 0xb7a9c04b in abort () from /lib/tls/libc.so.6 > #2 0xb7c66de9 in __gnu_cxx::__verbose_terminate_handler () > from /usr/lib/libstdc++.so.6 > #3 0xb7c64765 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6 > #4 0xb7c647a2 in std::terminate () from /usr/lib/libstdc++.so.6 > #5 0xb7c6490a in __cxa_throw () from /usr/lib/libstdc++.so.6 > #6 0x083a0ff8 in SGSoundSample::load_file (this=0xb2da290, path=0x0, > file=0xb2da10c "default.wav") at sample_openal.cxx:388 > #7 0x080c61f2 in FGATCVoice::LoadVoice (this=0xb1e8040, > [EMAIL PROTECTED]) > at ATCVoice.cxx:58 > #8 0x0809552a in FGATCMgr::init (this=0xb1e48f8) at ATCmgr.cxx:113 > #9 0x08065d7f in fgInitSubsystems () at fg_init.cxx:1698 > #10 0x08054408 in fgIdleFunction () at main.cxx:885 > #11 0xb7e86206 in glutMainLoop () from /usr/lib/libglut.so.3 > #12 0x08051aa2 in fgMainInit (argc=2, argv=0xbf800064) at main.cxx:1023 > #13 0x080511dc in main (argc=0, argv=0x0) at bootstrap.cxx:198 > (gdb) line 388, file sample_openal.cxx, there is : > #if defined(ALUT_API_MAJOR_VERSION) && ALUT_API_MAJOR_VERSION >= 1 > ALfloat freqf; > data = alutLoadMemoryFromFile(samplepath.c_str(), &format, &size, > &freqf ); > if (data == NULL) { > throw sg_io_exception("Failed to load wav file.", > sg_location(samplepath.str())); > } > freq = (ALsizei)freqf; > #else This throw needs a try {} catch {} somewhere. I will commit a fix soon. -Fred ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel