[Bayes++] Crash on destruction of SIR_scheme
Brought to you by:
mistevens
|
From: yon <yo...@ci...> - 2007-09-05 22:01:12
|
Hello, I'm a bit stuck with a bug afflicting my program that uses Bayes++. I am consistently crashing when the destructor for SIR_scheme is =20 called by a class I inherited from it. The trace below implicates =20 the destructor for an unsigned long vector, but there is no member of =20= this type in SIR_scheme (nor in the other classes related to it, as =20 far as I can tell). Can anyone offer me advice as to how to locate the cause, or advise =20 as to whether this is my code or a problem in one of the libraries? Thank you, Yon #0 0x315c2539 in __gnu_cxx::new_allocator<unsigned long>::destroy =20 (this=3D0xae6ce8c4, __p=3D0x82) at /usr/include/c++/4.0.0/ext/=20 new_allocator.h:107 #1 0x315c2895 in std::vector<unsigned long, std::allocator<unsigned =20 long> >::~vector (this=3D0x30852844) at /usr/include/c++/4.0.0/bits/=20 stl_vector.h:273 #2 0x315c2d72 in Bayesian_filter::SIR_scheme::~SIR_scheme =20 (this=3D0x30852820, __vtt_parm=3D0x316057a4) at /Developer/YV-dev/=20 dcppf-0.91/../Bayes++/BayesFilter/SIRFlt.hpp:179 #3 0x315c4599 in SIR_scheme_ext::~SIR_scheme_ext (this=3D0x30852820) =20= at /Developer/YV-dev/dcppf-0.91/SIR_scheme_ext.h:21 . . __________________________________ Yon Visell Centre for Intelligent Machines, McGill University http://cim.mcgill.ca/~yon CIRMMT, Schulich School of Music, McGill University http://www.music.mcgill.ca/cirmmt University of Applied Sciences & Arts Z=FCrich CLOSED: Closing the loop of sound evaluation and design http://closed.ircam.fr Zero-Th Association, Pula, Croatia http://www.zero-th.org Tel +1 514 967 1648 Fax +1 415 520 0193 |