Hi HS, We need more info to understand your problem -Add the statement gDebug=2; (#include "TSystem.h") somewhere in your program before writing your objects. This will produce a long output with one line per data member saved to the buffer. -run under gdb. When you get the crash, collect the output of gdb > bt Rene Brun On Tue, 24 Aug 2004 hsahn@cosmicray.umd.edu wrote: > > Dear ROOTers, > > I am trying to upgrade from "root3.00, gcc2.96, RH7.3" to "root4.00, > gcc3.3.2, RH Fedora-Core1." > My program used to work in "root3.00, gcc2.96, RH7.3", but it gives a > "*** Break *** segmentation violation" followed by "Generating stack > trace..." in "root4.00, gcc3.3.2, RH Fedora-Core1." > The problem I noticed was, when I commented out "buf<<m_List;" (where, > TList *m_List) in my Streamer(TBuffer &buf), the error message did not > show up, even if the output file was not useful anymore. > I can see a lot of differences in "TBuffer.h" between root3 and root4, > and I would like to get help from experts to solve this problem. > > Regards, > HS >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET