RE: CINT problem?

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Fri, 28 Apr 2006 16:44:44 -0500


Hi,

If your code works succesfully when compiled by ACLiC then this is a CINT problem (either a CINT byte optimization problem or a problem with interpreted stl container).

If you code fails when compiled by ACLiC then try running with valgrind or the debugger (gdb).  

Cheers,
Philippe

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Chiara Zampolli
Sent: Friday, April 28, 2006 5:13 AM
To: roottalk
Subject: [ROOT] CINT problem?

Dear rooters,

    I am running a macro (see the attched file) which loops over some events (from event 0 to event 49) generated with AliRoot (ROOT version = v5-08-00, AliRoot = head version of Nov 1st 2005). When running it, it crashes with the error message:



----------FILE =

/exports1/aliprod1/zampolli/ProdNewHEAD/Hij_5fm.Run1/Events/Hij_5fm.Evt40---


 rl = 0x9ad44340
********* Processing event number: 0******* Number of ESD tracks : 17415
 stack = 0x9e856a98
 npart = 586373
 sono qui ciccina!!
 sono qui ciccina 1 !!

----------FILE =

/exports1/aliprod1/zampolli/ProdNewHEAD/Hij_5fm.Run1/Events/Hij_5fm.Evt41---


 rl = 0xba2fbdc8
Syntax Error: * momrec2events.C:237:
Error: Illegal pointer operation (tovalue) momrec2events.C:237: *** Interpreter error recovered ***
root [1] .q

NB: in the version of the macro I have attached, some of the print-outs have been suppressed, so that line 236 corresponds to line 190.

I'm not sure this is a problem with ROOT, but... could it be a problem of CINT? I have successfully compiled the macro (.L momrec2events.C++), and tried also with the gdb debugger, but "No stack" has been produced, so I don't know what else I should do...

Do you have any suggestion?
Thank you in advance.
Best Regards,

        Chiara Received on Fri Apr 28 2006 - 23:45:43 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET