*** malloc[]: error for object: Double free: How to Debug?
*** malloc[]: error for object: Double free: How to Debug?
- Subject: *** malloc[]: error for object: Double free: How to Debug?
- From: Philip Mötteli <email@hidden>
- Date: Wed, 14 Jan 2004 00:48:01 +0100
Hi
I have a program, that fetches in regular intervals (NSTimer) some data
from the Internet (NSUrl).
Everytime, this happens, I have this error message:
*** malloc[12604]: error for object 0x16e2e50: Double free
I try to debug it by setting a breakpoint on fprintf(), printf and on
[NSException raise]. But no breakpoint is ever hit:
(gdb) info b
Num Type Disp Enb Address What
1 breakpoint keep y 0x90a5c9d8 <-[NSException raise]>
2 breakpoint keep y 0x2d22d59c in printf at printf-fbsd.c:52
3 breakpoint keep y 0x2d1ffd14 in fprintf at fprintf-fbsd.c:52
If I try to step into the methods called, the program crashes with a
bus error somewhere in NSUrl.
Is there a way, to debug this problem?
Thanks!
Phil
_______________________________________________
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.