Open GoogleCodeExporter opened 9 years ago
option 1: get libunwind
option 2: build only malloc via ./configure --enable-minimal
Original comment by alkondratenko
on 21 Jan 2015 at 3:24
hi that helps, but i have to find memory leaks in my app on mips64
architecture. I wanted to use valgrind but thorows segmentation fault.
Using -ltcmalloc_minimal when i run my application
env HEAPCHECK=normal ./a.out
i get no informaiton about leaks. When i use -ltcmalloc on x86 i get proper
output. Can memory leaks be debug with tcmalloc_minimal. ??
Wed Jan 21 2015 at 15:24:15 użytkownik <gperftools@googlecode.com> napisał:
Original comment by mateusz....@gmail.com
on 22 Jan 2015 at 9:55
No. Heapchecker is part of full tcmalloc library.
Then you'll need to either get yourself working libunwind or other way to
capture backtraces. --enable-stacktrace-via-backtrace might work for
heapchecker.
See for example this thread:
https://groups.google.com/forum/#!searchin/google-perftools/mips/google-perftool
s/19HpS8Xaeoo/tONQyTFAjCAJ
Original comment by alkondratenko
on 22 Jan 2015 at 3:58
I ale wady have libunwind compiled for mips64 and i gór errors from First
mail while i do make install
czw., 22 sty 2015, 16:58 null użytkownik <gperftools@googlecode.com>
napisał:
Original comment by mateusz....@gmail.com
on 22 Jan 2015 at 4:42
Then it means that configure script was unable to find libunwind.
Usually inspecting config.log will hint you why.
Original comment by alkondratenko
on 22 Jan 2015 at 5:21
Original issue reported on code.google.com by
mateusz....@gmail.com
on 21 Jan 2015 at 12:32