public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug malloc/26749] New: Differences between "mallinfo" and "malloc_info"
@ 2020-10-18 14:24 dieter at handshake dot de
0 siblings, 0 replies; only message in thread
From: dieter at handshake dot de @ 2020-10-18 14:24 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26749
Bug ID: 26749
Summary: Differences between "mallinfo" and "malloc_info"
Product: glibc
Version: 2.27
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: malloc
Assignee: unassigned at sourceware dot org
Reporter: dieter at handshake dot de
Target Milestone: ---
The information about the available free space differs between `mallinfo` and
`malloc_info` (even with a single heap and sufficiently small memory size not
to overflow `mallinfo`.
Output of `malloc_info`:
<malloc version="1">
<heap nr="0">
<sizes>
...
</sizes>
<total type="fast" count="0" size="0"/>
<total type="rest" count="316" size="51820"/>
<system type="current" size="4620288"/>
...
</heap>
<total type="fast" count="0" size="0"/>
<total type="rest" count="316" size="51820"/>
<total type="mmap" count="1" size="790528"/>
<system type="current" size="4620288"/>
...
</malloc>
Information from `mallinfo`:
arena = 4620288 (agrees)
fordblks = 228208 (differs)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-18 14:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-18 14:24 [Bug malloc/26749] New: Differences between "mallinfo" and "malloc_info" dieter at handshake dot de
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).