RE: Re: Root macro works on 5.16, bombs on 5.18

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Sat, 01 Mar 2008 13:44:10 -0600


Hi Tom,

Can you send us the root file and enough your script/instruction to reproduce this problem?

Cheers,
Philippe.

PS. Did you try investigating this with valgrind?

-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Tom Roberts
Sent: Friday, February 29, 2008 11:30 PM To: 'ROOT Talk'
Subject: [ROOT] Re: Root macro works on 5.16, bombs on 5.18

More info from Linux (Fedora Core 8, Root 5.18):

It is rather difficult to debug this as my terminal does not echo what I type when debugging (5.16 or 5.18). It does echo when I start up, load the macro file, set a breakpoint in it, and run the macro function. The macro opens a GUI window which I use to open a root file, select an NTuple, enter "x" as the expression to histogram, and push the CreatePlot button.

The macro executes to my breakpoint and I step to

        TNtuple *nt = ntuples[0];
and ".p *nt" prints a full TNtuple (quite long -- appended below).

The next line of the macro is

        printf("C1 expr_x='%s' nt=%08lX\n",expr_x,(long)nt); and it correctly prints "C1 expr_x='x' nt=0A5256C0". In particular note that nt is not NULL, and we agree on the address: 0x0A5256C0=173168320.

The next line of the macro is

        printf("C1 nt->Nvar=%d\n",nt->GetNvar()); The command ".s" prints "!!!Calling compiled function GetNvar()" followed by a blank line. Another ".s" command prints:

This sure looks like a Cint problem to me -- I don't see how an interpreted macro could possibly screw things up like that. Unless, of course, nt does not really point to a TNtuple; but in that case how does it work in 5.16?

Using root 5.16 this all works just fine, printing my debug prints and displaying the histogram that is ultimately generated well beyond the code above. In the past, 5.12 and 5.14 worked also.

Note: my macro function begins gROOT->ProcessLine(".O 3"); because I found that level 4 didn't work in the past. As a quick test, I tried 0, 1, and 4, but they all crashed (1 crashed during startup).

Tom Roberts

Here's the result of ".p *nt" (I entered 999 when prompted for more) --

(class TNtuple)173168320

   0x0        public: TTree
     0x0        public: TNamed
       0x0        public: TObject

