Displaying 5 results from an estimated 5 matches for "debug_malloc".
Did you mean:
ddebug_malloc
2018 Feb 03
1
Mismatch between code comments and reality in malloc.h
...G and free_arena_header are:
/*
* This structure should be a power of two. This becomes the
* alignment unit.
*/
struct arena_header {
malloc_tag_t tag;
size_t attrs; /* Bits 0..1: Type
2..3: Heap,
4..31: MSB of the size */
struct free_arena_header *next, *prev;
#ifdef DEBUG_MALLOC
unsigned long _pad[3];
unsigned int magic;
#endif
};
/* Pad to 2*sizeof(struct arena_header) */
#define ARENA_PADDING ((2 * sizeof(struct arena_header)) - \
(sizeof(struct arena_header) + \
sizeof(struct free_arena_header *) + \
sizeof(struct free_arena_header *)))
/*
* This struc...
2008 Jul 13
1
bunch of small fixes
hello hpa,
current chroot util stands out as broken and
found an old nfsmount commit on a stray testbox
in our institue.
thanks for taking a look!
maks
git pull git://git.debian.org/~maks/klibc.git maks
for the changes:
maximilian attems (4):
[klibc] malloc fix compile with DEBUG_MALLOC
[klibc] README: add klibc email
[klibc] nfsmount: improve error message
[klibc] chroot: Fix expected behaviour
git diff --stat master..
README | 2 ++
usr/kinit/nfsmount/mount.c | 4 ++--
usr/klibc/malloc.c | 1 +
usr/utils/chroot.c |...
2018 Feb 06
0
[PATCH] syslinux/core: Remove discrepancy between code comments and compiled code in malloc.h
From: Brett Walker <brett.walker at geometry.com.au>
Remove a discrepancy between code comments and the definition for arena_header,
ARENA_PADDING and free_arena_header.
When the size of int and pointer are both 32-bits; and compiled with
DEBUG_MALLOC undefined; the following are true: sizeof(arena_header) == 16
and sizeof(free_arena_header) == 56.
To correct this, the type of _pad needs to be changed from size_t to uint8_t.
This will make sizeof(free_arena_header) == 32.
Signed-off-by: Brett Walker <brett.walker at geometry.com.au>
---...
2008 Jun 17
1
Bug#486557: cpio segfault
hello,
On Mon, 16 Jun 2008, Joey Hess wrote:
> klibc cpio segfaults extracting various cpio files. It seems to work for
> small files, but fail for larger ones, including the d-i root floppy
> image.
>
> For example:
>
> joey at kodama:/tmp/empty>wget http://people.debian.org/~joeyh/d-i/images/20080401-09:01/floppy/root.img
> joey at kodama:/tmp/empty>zcat
2013 Jul 12
3
Dynamic debugging how to WAS: Syslinux-6.02-pre2 - booting 32-bit kernels from efi64
On Thu, 11 Jul, at 10:44:27PM, Geert Stappers wrote:
> Op 2013-07-11 om 16:17 schreef Matt Fleming:
> > On Wed, 10 Jul, at 03:44:57PM, Andreas Heinlein wrote:
> > >
> > > Any further info I can give you to debug this? Are there any
> > > specific requirements for the kernel?
> >
> > You could try running,
> >
> > debug.c32 -e