Delay in constructor of class type variable ?

I have found an interesting behavior regarding the "delay" method, let me describe details :

There is a library having constructor which uses the delay method :

class MyLib {
  public :
    MyLib::MyLib() {
       .....;
      delay(20);
       ....;
}

And it is used inside the code:

MyLib variable;

void setup() {
 ....
}

void loop() {
 ....
}

If I remove the delay method call, it works, but if it is present, Arduino stops. Does anybody have similiar experience ?

You will find more specific information on this issue here:

http://code.google.com/p/arduino/issues/detail?id=129

Thanks for the info, I think this is a source of problems also in posts like "lcd shows nothing" (there were some about 2 weeks ago).

Conclusion : delay uses milis and milis is updated in a timer based interrput, which is not initialized when constructors are called.