UMLComputerGraphics / GraphicsProject

UML Graphics 2 Final Project 2013
7 stars 1 forks source link

HUGE memory leaks in non-qt FinalProject #95

Closed nuclearmistake closed 11 years ago

nuclearmistake commented 11 years ago

how?! why?!

jnsnow commented 11 years ago

Working on it, suspect VR; no leaks found in SG2 after some fixes

jnsnow commented 11 years ago

==5260== 146,652,720 bytes in 1,833,159 blocks are definitely lost in loss record 5,313 of 5,313 ==5260== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==5260== by 0x430DB8: Engine::setLights() (Engine.cpp:206) ==5260== by 0x43ECAD: MONOLITH::aRomanticEvening() (MONOLITH.cpp:505) ==5260== by 0x440800: boost::mfi::mf0<void, MONOLITH>::operator()(MONOLITH) const (mem_fn_template.hpp:49) ==5260== by 0x4404D9: void boost::_bi::list1<boost::bi::value<MONOLITH> >::operator()<boost::_mfi::mf0<void, MONOLITH>, boost::_bi::list0>(boost::_bi::type, boost::_mfi::mf0<void, MONOLITH>&, boost::_bi::list0&, int) (bind.hpp:253) ==5260== by 0x44023E: boost::_bi::bind_t<void, boost::_mfi::mf0<void, MONOLITH>, boost::_bi::list1boost::_bi::value<MONOLITH > >::operator()() (bind_template.hpp:20) ==5260== by 0x440B61: boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, MONOLITH>, boost::_bi::list1boost::_bi::value<MONOLITH > > >::run() (thread.hpp:62) ==5260== by 0x50B06E8: ??? (in /usr/lib/libboost_thread.so.1.49.0) ==5260== by 0x6952F8D: start_thread (pthread_create.c:311) ==5260== by 0x667CE1C: clone (clone.S:113)

Sorry NickAVV :)

nickavv commented 11 years ago

Fixed it

jnsnow commented 11 years ago

confirmed tx