|
From: | Riek, Thomas (NSN - DE/Munich) |
Subject: | [Libunwind-devel] MIPS 64 free unwind_info |
Date: | Fri, 4 Feb 2011 15:43:54 +0100 |
Hi,
I am using libunwind for a memory leak tracer on a MIPS 64-bit board.
Some binaries are stipped, i.e. no debug symbles, some are unstripped with debug symbols and some are stripped with the debug symbols stored in a seperate *.debug file.
The libunwind works fine and provides lots of nicely unwinded call stacks.
However I observed that it keeps on allocating memory (mmap) and finally crashes the board.
Deeper analysis has shown that the dwarf_cie_info_pool keeps on expanding and that there a a few calls missing to free the unwind_info.
Please have a look at the attached patch. It solved the problem for me.
<<dwarf_cie_info_pool.leak.patch>>
Best regards,
Thomas Riek
Phone +49 89515936319
Mobile +49 15157121490
e-mail address@hidden
Mch M 5532/3071
St.-Martinstrasse 76
DE-81541 Muenchen
__________________________________________________
Nokia Siemens Networks GmbH & Co. KG
Sitz der Gesellschaft: München / Registered office: Munich
Registergericht: München / Commercial registry: Munich, HRA 88537
WEEE-Reg.-Nr.: DE 52984304
Persönlich haftende Gesellschafterin / General Partner: Nokia Siemens Networks Management GmbH
Geschäftsleitung / Board of Directors: Dr. Hermann Rodler, Lydia Sommer, Olaf Horsthemke
Vorsitzender des Aufsichtsrats / Chairman of supervisory board: Herbert Merz
Sitz der Gesellschaft: München / Registered office: Munich
Registergericht: München / Commercial registry: Munich, HRB 163416
dwarf_cie_info_pool.leak.patch
Description: dwarf_cie_info_pool.leak.patch
[Prev in Thread] | Current Thread | [Next in Thread] |