Bug 19732 - Error leak allocation
Summary: Error leak allocation
Status: RESOLVED MOVED
Alias: None
Product: glibc
Classification: Unclassified
Component: malloc (show other bugs)
Version: 2.22
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-25 23:08 UTC by rm beer
Modified: 2016-03-10 20:35 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rm beer 2016-02-25 23:08:50 UTC
I have this error in valgrind:

 HEAP SUMMARY:
     in use at exit: 18,944 bytes in 1 blocks
   total heap usage: 130 allocs, 129 frees, 325,125 bytes allocated
 
 Searching for pointers to 1 not-freed blocks
 Checked 128,884 bytes
 
 18,944 bytes in 1 blocks are still reachable in loss record 1 of 1
    at 0x402A1AE: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
    by 0x40D96CA: pool (eh_alloc.cc:117)
    by 0x40D96CA: __static_initialization_and_destruction_0 (eh_alloc.cc:244)
    by 0x40D96CA: _GLOBAL__sub_I_eh_alloc.cc (eh_alloc.cc:307)
    by 0x400EF34: call_init.part.0 (in /usr/lib/ld-2.22.so)
    by 0x400F05D: _dl_init (in /usr/lib/ld-2.22.so)
    by 0x4000B8E: ??? (in /usr/lib/ld-2.22.so)

I unknown what is this, but seem a from init of main().
Comment 1 Florian Weimer 2016-03-10 20:35:20 UTC
This is code in libstdc++, see:

  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69945