Debugging hints

2011-12-22 Thread Martin Hewitson
Dear list, I have a very complex document based app. If I run the app compiled with garbage collection support, then I can open and close document windows without problems. With garbage collected disabled, opening and closing the document windows results in crashes. Clearly I have a memory

Re: Debugging hints

2011-12-22 Thread Mike Abdullah
Did you actually write this app to be dual-mode, or are you under the impression that turning off garbage collection will magically fix things? Going by the stack trace, this is a classic zombie. Use Instruments to find the bug. On 22 Dec 2011, at 10:48, Martin Hewitson wrote: Dear list,

Re: Debugging hints

2011-12-22 Thread Martin Hewitson
On 22, Dec, 2011, at 02:39 PM, Mike Abdullah wrote: Did you actually write this app to be dual-mode, or are you under the impression that turning off garbage collection will magically fix things? To be honest, I wrote the app assuming garbage collection was off. I think it must have got

Re: Debugging hints

2011-12-22 Thread Mike Abdullah
On 22 Dec 2011, at 14:03, Martin Hewitson wrote: On 22, Dec, 2011, at 02:39 PM, Mike Abdullah wrote: Did you actually write this app to be dual-mode, or are you under the impression that turning off garbage collection will magically fix things? To be honest, I wrote the app assuming

Re: Debugging hints

2011-12-22 Thread Martin Hewitson
On 22, Dec, 2011, at 03:32 PM, Mike Abdullah wrote: On 22 Dec 2011, at 14:03, Martin Hewitson wrote: On 22, Dec, 2011, at 02:39 PM, Mike Abdullah wrote: Did you actually write this app to be dual-mode, or are you under the impression that turning off garbage collection will