Re: Can't send messages to a valid object
Re: Can't send messages to a valid object
- Subject: Re: Can't send messages to a valid object
- From: email@hidden
- Date: Tue, 7 Oct 2003 23:07:04 +0000
- Mail-followup-to: email@hidden
Charles and I are both trying to figure out the bug previously
discussed. We tried running under gdb with:
MallocStackLogging, MallocStackLoggingNoCompact, MallocScribble
and both with and without MallocCheckHeapStart and
MallocCheckHeapEach. The only output (aside from EXC_BAD_ACCESS) is:
malloc[4130]: recording stacks using standard recorder
malloc[4130]: enabling scribbling to detect mods to free blocks
malloc[4130]: recording stacks using standard recorder
malloc[4130]: enabling scribbling to detect mods to free blocks
I'm not enough of an expert to figure out from examining registers
exactly which memory address to pass to malloc_history. I did
notice that r3,4,27 all have been freed (0x55555555).
My blind stabs:
(gdb) info frame
Stack level 0, frame at 0xbfffef80:
pc = 0x90190f74 in CFRelease; saved pc 0x9019484c
(FRAMELESS), called by frame at 0xbfffef80
Arglist at 0xbfffef80, args:
Locals at 0xbfffef80, Previous frame's sp is 0xbfffef80
Saved registers:
pc at 0xbfffef88, lr at 0xbfffef88
(gdb) x/i 0x90190f74
0x90190f74 <CFRelease+36>: lhz r0,6(r27)
(gdb) info reg r27
r27 0x55555555 1431655765
[in a shell]: malloc_history <the pid> 0xbfffef80
[no output]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.