Hi!
What is wrong in the next file?
file test.c
--------------------------------------------------------------------------
void test(void)
{
  TFile file1("file.root","RECREATE","This is title!",9);
  class GENERATOR : public TObject
  {
  } g;
}
--------------------------------------------------------------------------
root [0] .x test.c
 *** Break *** segmentation violation
Thanks,
Alexander Zvyagin.