Root fails on recompile

I can compile my custom class and code just fine now, but when I use the .X “filename.cxx+” command I get a segmentation violation error. Anyone might be able to help me?