[Biococoa-dev] bug alert

Koen van der Drift kvddrift at earthlink.net
Thu Dec 2 20:43:24 EST 2004

On Dec 2, 2004, at 5:56 PM, Koen van der Drift wrote:

> After all the recent additions, the translation demo (just updated in 
> cvs) crashes after clicking the process button. Haven't had time yet 
> to debug it, so if you feel like figuring it out, please go ahead. 
> I'll have more time later tonight to see if I can fix it.

I think I found it. The console was showing hundreds of these lines 
after the crash:

[BCCodonRNA release]

so I commented out these lines in BCCodonRNA and BCCodonDNA:

- (void) dealloc {

     [super release];

Actually, they are not needed at all, because they don't add any code.

No more crashes after that.

I have a few questions, though:

1. is there any reason why this code should be in there? If there is, 
the error might be somewhere else, and my fix was not in the right 

2, I also find these lines strange:

- (BCCodon *) init {
     return nil;

any reason for that?

3. Why didn't this happen before? The translation demo has been used 
for a while now.


- Koen.

More information about the Biococoa-dev mailing list