ufsowa / mcdif

Monte Carlo based alghoritms used to simulate thermodynamic and kinetic properties of the alloys
3 stars 4 forks source link

Segmentation fault when equlibriated on #65

Open ufsowa opened 5 years ago

ufsowa commented 5 years ago

==14200== at 0x45BD4E: std::vector<std::list<site, std::allocator<site> >, std::allocator<std::list<site, std::allocator<site> > > >::size() const (stl_vector.h:646) ==14200== by 0x461EA9: plaster::choose_typ(std::vector<unsigned int, std::allocator > const&) (plaster.cpp:178) ==14200== by 0x450AF4: opcja::check_rezervuars(site, site&) (opcja.cpp:146) ==14200== by 0x458049: opcja::find_migration_path(site, int, std::vector<site, std::allocator<site> >&) (opcja.cpp:1662) ==14200== by 0x45308F: opcja::source_sink_act(int, int, bool&) (opcja.cpp:604) ==14200== by 0x453C1B: opcja::do_equi_vac() (opcja.cpp:735) ==14200== by 0x453D60: opcja::equilibrate() (opcja.cpp:775) ==14200== by 0x441B64: residence_time(lattice, long, double, int) (mc.cpp:1239) ==14200== by 0x44732D: execute_task(task&, std::vector<task, std::allocator >&, lattice*) (mc.cpp:2359) ==14200== by 0x44A180: main (mc.cpp:2847) ==14200== Address 0x108060f28e8 is not stack'd, malloc'd or (recently) free'd

ufsowa commented 5 years ago

valgrind --tool=memcheck --leak-check=yes -v --leak-check=full --show-reachable=yes ./mcdif_* conf.in