(compiled) 0xa5256c0 private: UInt_t fUniqueID
//object unique identifier
(compiled) 0xa5256c0 private: UInt_t fBits //bit field
status word
(compiled) 0x0 private: static Long_t fgDtorOnly
//object for which to call dtor only (i.e. no delete)
(compiled) 0x0 private: static Bool_t
fgObjectStat //if true keep track of objects in TObjectTable
(compiled) 0xa5256c0 private: long G__virtualinfo
(compiled) 0xa438480 static const TObject::EStatusBits
kCanDelete=1
(compiled) 0xa438570 static const TObject::EStatusBits
kMustCleanup=8
(compiled) 0xa438660 static const TObject::EStatusBits
kObjInCanvas=8
(compiled) 0xa438750 static const TObject::EStatusBits
kIsReferenced=16
(compiled) 0xa438838 static const TObject::EStatusBits
kHasUUID=32
(compiled) 0xa438920 static const TObject::EStatusBits
kCannotPick=64
(compiled) 0xa438a10 static const TObject::EStatusBits
kNoContextMenu=256
(compiled) 0xa438b00 static const TObject::EStatusBits
kInvalidObject=8192
(compiled) 0xa438be8 static const enum TObject::
kIsOnHeap=16777216
(compiled) 0xa438cd0 static const enum TObject::
kNotDeleted=33554432
(compiled) 0xa438db8 static const enum TObject::
kZombie=67108864
(compiled) 0xa438ea0 static const enum TObject::
kBitMask=16777215
(compiled) 0xa438f88 static const enum TObject::
kSingleKey=1
(compiled) 0xa439070 static const enum TObject::
kOverwrite=2
(compiled) 0xa439160 static const enum TObject::
kWriteDelete=4
(compiled) 0x0 private: static TClass* fgIsA
(compiled) 0xa5256c0 protected: TString fName , size=8
//object identifier
(compiled) 0x0 private: static Ssiz_t
fgInitialCapac //Initial allocation Capacity
(compiled) 0x0 private: static Ssiz_t
fgResizeInc //Resizing increment
(compiled) 0x0 private: static Ssiz_t
fgFreeboard //Max empty space before reclaim
(compiled) 0xa5256c0 protected: char* fData //ref.
counted data (TStringRef is in front)
(compiled) 0xa266e90 static const TString::EStripType
kLeading=1
(compiled) 0xa266f78 static const TString::EStripType
kTrailing=2
(compiled) 0xa267060 static const TString::EStripType
kBoth=3
(compiled) 0xa267148 static const
TString::ECaseCompare kExact=0
(compiled) 0xa26bde0 static const
TString::ECaseCompare kIgnoreCase=1
(compiled) 0xa5256c0 private: long G__virtualinfo
-- Press return for more -- (input [number] of lines, Cont,Step,More)
(compiled) 0x0 private: static TClass* fgIsA
(compiled) 0xa5256c0 protected: TString fTitle , size=8
//object title
(compiled) 0x0 private: static Ssiz_t
fgInitialCapac //Initial allocation Capacity
(compiled) 0x0 private: static Ssiz_t
fgResizeInc //Resizing increment
(compiled) 0x0 private: static Ssiz_t
fgFreeboard //Max empty space before reclaim
(compiled) 0xa5256c0 protected: char* fData //ref.
counted data (TStringRef is in front)
(compiled) 0xa266e90 static const TString::EStripType
kLeading=1
(compiled) 0xa266f78 static const TString::EStripType
kTrailing=2
(compiled) 0xa267060 static const TString::EStripType
kBoth=3
(compiled) 0xa267148 static const
TString::ECaseCompare kExact=0
(compiled) 0xa26bde0 static const
TString::ECaseCompare kIgnoreCase=1
(compiled) 0xa5256c0 private: long G__virtualinfo
(compiled) 0x0 private: static TClass* fgIsA
(compiled) 0x0 private: static TClass* fgIsA
0x1c public: TAttLine
(compiled) 0xa5256dc protected: Color_t fLineColor
//line color
(compiled) 0xa5256dc protected: Style_t fLineStyle
//line style
(compiled) 0xa5256dc protected: Width_t fLineWidth
//line width
(compiled) 0xa5256dc private: long G__virtualinfo
(compiled) 0x0 private: static TClass* fgIsA
0x28 public: TAttFill
(compiled) 0xa5256e8 protected: Color_t fFillColor
//fill area color
(compiled) 0xa5256e8 protected: Style_t fFillStyle
//fill area style
(compiled) 0xa5256e8 private: long G__virtualinfo
(compiled) 0x0 private: static TClass* fgIsA
0x30 public: TAttMarker
(compiled) 0xa5256f0 protected: Color_t fMarkerColor
//Marker color index
(compiled) 0xa5256f0 protected: Style_t fMarkerStyle
//Marker style
(compiled) 0xa5256f0 protected: Size_t fMarkerSize
//Marker size
(compiled) 0xa5256f0 private: long G__virtualinfo
(compiled) 0x0 private: static TClass* fgIsA
/home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fEntries //Number of entries /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fTotBytes //Total number of bytes in all branches before compression /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fZipBytes //Total number of bytes in all branches after compression /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fSavedBytes //Number of autosaved bytes /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Double_t fWeight //Tree weight (see TTree::SetWeight) /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Int_t fTimerInterval //Timer interval in milliseconds /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Int_t fScanField //Number of runs before prompting in Scan /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Int_t fUpdate //Update frequency for EntryLoop /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fMaxEntries //Maximum number of entries in case of circular buffers /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fMaxEntryLoop //Maximum number of entries to process /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fMaxVirtualSize //Maximum total size of buffers kept in memory /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fAutoSave //Autosave tree when fAutoSave bytes produced /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fEstimate //Number of entries to estimate histogram limits /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fCacheSize //! Maximum size of file buffers /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fChainOffset //! Offset of 1st entry of this Tree in a TChain /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fReadEntry //! Number of the entry being processed /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fTotalBuffers //! Total number of bytes in branch buffers /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Int_t fPacketSize //! Number of entries in one packet for parallel root /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Int_t fNfill //! Local for EntryLoop /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Int_t fDebug //! Debug level /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fDebugMin //! First entry number to debug /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Long64_t fDebugMax //! Last entry number to debug /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Int_t fMakeClass //! not zero when processing code generated by MakeClass /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: Int_t fFileNumber //! current file number (if file extensions) /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TObject* fNotify //! Object to be notified when loading a Tree /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TDirectory* fDirectory //! Pointer to directory holding this tree /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TObjArray fBranches , size=40 //List of Branches
(compiled) 0xa5256c0 protected: TObject** fCont //!Array
contents
(compiled) 0xa5256c0 protected: Int_t fLowerBound
//Lower bound of the array
(compiled) 0xa5256c0 protected: Int_t fLast //Last
element in array containing an object
(compiled) 0x0 private: static TClass* fgIsA
/home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TObjArray fLeaves , size=40 //Direct pointers to individual branch leaves
(compiled) 0xa5256c0 protected: TObject** fCont //!Array
contents
(compiled) 0xa5256c0 protected: Int_t fLowerBound
//Lower bound of the array
(compiled) 0xa5256c0 protected: Int_t fLast //Last
element in array containing an object
(compiled) 0x0 private: static TClass* fgIsA
/home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TList* fAliases //List of aliases for expressions based on the tree branches. /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TEventList* fEventList //! Pointer to event selection list (if one) /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TEntryList* fEntryList //! Pointer to event selection list (if one) /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TArrayD fIndexValues , size=12 //Sorted index values
(compiled) 0xa5256c8 Double_t* fArray=0x0
(compiled) 0x0 private: static TClass* fgIsA
/home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TArrayI fIndex , size=12 //Index of sorted values
(compiled) 0xa5256c8 Int_t* fArray=0x0
(compiled) 0x0 private: static TClass* fgIsA
/home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TVirtualIndex* fTreeIndex //Pointer to the tree Index (if any) /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TList* fFriends //pointer to list of friend elements /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TList* fUserInfo //pointer to a list of user objects associated to this Tree /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TVirtualTreePlayer* fPlayer //! Pointer to current Tree player /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TList* fClones //! List of cloned trees which share our addresses /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: TBranchRef* fBranchRef //Branch supporting the TRefTable (if any) /home/tjrob/root/lib/libTree.so -1 0xa5256c0 protected: UInt_t fFriendLockStatus //! Record which method is locking the friend recursion /home/tjrob/root/lib/libTree.so -1 0x0 protected: static Int_t fgBranchStyle //Old/New branch style /home/tjrob/root/lib/libTree.so -1 0x0 protected: static Long64_t fgMaxTreeSize //Maximum size of a file containg a Tree /home/tjrob/root/lib/libTree.so -1 0xa466f40 static const TTree::ELockStatusBits kFindBranch=1 /home/tjrob/root/lib/libTree.so -1 0xa467028 static const TTree::ELockStatusBits kFindLeaf=2 /home/tjrob/root/lib/libTree.so -1 0xa467110 static const TTree::ELockStatusBits kGetAlias=4 /home/tjrob/root/lib/libTree.so -1 0xa4671f8 static const TTree::ELockStatusBits kGetBranch=8 /home/tjrob/root/lib/libTree.so -1 0xa4672e0 static const TTree::ELockStatusBits kGetEntry=16 /home/tjrob/root/lib/libTree.so -1 0xa4673d0 static const TTree::ELockStatusBits kGetEntryWithIndex=32 /home/tjrob/root/lib/libTree.so -1 0xa4674b8 static const TTree::ELockStatusBits kGetFriend=64 /home/tjrob/root/lib/libTree.so -1 0xa4675a8 static const TTree::ELockStatusBits kGetFriendAlias=128 /home/tjrob/root/lib/libTree.so -1 0xa467690 static const TTree::ELockStatusBits kGetLeaf=256 /home/tjrob/root/lib/libTree.so -1 0xa467778 static const TTree::ELockStatusBits kLoadTree=512 /home/tjrob/root/lib/libTree.so -1 0xa467860 static const TTree::ELockStatusBits kPrint=1024 /home/tjrob/root/lib/libTree.so -1 0xa467950 static const TTree::ELockStatusBits kRemoveFriend=4096 /home/tjrob/root/lib/libTree.so -1 0xa467a40 static const TTree::ELockStatusBits kSetBranchStatus=4096 /home/tjrob/root/lib/libTree.so -1 0xa467b28 static const enum TTree:: kForceRead=2048 /home/tjrob/root/lib/libTree.so -1 0xa467c10 static const enum TTree:: kCircular=4096 /home/tjrob/root/lib/libTree.so -1 0x0 private: static
TClass* fgIsA
/home/tjrob/root/lib/libTree.so  -1   0xa5256c0  protected: Int_t fNvar 
//Number of columns
/home/tjrob/root/lib/libTree.so  -1   0xa5256c0  protected: Float_t* 
fArgs //! [fNvar] Array of variables
/home/tjrob/root/lib/libTree.so  -1   0x0        private: static TClass* 
fgIsA
FILE:HistoRoot.C LINE:403 cint>

