malloc error: double free

Discussion in 'iOS Programming' started by elronaldo, Sep 30, 2008.

  1. macrumors newbie

    Joined:
    Sep 22, 2008
    #1
    What would cause the following error? Rather what would be the best way to pinpoint this issue? I have tried using malloc_history however that dumps a huge output in the Terminal and is hard to pinpoint the issue.

    TestApp(2582,0xa068afa0) malloc: *** error for object 0x4d060f0: double free
    *** set a breakpoint in malloc_error_break to debug

    Thanks!
     
  2. macrumors member

    Joined:
    Jul 17, 2008
    #2
    I remember having similar error some time a go. From what I remember - debugger should show exact line where 2nd free is called. Did you try to debug?
     
  3. thread starter macrumors newbie

    Joined:
    Sep 22, 2008
    #3
    Hmm. Yes, the debugger is not breaking for these or showing any further information.
     

Share This Page