Re: unexpected busy flag declared

From: Rene Brun <brun_at_pcroot.cern.ch>
Date: Thu, 11 Aug 2005 16:06:15 +0200 (MEST)


Hi Pietro,

I was trying to investigate your problem, but I see far too many C++ programming bugs in the code

  -non-declared variables
  -use of arrays where a scalar is expected
  -etc

I started to modify your code, but nearly every line needs to be modified. In my modifications (see attachement) you will see that I use ACLIC to compile your code. This will produce better dignostics than CINT. I suggest you start from this code to see the list of problems reported by the compiler.

Rene brun

On
Thu, 11 Aug 2005, Pietro Govoni wrote:

> Dear ROOTers,
>
> I encountered an unexpected busy flag message while running a simple public
> TSelector class in a TChain.
> Follows here the complete output, together with the ROOT version, of the
> code.
> Please, find in:
>
> ~govoni/public/4Root
>
> the working example that generated this error.
> I run it via:
>
> root guardo.C
>
> The ROOT is the 4.00/06 version, the platform is a macosx tiger one.
> Does anybody have a suggestion on how to face the problem?
> Thank you very much in advance!
>
> Pietro
>
>
>
>
> pb-d-128-141-34-44:~/private/job/cms/calibrazione/data/newTracking/pupo/4Root
> govoni$ root
> guardo.C
> Warning in <TEnvRec::ChangeValue>: duplicate entry
> <Library.TMCParticle=libEGPythia6.so li
> bEG.so libGraf.so> for level 0; ignored
> *******************************************
> * *
> * W E L C O M E to R O O T *
> * *
> * Version 4.00/06 25 August 2004 *
> * *
> * You are welcome to visit our Web site *
> * http://root.cern.ch *
> * *
> *******************************************
>
> FreeType Engine v2.1.3 used to render TrueType fonts.
> Compiled for macosx with thread support.
>
> CINT/ROOT C/C++ Interpreter version 5.15.138, May 23 2004
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> root [0]
> Processing guardo.C...
> Warning in <TClass::TClass>: no dictionary for class TRootEvent is available
> Warning in <TClass::TClass>: no dictionary for class TRootMCEle is available
> Warning in <TClass::TClass>: no dictionary for class TRootCalibObj is
> available
> root.exe(468) malloc: *** Deallocation of a pointer not malloced: 0xb4; This
> could be a d
> ouble free(), or free() called with the middle of an allocated block; Try
> setting environm
> ent variable MallocHelp to see tools to help debug
> root.exe(468) malloc: *** Deallocation of a pointer not malloced: 0x154;
> This could be a
> double free(), or free() called with the middle of an allocated block; Try
> setting environ
> ment variable MallocHelp to see tools to help debug
>
> *** Break *** segmentation violation
> Root > Function Begin() busy flag cleared

Received on Thu Aug 11 2005 - 16:06:24 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET