Re: Windows get released on 10.6, leak on 10.7

2011-07-25 Thread Ross Carter
On Jul 21, 2011, at 6:40 PM, Corbin Dunn wrote: > Log the address of your object. Then, break in gdb and do: > > info gc-roots > > Then see what is rooting it. also, try gc-references in it to see what > references it, but roots are more important. Thanks, Corbin. I'm trying to understand the

Re: Windows get released on 10.6, leak on 10.7

2011-07-21 Thread Corbin Dunn
On Jul 21, 2011, at 1:16 PM, Ross Carter wrote: >> Just a long shot, but does this have anything to do with the new ARC >> (Automatic Reference Counting)? > > Joanna: The app uses GC, and was built long before ARC was announced. > Everything gets collected on 10.6. I'm puzzled how ARC could af

Re: Windows get released on 10.6, leak on 10.7

2011-07-21 Thread Ross Carter
> Just a long shot, but does this have anything to do with the new ARC > (Automatic Reference Counting)? Joanna: The app uses GC, and was built long before ARC was announced. Everything gets collected on 10.6. I'm puzzled how ARC could affect GC. > Have you used Instruments to find out why? If

Re: Windows get released on 10.6, leak on 10.7

2011-07-21 Thread vincent habchi
> I'm looking for ideas on what might cause this behavior: an existing app that > was compiled with 10.6 SDK runs fine on 10.6 and 10.5. When run on 10.7, > document windows (and their window controllers and NSDocuments) do not get > released when the window is closed. NSDocuments on 10.7 are s

Re: Windows get released on 10.6, leak on 10.7

2011-07-21 Thread Nick Zitzmann
On Jul 21, 2011, at 10:29 AM, Ross Carter wrote: > I'm looking for ideas on what might cause this behavior: an existing app that > was compiled with 10.6 SDK runs fine on 10.6 and 10.5. When run on 10.7, > document windows (and their window controllers and NSDocuments) do not get > released wh

Re: Windows get released on 10.6, leak on 10.7

2011-07-21 Thread Joanna Carter
Le 21 juil. 2011 à 17:29, Ross Carter a écrit : > I'm looking for ideas on what might cause this behavior: an existing app that > was compiled with 10.6 SDK runs fine on 10.6 and 10.5. When run on 10.7, > document windows (and their window controllers and NSDocuments) do not get > released when

Windows get released on 10.6, leak on 10.7

2011-07-21 Thread Ross Carter
I'm looking for ideas on what might cause this behavior: an existing app that was compiled with 10.6 SDK runs fine on 10.6 and 10.5. When run on 10.7, document windows (and their window controllers and NSDocuments) do not get released when the window is closed. All thoughts appreciated. ___