Closed tayral closed 11 years ago
Hi, Test SingleSiteBethe fails (segmentation fault) when TRIQS is compiled with clang 3.1 under OSX Mountain Lion.
GDB backtrace:
(...) Hamiltonian with Eps0 term : 2.5 C^(up,1)C(up,1)C^(down,1)C(down,1) - 1.25 C^(up,1)C(up,1) - 1.25 C^(down,1)C(down,1) Inv Fourier done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x0000000000000000 0x0000000109399cc4 in DynamicTrace<TimeEvolutionSimpleExp<double> >::recomputeTrace_L2R () (gdb) bt #0 0x0000000109399cc4 in DynamicTrace<TimeEvolutionSimpleExp<double> >::recomputeTrace_L2R () #1 0x000000010939c3cf in DynamicTrace<TimeEvolutionSimpleExp<double> >::confirm_insertTwoOperators () #2 0x00000001093d13ab in Insert_Cdag_C_Delta_SegmentPicture::Accept () #3 0x00000001093c0376 in triqs::mc_tools::move_set<std::__1::complex<double> >::Accept () #4 0x00000001093c0376 in triqs::mc_tools::move_set<std::__1::complex<double> >::Accept () #5 0x00000001093bfde3 in triqs::mc_tools::Step::Metropolis<std::__1::complex<double> >::do_it () #6 0x00000001093bbcfe in triqs::mc_tools::mc_generic<std::__1::complex<double>, triqs::mc_tools::Step::Metropolis<std::__1::complex<double> > >::start () #7 0x00000001093b9bcf in MC_Hybridization_Matsu::solve () #8 0x00000001093d891a in boost::python::detail::caller_arity<1u>::impl<void (*)(boost::python::api::object), boost::python::default_call_policies, boost::mpl::vector2<void, boost::python::api::object> >::operator() () #9 0x000000010801ba5c in boost::python::objects::function::call () #10 0x000000010801dc1a in boost::detail::function::void_function_ref_invoker0<boost::python::objects::(anonymous namespace)::bind_return, void>::invoke () #11 0x0000000108009594 in boost::python::detail::exception_handler::operator() () #12 0x00000001093da026 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<H5::Exception, void (*)(H5::Exception const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(H5::Exception const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke () #13 0x0000000108009549 in boost::python::detail::exception_handler::operator() () #14 0x0000000108c18b69 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<boost::mpi::python::object_without_skeleton, boost::mpi::python::translate_exception<boost::mpi::python::object_without_skeleton> >, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<boost::mpi::python::translate_exception<boost::mpi::python::object_without_skeleton> > > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke () #15 0x0000000108009549 in boost::python::detail::exception_handler::operator() () #16 0x0000000108c10369 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<boost::mpi::exception, boost::mpi::python::translate_exception<boost::mpi::exception> >, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<boost::mpi::python::translate_exception<boost::mpi::exception> > > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke () #17 0x0000000108009549 in boost::python::detail::exception_handler::operator() () #18 0x0000000107ec2e36 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void (*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke () #19 0x0000000108009488 in boost::python::handle_exception_impl () #20 0x000000010801d8c3 in function_call () #21 0x000000010000d002 in PyObject_Call () #22 0x00000001000c8ea4 in PyEval_EvalFrameEx () #23 0x00000001000cca15 in PyEval_EvalCodeEx () #24 0x00000001000cab0f in PyEval_EvalFrameEx () #25 0x00000001000cca15 in PyEval_EvalCodeEx () #26 0x00000001000cab0f in PyEval_EvalFrameEx () #27 0x00000001000cca15 in PyEval_EvalCodeEx () #28 0x00000001000ccd16 in PyEval_EvalCode () #29 0x00000001000f11ee in PyRun_FileExFlags () #30 0x00000001000f2001 in PyRun_SimpleFileExFlags () #31 0x0000000100107c65 in Py_Main () #32 0x0000000100000f54 in start ()
The same test works with gcc4.6.3 on OSX.
Cheers, Thomas
Was it fixed with the iterator pb in DynamicTrace ?? Close it ?
Hi, Test SingleSiteBethe fails (segmentation fault) when TRIQS is compiled with clang 3.1 under OSX Mountain Lion.
GDB backtrace:
The same test works with gcc4.6.3 on OSX.
Cheers, Thomas