I created a new routing agent. I wanted to have a startUp function that would send some initial packets. When I call the startUp function in TCl using $self at $ragent 0.0 startfunction the code works perfectly. But when I try to call the startUp function in the c++ constructor of the agent there is a segmentation fault(core dumped). Why is this problem? Thank You Madhan