Root macro works on 5.16, bombs on 5.18

From: Tom Roberts <tjrob_at_fnal.gov>
Date: Fri, 29 Feb 2008 15:49:14 -0600


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

(no debugging symbols found)
0x00110402 in __kernel_vsyscall ()
#1 0x00db5483 in __waitpid_nocancel () from /lib/libc.so.6
#2 0x00d5cbbf in do_system () from /lib/libc.so.6
#3 0x002681cd in system () from /lib/libpthread.so.0
#4 0x004d99ef in TUnixSystem::Exec () from /home/tjrob/root/lib/libCore.so
#5 0x004df3fd in TUnixSystem::StackTrace ()

    from /home/tjrob/root/lib/libCore.so
#6 0x004dc0ba in TUnixSystem::DispatchSignals ()

    from /home/tjrob/root/lib/libCore.so
#7 0x004dc148 in SigHandler () from /home/tjrob/root/lib/libCore.so
#8 0x004db395 in sighandler () from /home/tjrob/root/lib/libCore.so
#9 <signal handler called>
#10 0x043ab5af in TTreeFormula::FindLeafForExpression ()

    from /home/tjrob/root/lib/libTreePlayer.so
#11 0x043ade2d in TTreeFormula::DefinedVariable ()

    from /home/tjrob/root/lib/libTreePlayer.so
#12 0x0623831b in TFormula::Analyze () from /home/tjrob/root/lib/libHist.so
#13 0x06243883 in TFormula::Compile () from /home/tjrob/root/lib/libHist.so
#14 0x0439c0e4 in TTreeFormula::Init ()

    from /home/tjrob/root/lib/libTreePlayer.so
#15 0x043aa329 in TTreeFormula::TTreeFormula ()

    from /home/tjrob/root/lib/libTreePlayer.so
#16 0x043ebcf9 in G__G__TreePlayer_149_0_29 ()

    from /home/tjrob/root/lib/libTreePlayer.so
#17 0x0098aa5f in Cint::G__ExceptionWrapper ()

    from /home/tjrob/root/lib/libCint.so
#18 0x00a47327 in G__call_cppfunc () from /home/tjrob/root/lib/libCint.so
#19 0x00a2c8dd in G__interpret_func () from /home/tjrob/root/lib/libCint.so
#20 0x00a1a9d4 in G__getfunction () from /home/tjrob/root/lib/libCint.so
#21 0x00a45a02 in G__new_operator () from /home/tjrob/root/lib/libCint.so
#22 0x00a02bad in G__getexpr () from /home/tjrob/root/lib/libCint.so
#23 0x00a073a5 in G__getexpr () from /home/tjrob/root/lib/libCint.so
#24 0x00a6d69b in G__exec_statement () from /home/tjrob/root/lib/libCint.so
#25 0x00a7a537 in G__exec_if () from /home/tjrob/root/lib/libCint.so
#26 0x00a70af6 in G__exec_statement () from /home/tjrob/root/lib/libCint.so
#27 0x00a2d703 in G__interpret_func () from /home/tjrob/root/lib/libCint.so
#28 0x00a1a9d4 in G__getfunction () from /home/tjrob/root/lib/libCint.so
#29 0x00a4542c in G__new_operator () from /home/tjrob/root/lib/libCint.so
#30 0x00a721f9 in G__exec_statement () from /home/tjrob/root/lib/libCint.so
#31 0x00a2d703 in G__interpret_func () from /home/tjrob/root/lib/libCint.so
#32 0x00a1a9d4 in G__getfunction () from /home/tjrob/root/lib/libCint.so
#33 0x009fecb8 in G__getitem () from /home/tjrob/root/lib/libCint.so
#34 0x00a018ff in G__getexpr () from /home/tjrob/root/lib/libCint.so
#35 0x00a6eff4 in G__exec_statement () from /home/tjrob/root/lib/libCint.so
#36 0x00a703eb in G__exec_statement () from /home/tjrob/root/lib/libCint.so
#37 0x00a2d703 in G__interpret_func () from /home/tjrob/root/lib/libCint.so
#38 0x009ab29a in G__exec_asm () from /home/tjrob/root/lib/libCint.so
#39 0x009aec7a in G__exec_bytecode () from /home/tjrob/root/lib/libCint.so
#40 0x00a2cdb3 in G__interpret_func () from /home/tjrob/root/lib/libCint.so
#41 0x00a1a9d4 in G__getfunction () from /home/tjrob/root/lib/libCint.so
#42 0x009fecb8 in G__getitem () from /home/tjrob/root/lib/libCint.so
#43 0x00a018ff in G__getexpr () from /home/tjrob/root/lib/libCint.so
#44 0x00a6eff4 in G__exec_statement () from /home/tjrob/root/lib/libCint.so
#45 0x009ecb08 in G__exec_tempfile_core () from
/home/tjrob/root/lib/libCint.so
#46 0x009ede43 in G__exec_tempfile_fp () from
/home/tjrob/root/lib/libCint.so
#47 0x00a7e7d4 in G__process_cmd () from /home/tjrob/root/lib/libCint.so
#48 0x004acf5f in TCint::ProcessLine () from /home/tjrob/root/lib/libCore.so
#49 0x0041ab66 in TApplication::ProcessLine ()

    from /home/tjrob/root/lib/libCore.so
#50 0x0045913e in TROOT::ProcessLine () from /home/tjrob/root/lib/libCore.so
#51 0x078ce63c in TGClient::ProcessLine () from
/home/tjrob/root/lib/libGui.so
#52 0x078b5705 in TGButton::HandleButton () from
/home/tjrob/root/lib/libGui.so
#53 0x07900456 in TGFrame::HandleEvent () from
/home/tjrob/root/lib/libGui.so
#54 0x078ce31a in TGClient::HandleEvent () from
/home/tjrob/root/lib/libGui.so
#55 0x078ce435 in TGClient::ProcessOneEvent ()

    from /home/tjrob/root/lib/libGui.so
#56 0x078ce4e6 in TGClient::HandleInput () from
/home/tjrob/root/lib/libGui.so
#57 0x078ce51a in TGInputHandler::Notify () from
/home/tjrob/root/lib/libGui.so
#58 0x004dc4e0 in TUnixSystem::DispatchOneEvent ()

    from /home/tjrob/root/lib/libCore.so
#59 0x004700e8 in TSystem::InnerLoop () from /home/tjrob/root/lib/libCore.so
#60 0x0046feae in TSystem::Run () from /home/tjrob/root/lib/libCore.so
#61 0x0041ac52 in TApplication::Run () from /home/tjrob/root/lib/libCore.so
#62 0x0011cfb2 in TRint::Run () from /home/tjrob/root/lib/libRint.so
#63 0x08048d36 in main ()

Root > Function Plot() busy flag cleared Function doCommand() busy flag cleared
Function createPlot() busy flag cleared
Function command() busy flag cleared Received on Fri Feb 29 2008 - 23:12:50 CET

This archive was generated by hypermail 2.2.0 : Sat Mar 01 2008 - 11:50:01 CET