Re: Error in <TObjectTable::UpdateInstCount>

ZVYAGIN (ZVYAGIN_at_mx.ihep.su)
Thu, 8 Jul 1999 21:41:04 +0400


Hi, ROOTers

On Thu, 8 Jul 1999, Fons Rademakers wrote:

> Hi,
>
> could you make a small example showing this problem or does it only
> appear after 10*7 events? do you get each time in the loop more oops'en?

I get the message
Error in <TObjectTable::UpdateInstCount>: #######
every time I call gObjectTable->Print().

Unfortunatly it is very difficalt to create short example. The real code
contains references to several internal libraries. If you need FULL code
(archive .tar.bz2 with size about 200kB) I'll send you it. But may be this
point will help to debug or undestand the problem:

With the options
Root.MemStat: 1
Root.MemStat.size: 1
Root.MemStat.cnt: 1
Root.ObjectStat: 1
I have the problem with simple root session:
1) run ROOT
$ root
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 2.21/08 18 March 1999 *
* *
... skipped ...

2) Start TBrowser
root [0] new TBrowser
3) From TBrowser's "File" menu choose "New Browser"
The message will appear (and ROOT session will be aborted):
root [1] Fatal in <EnterStat>: trapped allocation 1
aborting

And, of course, this situation will not happen if in the above options
the numbers '-1' were used.

=======================================================================

I tried to use the latest ROOT version, but my attempt to compile
ROOT from root222.cmz file was unsuccessful. I got the error (after 20
minutes of good compilation):

Number of DECKS written: 5
Number of RECORDS written: 1394
************************************
* Installing LinkDef headers and Makefiles
************************************

Number of DECKS written: 1
Number of RECORDS written: 8

... skipped ...

Number of DECKS written: 1
Number of RECORDS written: 11
touch: invalid date format `199401010000'
if: Expression Syntax.
*** touch -t 199401010000 src/*LinkDef* src/G__TypeInfo.h; if [ $? != 0
];then touch -t 010100001994 src/*LinkDef* src/G__TypeInfo.h; fi
returned exit code 1

Number of DECKS written: 27
Number of RECORDS written: 3795
CTOT: Deck V2_ not found

Number of DECKS written: 1
Number of RECORDS written: 98
root222/$version [4]

In the 'bin' directory file 'root' is missed, and 'root.exe' program can
not find any libraries. I use Linux-2.0.32, slackware distribution.

$ ldd $ROOTSYS/bin/root.exe
libNew.so.0 => not found
libBase.so.0 => not found
and so on for all ROOT libraries

$ ls $ROOTSYS/lib
libBase.so libGpad.so libMeta.so libRint.so
libCint.so libGraf.so libMinuit.so libTree.so
libClib.so libGraf3d.so libNet.so libUnix.so
libCont.so libGui.so libNew.so libX3d.so
libEG.so libHist.so libPhysics.so libZip.so
libFunc.so libHtml.so libPostscript.so
libGX11.so libMatrix.so libProof.so

With best wishes,
Alexander.

> Cheers, Fons.
>
>
> ZVYAGIN wrote:
> >
> > Dear ROOT developers and ROOTers,
> >
> > I have program that uses ROOT intensively. My program has cycle on 10**7
> > events. Each event is readed from not ROOT file. And finaly the program
> > consumes memory (about 200 bytes per event).
> >
> > To test what is happening, I did the steps:
> > 1. in file ".rootrc" the strings were set:
> > Root.MemStat: 1
> > Root.MemStat.size: 1
> > Root.MemStat.cnt: 1
> > Root.ObjectStat: 1
> > 2. in main program:
> >
> > // ...
> > #include "TObjectTable.h"
> > // ...
> > main()
> > {
> > // ...
> > while(some_conditions) // This is cycle on events
> > {
> > // ...
> > gObjectTable->Print();
> > }
> > // ...
> > }
> >
> > The readout is:
> >
> > Error in <TObjectTable::UpdateInstCount>: oops 0x0807658c
> >
> > Error in <TObjectTable::UpdateInstCount>: oops 0x086f4638
> >
> > Error in <TObjectTable::UpdateInstCount>: oops 0x086f4644
> >
> > Error in <TObjectTable::UpdateInstCount>: oops 0x086f4678
> >
> > Error in <TObjectTable::UpdateInstCount>: oops 0x086f4684
> >
> > Error in <TObjectTable::UpdateInstCount>: oops 0x0871ba38
> >
> > And so on.
> >
> > I uses ROOT version 2.21/08.
> >
> > With best wishes,
> > Alexander.
>
> --
> Org: CERN, European Laboratory for Particle Physics.
> Mail: 1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
> WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
>