Hi Rene I went back to root3.02 and the same functions and macro worked without any problem. Using root3.03 and your instruction, I got the following output (just the most important ones, in my opinion). (... some stuffs deleted...) 32 scaling=GetScale(chsim,cms); # /data/delphi/data/llll/nozm_allnewcuts/./../src/GetScale.C 1 GetScale(Char_t *channel,Int_t energy) 2 { 3 Char_t file[255] = {""} *** Break *** segmentation violation Root > Function GetScale() busy flag cleared Cheers Luiz Rene Brun wrote: >Luiz, > >I am afraid we cannot do much with the bit of information you are sending. >The first thing to do in this case is to select teh trace option in cint > root > .T > root > .L ../src/GetLuminosity.C > root > .L ../src/GetScale.C > root > .x ../src/mkmasstree.C > >You should at least see what is being executed. >If the crash appears in a compiled function, run under gdb > gdb root.exe > gdb > r > root > your commands, you get the crash and get again the gdb prompt > gdb > info stack >send the output of info stack > >Rene Brun > >On Mon, 17 Jun 2002, Luiz Martins Mundim Filho wrote: > >>Hi >> >>I have two functions and one unamed macro that generates an ntuple from >>an ascii file. It used to work without problem until I installed the new >>version. >>I tried to find out on the discussion list archive, but I could not find >>anything that could help me. >> >>Below it the output: >> >> ******************************************* >> * * >> * W E L C O M E to R O O T * >> * * >> * Version 3.03/05 1 May 2002 * >> * * >> * You are welcome to visit our Web site * >> * http://root.cern.ch * >> * * >> ******************************************* >> >>Compiled for linux with thread support. >> >>CINT/ROOT C/C++ Interpreter version 5.15.36, Apr 23 2002 >>Type ? for help. Commands must be C++ statements. >>Enclose multiple statements between { }. >>root [0] .L ../src/GetLuminosity.C >>root [1] .L ../src/GetScale.C >>root [2] .x ../src/mkmasstree.C >> >> *** Break *** segmentation violation >>Root > Function GetScale() busy flag cleared >> >>The GetScale.C and GetLuminosity.C. They need two configuration file I >>am not sending, I included them just if someone wants to take a look into. >> >>Thanks. >> >>Luiz Mundim >> >> >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:57 MET