Stack overflow error on only 4 class instantiations

Hello,
I’m having a strange problem w/ stack overflow errors after instantiating a simple class only 4 times. The strange thing is that when I put a trace statement where the classes are instantiated, it clears up the problem.

Here’s the classes:


package com.foundationflash.example.game.characters
{
    public class Referee
    {
        public function goRef():void
        {
            trace("Whistle!");
        }
    }
}

package com.foundationflash.example.game.characters
{
    public class RaceCar
    {
        public function goRace():void
        {
            trace("Zooooooooom!");
        }
    }
}

package
{
    import com.foundationflash.example.game.characters.RaceCar;
    import com.foundationflash.example.game.characters.Referee;
    import flash.display.Sprite;
    public class GameGo extends Sprite
    { 
        public function GameGo()
        {
            //trace("@@@ this trace solves the problem"); 
            var ref:Referee = new Referee();
            ref.goRef();
            var car1:RaceCar = new RaceCar();
            car1.goRace();
            var car2:RaceCar = new RaceCar();
            car2.goRace();    
            var car3:RaceCar = new RaceCar();
            car3.goRace();    
        }
    }
}

Any ideas?

Thanks,
Clem C