Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.

Memory leak run with MSHADOW_DIST_PS? #231

Open
TangXing opened this issue Aug 24, 2015 · 0 comments
Open

Memory leak run with MSHADOW_DIST_PS? #231

TangXing opened this issue Aug 24, 2015 · 0 comments

Comments

@TangXing
Copy link

valgrind log file

...
==8048== 77 bytes in 1 blocks are possibly lost in loss record 387 of 492
==8048== at 0x4A05FD5: operator new(unsigned long) (vg_replace_malloc.c:324)
==8048== by 0x332B2BCC88: allocate (new_allocator.h:104)
==8048== by 0x332B2BCC88: std::string::Rep::S_create(unsigned long, unsigned long, std::allocator const&) (basic_string.tcc:607)
==8048== by 0x332B2BE3C0: char* std::string::S_construct<char const*>(char const, char const
, std::allocator const&, std::forward_iterator_tag) (basic_string.tcc:138)
==8048== by 0x332B2BE7D7: S_construct_aux<char const*> (basic_string.h:1725)
==8048== by 0x332B2BE7D7: S_construct<char const*> (basic_string.h:1746)
==8048== by 0x332B2BE7D7: std::basic_string<char, std::char_traits, std::allocator >::basic_string(char const
, std::allocator const&) (basic_string.tcc:215)
==8048== by 0x51D285: dont_pass0toDEFINE_string (gflags.h:530)
==8048== by 0x51D285: static_initialization_and_destruction_0 (env.cc:15)
==8048== by 0x51D285: GLOBAL__sub_I__ZN2ps3fLI17FLAGS_num_serversE (env.cc:119)
==8048== by 0x51D445: ??? (in /home/q/camelhump/bin/camelhump.ps)
==8048== by 0x40D1D2: ??? (in /home/q/camelhump/bin/camelhump.ps)
==8048== by 0x331F18E4C7: ??? (in /lib64/libc-2.12.so)
==8048== by 0x51D3D4: libc_csu_init (in /home/q/camelhump/bin/camelhump.ps)
==8048== by 0x331EE1ECEF: (below main) (in /lib64/libc-2.12.so)
.......
==8048== 119,520 bytes in 2,490 blocks are definitely lost in loss record 490 of 492
==8048== at 0x4A05FD5: operator new(unsigned long) (vg_replace_malloc.c:324)
==8048== by 0x50BB61: ps::Van::Recv(ps::Message
, unsigned long
) (van.cc:209)
==8048== by 0x5096D9: ps::Postoffice::Recv() (postoffice.cc:53)
==8048== by 0x332B2B45DF: execute_native_thread_routine (thread.cc:84)
==8048== by 0x331F2079D0: start_thread (in /lib64/libpthread-2.12.so)
==8048== by 0x331EEE88FC: clone (in /lib64/libc-2.12.so)
==8048==
==8048== 4,011,385 (8 direct, 4,011,377 indirect) bytes in 1 blocks are definitely lost in loss record 492 of 492
==8048== at 0x4A05FD5: operator new(unsigned long) (vg_replace_malloc.c:324)
==8048== by 0x4C24F3: MShadowServerNode (ps_dist-inl.h:111)
==8048== by 0x4C24F3: CreateServerNode(int, char
) (nnet_ps_server.cpp:168)
==8048== by 0x4F8308: ps::App::Create(int, char
) (ps_main.cc:7)
==8048== by 0x5059DA: ps::Manager::Init(int, char_) (manager.cc:29)
==8048== by 0x508B15: ps::Postoffice::Run(int_, char***) (postoffice.cc:20)
==8048== by 0x4F8E44: StartSystem (ps.h:16)
==8048== by 0x4F8E44: main (ps_main.cc:14)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant