Hi Markus, Hum!. It seems that you have a problem on the sender side. Could you set gDebug=2; on both the sender and receiver to monitor where you get the problem? Rene Brun On Tue, 13 Aug 2002, Markus Brehm wrote: > Hello! > I read Histograms (TH1F) from a socket, so I do > if((bytes=sock->Recv(mess))>0){ > histClass=mess->GetClass(); > TObject* helpObj=mess->ReadObject(histClass); > ...} > I get sometimes (after the code worked fine for several loops) a > segmentation violation at the point where ReadObject is called. > To check what happens in TBuffer::ReadObject, I added a > cout<<"Start"<<endl; as the first statement in ReadObject. > When the program crashes, this message is not displayed. > Any ideas? > I'm using the cvs-version from August, 9th but the problem also occures > with version 3.03.07 > On Suse Linux 7.3 > > Thanks, > Markus > > P.S. Thanks for the quick help with my marker-problem > > ====================================== > Markus Brehm > Physikalisches Institut der Universitaet Heidelberg > Philosophenweg 12 > D-69120 Heidelberg > Tel. +49 6221 54 9345 > Fax +49 6221 475733 > brehm@physi.uni-heidelberg.de >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:04 MET