Re: Kernel stack size and kernel memory debugger
Re: Kernel stack size and kernel memory debugger
- Subject: Re: Kernel stack size and kernel memory debugger
- From: mogambo <email@hidden>
- Date: Mon, 30 Nov 2009 12:31:47 -0800
And, while I am on the subject of corruption, is there a kernel memory debugger in Mac OS/bsd? I have seen this questions being asked on the forum, but did not find any answers.
I was wondering if there were any debug flags or something to turn on some sort of memory fencing. I am debugging a problem where the pointer returned by _MALLOC is invalid (e.g. 0x122aae48) and I get a trap fault. The size of allocation is 56 bytes, so I would expect allocation out of kalloc.64 zone. zprint in gdb shows the following for kalloc.64:
ZONE COUNT TOT_SZ MAX_SZ ELT_SZ ALLOC_SZ NAME
0xffffff80031105c8 56461 3aa000 445800 64 1000 kalloc.64 CX
Thanks!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden