malloc error: double free

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

  1. elronaldo macrumors newbie

    Sep 22, 2008
    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

  2. lawicko macrumors member

    Jul 17, 2008
    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. elronaldo thread starter macrumors newbie

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

Share This Page