Here's the stack trace         

(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/92/8ab51a53627c59877a85dd9afecc1619ca866c.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/db/8cb95645d5df469d4aece301cdb5e60087be21.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/6c/1cdbb38ae2a292613c8c31195417ee80ea7e1e.debug
(no debugging symbols found)...done.

[Thread debugging using libthread_db enabled] [New Thread -1208944944 (LWP 32580)]
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/ba/4ea1118691c826426e9410cafb798f25cefad5.debug

(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/0a/a42d2fe3ae9510365428e8a0818d7c76401f74.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/ac/2eeb206486bb7315d6ac4cd64de0cb50838ff6.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/a7/eabb854181ef5ff0c22b78c3e5048c64a2ebb8.debug
(no debugging symbols found)...done.
(no debugging symbols found)...done.
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/59/42b85e278a5f1d16952fec8e1f6b3d67f2de4d.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/90/ebf9c172c9332feed316b7c0fdff30ce1a15ae.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/03/5807c541381466da2f8457545e62c87066fd4f.debug

(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/ae/c58e5f33ca51070e02528d034b00b07a890d11.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/0d/605d38e5e2d23fb14837dd95144b2d330b946c.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/f2/8414adf5c05e495ce77db42b8b14f40bff2fef.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/e6/6176c26fd113826bac909964f08ed95e3b1745.debug

(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/67/3280e6ddac3f38973adf7b10eb773b75c69378.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/72/500956ada6207c76c29ff8d2c555df67b7efb6.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/15/731d3b56abb1be2a6715ef4c7ae84a5c77564c.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/87/d66bafb3c5d1af9e5a91a447ef5efcc0a3ec3c.debug

(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/90/66503e17dcb7232b114c5878674a5932e35885.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/b8/15f4dcecb6010580bb2ebf9ad8412132353b71.debug

(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/41/b572ad1b8e3fac8fb0dadf6bcc2b61ef6e08a9.debug
(no debugging symbols found)...done.
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/59/90d96516d0966b3e75c018e6129eee43965a6a.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/7b/ca58225dfd79f80915f63c78c2188ead8cd217.debug

(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/fc/0d33f69c4755d187f2c28e3bf118be4ad378f3.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/07/b722c2a7fed5b96cf4b40ce0f2a06eb0f8d2fc.debug
(no debugging symbols found)...done.
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/4e/ec7febbe425329b678df438a3bb8c8d8b171b4.debug
(no debugging symbols found)...done.

Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/d5/d83f2af48a79db25feb92dc3ded66f9b0abd1a.debug
(no debugging symbols found)...done.
(no debugging symbols found)

0x00110402 in __kernel_vsyscall ()

#1  0x00df0953 in __waitpid_nocancel () from /lib/libc.so.6
#2  0x00d94bab in do_system () from /lib/libc.so.6
#3  0x007ad8dd in system () from /lib/libpthread.so.0
#4  0x002d49ef in TUnixSystem::Exec () from /home/tjrob/root/lib/libCore.so
#5  0x002da3fd in TUnixSystem::StackTrace () from 
/home/tjrob/root/lib/libCore.so
#6 0x002d70ba in TUnixSystem::DispatchSignals () from /home/tjrob/root/lib/libCore.so
#7  0x002d7148 in SigHandler () from /home/tjrob/root/lib/libCore.so
#8  0x002d6395 in sighandler () from /home/tjrob/root/lib/libCore.so
#9  <signal handler called>
#10 0x00000000 in ?? ()
#11 0x0698393b in G__G__Tree_228_0_11 () from 
/home/tjrob/root/lib/libTree.so
#12 0x00877a5f in Cint::G__ExceptionWrapper () from /home/tjrob/root/lib/libCint.so
#13 0x00934327 in G__call_cppfunc () from /home/tjrob/root/lib/libCint.so
#14 0x009198dd in G__interpret_func () from /home/tjrob/root/lib/libCint.so
#15 0x009079d4 in G__getfunction () from /home/tjrob/root/lib/libCint.so
#16 0x009c65ed in G__getstructmem () from /home/tjrob/root/lib/libCint.so
#17 0x009be3b7 in G__getvariable () from /home/tjrob/root/lib/libCint.so
#18 0x008eb96e in G__getitem () from /home/tjrob/root/lib/libCint.so
#19 0x008ee8ff in G__getexpr () from /home/tjrob/root/lib/libCint.so
#20 0x009067f7 in G__getfunction () from /home/tjrob/root/lib/libCint.so
#21 0x008ebcb8 in G__getitem () from /home/tjrob/root/lib/libCint.so
#22 0x008ee8ff in G__getexpr () from /home/tjrob/root/lib/libCint.so
#23 0x0095bff4 in G__exec_statement () from /home/tjrob/root/lib/libCint.so
#24 0x00967537 in G__exec_if () from /home/tjrob/root/lib/libCint.so
#25 0x0095daf6 in G__exec_statement () from /home/tjrob/root/lib/libCint.so
#26 0x0091a703 in G__interpret_func () from /home/tjrob/root/lib/libCint.so
#27 0x009079d4 in G__getfunction () from /home/tjrob/root/lib/libCint.so
#28 0x0093242c in G__new_operator () from /home/tjrob/root/lib/libCint.so
#29 0x0095f1f9 in G__exec_statement () from /home/tjrob/root/lib/libCint.so
#30 0x0091a703 in G__interpret_func () from /home/tjrob/root/lib/libCint.so
#31 0x009079d4 in G__getfunction () from /home/tjrob/root/lib/libCint.so
#32 0x008ebcb8 in G__getitem () from /home/tjrob/root/lib/libCint.so
#33 0x008ee8ff in G__getexpr () from /home/tjrob/root/lib/libCint.so
#34 0x0095bff4 in G__exec_statement () from /home/tjrob/root/lib/libCint.so
#35 0x0095d3eb in G__exec_statement () from /home/tjrob/root/lib/libCint.so
#36 0x0091a703 in G__interpret_func () from /home/tjrob/root/lib/libCint.so
#37 0x0089829a in G__exec_asm () from /home/tjrob/root/lib/libCint.so
#38 0x0089bc7a in G__exec_bytecode () from /home/tjrob/root/lib/libCint.so
#39 0x00919db3 in G__interpret_func () from /home/tjrob/root/lib/libCint.so
#40 0x009079d4 in G__getfunction () from /home/tjrob/root/lib/libCint.so
#41 0x008ebcb8 in G__getitem () from /home/tjrob/root/lib/libCint.so
#42 0x008ee8ff in G__getexpr () from /home/tjrob/root/lib/libCint.so
#43 0x0095bff4 in G__exec_statement () from /home/tjrob/root/lib/libCint.so
#44 0x008d9b08 in G__exec_tempfile_core () from 
/home/tjrob/root/lib/libCint.so
#45 0x008dae43 in G__exec_tempfile_fp () from /home/tjrob/root/lib/libCint.so
#46 0x0096b7d4 in G__process_cmd () from /home/tjrob/root/lib/libCint.so
#47 0x002a7f5f in TCint::ProcessLine () from /home/tjrob/root/lib/libCore.so
#48 0x00215b66 in TApplication::ProcessLine () from 
/home/tjrob/root/lib/libCore.so
#49 0x0025413e in TROOT::ProcessLine () from /home/tjrob/root/lib/libCore.so #50 0x0183563c in TGClient::ProcessLine () from /home/tjrob/root/lib/libGui.so
#51 0x0181c705 in TGButton::HandleButton () from /home/tjrob/root/lib/libGui.so
#52 0x01867456 in TGFrame::HandleEvent () from /home/tjrob/root/lib/libGui.so
#53 0x0183531a in TGClient::HandleEvent () from /home/tjrob/root/lib/libGui.so
#54 0x01835435 in TGClient::ProcessOneEvent () from /home/tjrob/root/lib/libGui.so
#55 0x018354e6 in TGClient::HandleInput () from /home/tjrob/root/lib/libGui.so
#56 0x0183551a in TGInputHandler::Notify () from /home/tjrob/root/lib/libGui.so
#57 0x002d74e0 in TUnixSystem::DispatchOneEvent () from /home/tjrob/root/lib/libCore.so
#58 0x0026b0e8 in TSystem::InnerLoop () from /home/tjrob/root/lib/libCore.so
#59 0x0026aeae in TSystem::Run () from /home/tjrob/root/lib/libCore.so
#60 0x00215c52 in TApplication::Run () from /home/tjrob/root/lib/libCore.so
#61 0x00755fb2 in TRint::Run () from /home/tjrob/root/lib/libRint.so
#62 0x08048d36 in main ()

The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /proc/32580/exe, process 32580 Root > Function Plot() busy flag cleared Function doCommand() busy flag cleared
Function createPlot() busy flag cleared
Function command() busy flag cleared

# /home/tjrob/g4beamline-1.14-Linux-g++/examples/./../gui/HistoRoot.C 1143 HistoRoot::ProcessedEvent(Event_t*ee) 1144 {
1145 //printf("ProcessedEvent fType=%d fCode=%d fState=%08X fWindow=%ld expr_x=%ld\n",e->fType,e->fCode,e->fState,e->fWindow,singleton->expr_x->GetI d());
fflush(stdout);
1146 if(e->fType == kButtonPress && e->fCode == kButton3) FILE:HistoRoot.C LINE:1146 cint>                           

Tom Roberts wrote:

> I have a GUI histogram-helper Root macro that works fine on Root 5.12, 
> 5.14, and 5.16; I test and use it on Mac OS X, Windows Xp, and Linux. On 
> Root 5.18 it bombs on both Mac OS and Linux (did not try Windows). The 
> user can can open Root files, and can enter an expression to histogram, 
> but when the CreatePlot button is pushed Root crashes. The trace on 
> Linux (Fedora Core 6) is appended below -- the last 4 lines are the only 
> mention of any routines of mine.
> 
> I saw nothing in the release notes that indicated any change related to 
> histograms, but a number of Cint changes which I cannot tell if they 
> affect this.
> 
> Any suggestions? This macro is large (1900 lines) so I'm not including 
> it here, but I can send it to anyone who wants it.
> 
> 
> Tom Roberts

(old stack trace omitted)
Received on Sat Mar 01 2008 - 20:44:41 CET

This archive was generated by hypermail 2.2.0 : Sun Mar 02 2008 - 23:50:01 CET