[MacPorts] #44073: root6: .demo doesn't work

MacPorts noreply at macports.org
Wed Jun 18 15:18:48 PDT 2014


#44073: root6: .demo doesn't work
-------------------------+----------------------
  Reporter:  szhorvat@…  |      Owner:  jonesc@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  root6       |
-------------------------+----------------------

Comment (by mojca@…):

 Just to make it complete, here's what I get on 10.6 (YAY!!!):

 {{{
 root [1] new TBrowser();
 root [2] .demo
 /opt/local/libexec/root6/share/doc/root/tutorials/demos.C:10:12: error:
 redefinition of 'dirName'
    TString dirName =
 gSystem->UnixPathName(gInterpreter->GetCurrentMacroName());
            ^
 /opt/local/libexec/root6/share/doc/root/tutorials/demos.C:10:12: note:
 previous definition is here
    TString dirName =
 gSystem->UnixPathName(gInterpreter->GetCurrentMacroName());
            ^
 root [3]
 }}}

 If I go to `/opt/local/libexec/root6/lib` then it works, but `hsimple`
 would crash with:

 {{{
 Warning in <TCanvas::Constructor>: Deleting canvas with same name: nut
 you must run the script in a directory with write access
 (class TFile *) 0x0

  *** Break *** segmentation violation



 ===========================================================
 There was a crash.
 This is the entire stack trace of all threads:
 ===========================================================

 Thread 1 (process 51775):
 #0  0x00007fff881d4b28 in wait4 ()
 #1  0x00007fff881e90e6 in system ()
 #2  0x000000010017415a in TUnixSystem::StackTrace ()
 #3  0x0000000100177479 in TUnixSystem::DispatchSignals ()
 #4  <signal handler called>
 #5  0x0000000100c6bfa7 in ?? ()
 #6  0x0000000100c6e348 in ?? ()
 #7  0x0000000100c6e60f in ?? ()
 #8  0x0000000100c6e38d in ?? ()
 #9  0x00000001018d6ba6 in cling::IncrementalExecutor::executeFunction ()
 #10 0x00000001018df77d in cling::Interpreter::RunFunction ()
 #11 0x00000001018dec2c in cling::Interpreter::EvaluateInternal ()
 #12 0x00000001018df196 in cling::Interpreter::echo ()
 #13 0x0000000101925909 in cling::MetaSema::actOnxCommand ()
 #14 0x000000010191e185 in cling::MetaParser::isXCommand ()
 #15 0x000000010191d801 in cling::MetaParser::isCommand ()
 #16 0x000000010191d60a in cling::MetaParser::isMetaCommand ()
 #17 0x0000000101922d07 in cling::MetaProcessor::process ()
 #18 0x0000000101826694 in TCling::ProcessLine ()
 #19 0x000000010006c640 in TApplication::ExecuteFile ()
 #20 0x000000010006b63c in TApplication::ProcessLine ()
 #21 0x000000010c34a8b8 in TControlBarButton::Action ()
 #22 0x000000010dbaa9fc in TRootControlBar::ProcessMessage ()
 #23 0x000000010dae503f in TGMainFrame::HandleClientMessage ()
 #24 0x000000010dae24cb in TGFrame::HandleEvent ()
 #25 0x000000010dab2896 in TGClient::HandleEvent ()
 #26 0x000000010dab274a in TGClient::ProcessOneEvent ()
 #27 0x000000010dab135a in TGInputHandler::Notify ()
 #28 0x0000000100170ccc in TUnixSystem::DispatchOneEvent ()
 #29 0x00000001000c92ba in TSystem::InnerLoop ()
 #30 0x00000001000c90fe in TSystem::Run ()
 #31 0x000000010006c844 in TApplication::Run ()
 #32 0x0000000100522d68 in TRint::Run ()
 #33 0x0000000100002e1f in main ()
 ===========================================================


 The lines below might hint at the cause of the crash.
 If they do not help you then please submit a bug report at
 http://root.cern.ch/bugs. Please post the ENTIRE stack trace
 from above as an attachment in addition to anything else
 that might help us fixing this issue.
 ===========================================================
 #5  0x0000000100c6bfa7 in ?? ()
 #6  0x0000000100c6e348 in ?? ()
 #7  0x0000000100c6e60f in ?? ()
 #8  0x0000000100c6e38d in ?? ()
 #9  0x00000001018d6ba6 in cling::IncrementalExecutor::executeFunction ()
 #10 0x00000001018df77d in cling::Interpreter::RunFunction ()
 #11 0x00000001018dec2c in cling::Interpreter::EvaluateInternal ()
 #12 0x00000001018df196 in cling::Interpreter::echo ()
 #13 0x0000000101925909 in cling::MetaSema::actOnxCommand ()
 #14 0x000000010191e185 in cling::MetaParser::isXCommand ()
 #15 0x000000010191d801 in cling::MetaParser::isCommand ()
 #16 0x000000010191d60a in cling::MetaParser::isMetaCommand ()
 #17 0x0000000101922d07 in cling::MetaProcessor::process ()
 ===========================================================
 }}}

 `hsum`

 {{{
 Warning in <TCanvas::Constructor>: Deleting canvas with same name: c1
 Warning in <TROOT::Append>: Replacing existing TH1: total (Potential
 memory leak).
 Warning in <TROOT::Append>: Replacing existing TH1: main (Potential memory
 leak).
 Warning in <TROOT::Append>: Replacing existing TH1: s1 (Potential memory
 leak).
 Warning in <TROOT::Append>: Replacing existing TH1: s2 (Potential memory
 leak).
 hsum      : Real Time =  38.47 seconds Cpu Time =   0.63 seconds
 }}}

 and lots of crashing with different demos.

 These were example I meant with "`port test`", even though it's kind of
 difficult to test graphical examples.

-- 
Ticket URL: <https://trac.macports.org/ticket/44073#comment:21>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list