Dear Volker, >root [0] .L EMModule.cc >root [1] TVector3 y(1,2,3) >root [2] EMModule x3(y,4); >root [3] cout << x3(1) << endl; >2 > >root [4] .L EMModule.cc > > *** Break *** segmentation violation >Root > When you reload the file, all of the automatic objects, y and x3 in this case are destructor. I guess SEGV occurs during x3 destruction. The reason you are not seeing the problem with 'new' is simply because the heap object is not destructed automatically. I guess static member of TVector3 has something to do but I have no further knowledge. Maybe the way we overload 'operator new' in libNew.so has some problem, possibly not initializing fgIsA member if the object is a member or base class of an interpreted class. Rene, Fons, do you have any idea? Thank you Masaharu Goto
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET