• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
*** malloc[]: error for object: Double free: How to Debug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*** 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.

  • Prev by Date: Re: resizing troubles
  • Next by Date: Making a custom cell scrollable
  • Previous by thread: Re: Setting a documents file type during save as=8 5
  • Next by thread: Making a custom cell scrollable
  • Index(es):
    • Date
    • Thread