Hi Valeriy, Thanks for the reply.. I modified CarrotChildInit.C as you have described here. I then restarted the apache server. However, I'm still seeing the same behaviour, segfaulting on histograms. Any other ideas? thanks, -alex However, this didn't change the behaviour. On Monday 03 March 2003 01:16 am, Valeriy Onuchin wrote: > Hi, > Carrot should work with ROOT version > 3.02. > Although a problem would appear in executing child init script > http://carrot.cern.ch/CarrotExamples/CarrotChildInit.C > > This script loads several ROOT libs and executed when apache cihild > process is spawned. Since some ROOT libraries have dependences > an order of loading is not arbitrary. Unfortunately the order could be > changed when one switches to another ROOT version. If you have ROOT > sources you can find ROOT libs dependences by looking at > config/Makefile.win32 I do not know at the moment how to determine libs > dependencies by looking at compiled libs. If sombody knows how to do it, > please, let me know. > I hope to find solution for it by next Carrot release. > > For a time being try changed order of ROOT libs loading in > CarrotChildInit.C as > > ret &= !gSystem->Load("libMatrix"); // moved up > ret &= !gSystem->Load("libHist"); // moved up > ret &= !gSystem->Load("libGraf"); > ret &= !gSystem->Load("libGpad"); > // ret &= !gSystem->Load("libMatrix"); > // ret &= !gSystem->Load("libHist"); > ret &= !gSystem->Load("libTree"); > ret &= !gSystem->Load("libGraf3d"); > ret &= G__loadfile("TApacheConfig.h"); > > Hope this helps. Thanks for pointing the problem. > > Regards. Valeriy > > > > ----- Original Message ----- > From: "Alex Schlessinger" <als@SLAC.Stanford.EDU> > To: <Valeri.Onoutchine@cern.ch>; <roottalk@pcroot.cern.ch>; > <richard@SLAC.Stanford.EDU>; <kyoung@SLAC.Stanford.EDU> > Sent: Friday, February 28, 2003 2:31 AM > Subject: Carrot 1.07 and ROOT 3.04.02 > > > Hi, a Carrot question: > > > > Is Carrot known to work with ROOT 3.04? When I run a histogram example > > (hsimple0.C), the apache child serving the request segfaults. Here is a > > snip from error_log > > > > [Thu Feb 27 16:44:27 2003] [notice] child pid 25875 exit signal > > Segmentaon fault (11) > > > > This worked when our Carrot environment was against ROOT 3.02. What > > have I done wrong? > > > > thanks, > > -alex
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET