Skip navigation.
 
mlRe: Crash while getting the NSColor components
FROM : Uli Kusterer
DATE : Wed Jun 21 20:35:52 2006

Am 21.06.2006 um 08:32 schrieb Vinay Prabhu:
> If the crash is because of missing retain, it should crash in both the
> cases...


  "should" and "missing retain" are two words used together only at 
the speaker's own peril... Memory bugs are *by nature* not 
necessarily reproducible, and zombie objects will often keep working 
even though they have already been disposed of. There's no telling 
what will happen once you've used released memory.

  If you're interested in a more concrete example, my C tutorial (in 
progress) on my web site goes into a little more detail on how memory 
bugs work:

   http://www.zathras.de/angelweb/masters-of-the-void-book6.htm

To understand that, you may also be interested in reading my article 
on memory management:

   http://www.zathras.de/angelweb/howmemorymanagementworks.htm

which is also linked at the top of the tutorial chapter.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de

Related mailsAuthorDate
mlCrash while getting the NSColor components Vinay Prabhu Jun 20, 10:39
mlRe: Crash while getting the NSColor components Corbin Dunn Jun 21, 00:34
mlRE: Crash while getting the NSColor components Vinay Prabhu Jun 21, 07:41
mlRe: Crash while getting the NSColor components Chris Suter Jun 21, 07:50
mlRE: Crash while getting the NSColor components Vinay Prabhu Jun 21, 08:32
mlRe: Crash while getting the NSColor components Corbin Dunn Jun 21, 20:14
mlRe: Crash while getting the NSColor components Uli Kusterer Jun 21, 20:35