[HepMCVisual] Seg fault when testing HepMCBrowser

Christian Ohm ohm at physto.se
Mon Jul 13 23:08:22 BST 2009


Hi Sebastian,

Sorry to complain again, but I'm having trouble running HepMCBrowser  
in 15.3.0 also.. It starts just fine but when I try to go to the first  
event (or any other event for that matter) nothing happens and I get  
the below error message in the terminal window. I guess something with  
the seek mechanism has changed recently..?

Cheers,
Christian

athena> Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/afs/cern.ch/atlas/software/builds/AtlasAnalysis/15.3.0/ 
InstallArea/python/HepMCBrowser/HepMCBrowserFrame.py", line 583, in  
seekNext
     self.seekByEntryNumber(self.getCurEntry()+1)
   File "/afs/cern.ch/atlas/software/builds/AtlasAnalysis/15.3.0/ 
InstallArea/python/HepMCBrowser/HepMCBrowserFrame.py", line 593, in  
seekByEntryNumber
     if entrynr > self.getNEntries():
   File "/afs/cern.ch/atlas/software/builds/AtlasAnalysis/15.3.0/ 
InstallArea/python/HepMCBrowser/HepMCBrowserFrame.py", line 560, in  
getNEntries
     end = expSeekFwd(start)
   File "/afs/cern.ch/atlas/software/builds/AtlasAnalysis/15.3.0/ 
InstallArea/python/HepMCBrowser/HepMCBrowserFrame.py", line 541, in  
expSeekFwd
     while self.seek(start+dStep).isSuccess() : dStep *=2
   File "/afs/cern.ch/atlas/software/builds/AtlasAnalysis/15.3.0/ 
InstallArea/python/HepMCBrowser/HepMCBrowserFrame.py", line 472, in seek
     retval = theApp.seek(entrynr)
   File "/afs/cern.ch/atlas/software/builds/AtlasCore/15.3.0/ 
InstallArea/python/AthenaServices/PyAthenaEventLoopMgr.py", line 18,  
in seek
     raise DeprecationWarning( "seek removed from application mgr, use  
the event selector instead" )
DeprecationWarning: seek removed from application mgr, use the event  
selector instead


On Mar 23, 2009, at 1:13 PM, Sebastian BĂśser wrote:

> Hi Christian,
>
> your critique was fair enough as indeed for 14.2.20.3 I didn't work ;)
>
> These are now a regular CMT package, located under graphics/ 
> HepMCVisual
> and graphics/HepMCBrowser, so you can use the ususal cmt co ...
> But in release 15, it should be included, so the only thing you  
> probably
> want to do (which I admit is not written anywhere):
>
> get_files -jo HepMCBrowser_jobOptions.py
>
> and adapt it for your input file.
>
> Cheers, Sebastian
>
> On Mon, 23 Mar 2009, Christian Ohm wrote:
>
>> Hi Sebastian,
>>
>> Sorry for claiming HepMCVisual doesn't work at today's poster  
>> session,
>> I felt a little bad afterwards.. I tried it under 14.2.20.3 some time
>> ago, and had trouble (see below). However, I tested it now in 15.0.0
>> and it works! As I said, my impression of this package is very
>> positive. Tools like this definitely help to increase my  
>> understanding
>> of pp collisions and the project is very well documented which,
>> unfortunately, is not very common in our field...
>>
>> Are the packages also available in a SVN/CVS repository at CERN for
>> easier installation?
>>
>> Best regards and thanks for these packages!
>>
>> Christian
>>
>>
>>
>> On Feb 6, 2009, at 1:05 AM, Christian Ohm wrote:
>>
>>> Hi,
>>>
>>> I've always wanted something like HepMCVisual/HepMCBrowser so I was
>>> excited to test it when I heard about it. I installed and compiled
>>> both packages in 14.2.20.3 and everything seemed fine. I made a soft
>>> link to an aod and tried to run the example job options according to
>>> the instructions. Unfortunately I get a seg fault, see full log
>>> below. Any ideas what went wrong?
>>>
>>> Cheers,
>>> Christian
>>>
>>>
>>> [lxplus243] /afs/cern.ch/user/c/cohm/testarea/14.2.20.3/
>>> PhysicsAnalysis/AnalysisCommon/UserAnalysis/run > athena -i
>>> HepMCBrowser_JobOptions.py
>>> Py:ConfigurableDb    INFO Read module info for 3693 configurables
>>> from 11 genConfDb files
>>> Py:ConfigurableDb    INFO No duplicates have been found: that's  
>>> good !
>>> Py:Athena            INFO including file "AthenaCommon/Bootstrap.py"
>>> Py:Athena            INFO including file "AthenaCommon/
>>> Atlas.UnixStandardJob.py"
>>> Py:Athena            INFO including file  
>>> "HepMCBrowser_JobOptions.py"
>>> Py:Athena            INFO => Seeking enabled.
>>> TUnixSystem::SetDisplay:0: RuntimeWarning: DISPLAY not set, setting
>>> it to 168-203.0-85.cust.bluewin.ch:0.0
>>> ApplicationMgr       INFO Updating
>>> ROOT::Reflex::PluginService::SetDebug(level) to level=0
>>> ApplicationMgr    SUCCESS
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> = 
>>> = 
>>> ====================================================================
>>>                                                  Welcome to
>>> ApplicationMgr $Revision: 1.72 $
>>>                                         running on
>>> lxplus243.cern.ch on Fri Feb  6 00:57:21 2009
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> = 
>>> = 
>>> ====================================================================
>>> ApplicationMgr       INFO Successfully loaded modules :  
>>> AthenaServices
>>> ApplicationMgr       INFO Application Manager Configured  
>>> successfully
>>> ApplicationMgr       INFO Updating
>>> ROOT::Reflex::PluginService::SetDebug(level) to level=0
>>> StatusCodeSvc        INFO initialize
>>> PyAthenaEventLo...   INFO Initializing PyAthenaEventLoopMgr -
>>> package version AthenaServices-01-33-06
>>> WARNING: $POOL_CATALOG is not defined
>>> using default `xmlcatalog_file:PoolFileCatalog.xml'
>>> XMLFileCatalog: level[Info] Connecting to the catalog
>>> PoolXMLFileCatalog: level[Info] Xerces-c initialization Number 0
>>> Note: (file "(tmpfile)", line 2) File "vector" already loaded
>>> PoolSvc           WARNING File is not in Catalog or does not exist.
>>> PoolSvc           WARNING Do not allow this ERROR to propagate to
>>> physics jobs.
>>> ERROR (pool):
>>> POOL> Unknown storage type requested:
>>> SeekableCollection  Warning Cannot find persistency storage type.
>>> Trying ROOT_StorageType
>>> AOD.pool.root   Always Root file version:51800
>>> AOD.pool.root   Always Root file version:51800
>>> PoolSvc           WARNING File is not in Catalog or does not exist.
>>> PoolSvc           WARNING Do not allow this ERROR to propagate to
>>> physics jobs.
>>> ERROR (pool):
>>> POOL> Unknown storage type requested:
>>> SeekableCollection  Warning Cannot find persistency storage type.
>>> Trying ROOT_StorageType
>>> AOD.pool.root   Always Root file version:51800
>>> AOD.pool.root   Always Root file version:51800
>>> Error in <TGVScrollBar::TGVScrollBar>: arrow_*.xpm not found
>>> -------------------------------------------------------------------------------------
>>> Core dump from CoreDumpSvc at Fri Feb  6 00:57:33 2009
>>>
>>> Caught signal 11(Segmentation fault). Details:
>>> errno = 0, code = 1 (address not mapped to object)
>>> pid   = 0, uid = 32
>>> value = (14, 0xe)
>>> addr  = 0
>>>
>>> Current algorithm: <NONE>
>>> Algorithm stack: <EMPTY>
>>> -------------------------------------------------------------------------------------
>>>
>>> *** Break *** segmentation violation
>>> Using host libthread_db library "/lib64/tls/libthread_db.so.1".
>>> Attaching to program: /proc/12388/exe, process 12388
>>> [Thread debugging using libthread_db enabled]
>>> [New Thread 4159502016 (LWP 12388)]
>>> 0xffffe410 in __kernel_vsyscall ()
>>> #1  0x00622f13 in __waitpid_nocancel () from /lib/tls/libc.so.6
>>> #2  0x005cc7b9 in do_system () from /lib/tls/libc.so.6
>>> #3  0x0070b98d in system () from /lib/tls/libpthread.so.0
>>> #4  0xf741badf in TUnixSystem::Exec () from /afs/cern.ch/atlas/
>>> offline/external/LCGCMT/LCGCMT_54g/InstallArea/i686-slc4-gcc34-opt/
>>> lib/libCore.so
>>> #5  0xf74214ed in TUnixSystem::StackTrace () from /afs/cern.ch/ 
>>> atlas/
>>> offline/external/LCGCMT/LCGCMT_54g/InstallArea/i686-slc4-gcc34-opt/
>>> lib/libCore.so
>>> #6  0xf741e1aa in TUnixSystem::DispatchSignals () from /afs/cern.ch/
>>> atlas/offline/external/LCGCMT/LCGCMT_54g/InstallArea/i686-slc4- 
>>> gcc34-
>>> opt/lib/libCore.so
>>> #7  0xf741e238 in SigHandler () from /afs/cern.ch/atlas/offline/
>>> external/LCGCMT/LCGCMT_54g/InstallArea/i686-slc4-gcc34-opt/lib/
>>> libCore.so
>>> #8  0xf741d485 in sighandler () from /afs/cern.ch/atlas/offline/
>>> external/LCGCMT/LCGCMT_54g/InstallArea/i686-slc4-gcc34-opt/lib/
>>> libCore.so
>>> #9  0xf5ed4a25 in CoreDumpSvcHandler::action ()
>>>  from /afs/cern.ch/atlas/software/builds/AtlasCore/14.2.20/
>>> InstallArea/i686-slc4-gcc34-opt/lib/libAthenaServices.so
>>> #10 <signal handler called>
>>> #11 0xf51d28c1 in TGVScrollBar::SetPosition () from /afs/cern.ch/sw/
>>> lcg/external/root/5.18.00d/slc4_ia32_gcc34/root/lib/libGui.so
>>> #12 0xf5199623 in TGListBox::Layout () from /afs/cern.ch/sw/lcg/
>>> external/root/5.18.00d/slc4_ia32_gcc34/root/lib/libGui.so
>>> #13 0xf517172f in TGFrame::Resize () from /afs/cern.ch/sw/lcg/
>>> external/root/5.18.00d/slc4_ia32_gcc34/root/lib/libGui.so
>>> #14 0xf519932b in TGListBox::Resize () from /afs/cern.ch/sw/lcg/
>>> external/root/5.18.00d/slc4_ia32_gcc34/root/lib/libGui.so
>>> #15 0xf514bc8d in TGComboBox::Init () from /afs/cern.ch/sw/lcg/
>>> external/root/5.18.00d/slc4_ia32_gcc34/root/lib/libGui.so
>>> #16 0xf514c4db in TGComboBox::TGComboBox () from /afs/cern.ch/sw/ 
>>> lcg/
>>> external/root/5.18.00d/slc4_ia32_gcc34/root/lib/libGui.so
>>> #17 0xf53357dd in G__G__Gui2_241_0_4 () from /afs/cern.ch/sw/lcg/
>>> external/root/5.18.00d/slc4_ia32_gcc34/root/lib/libGui.so
>>> #18 0xf6d5ef14 in Cint::G__CallFunc::Execute () from /afs/cern.ch/
>>> atlas/offline/external/LCGCMT/LCGCMT_54g/InstallArea/i686-slc4- 
>>> gcc34-
>>> opt/lib/libCint.so
>>> #19 0xf78bddfa in PyROOT::TConstructorExecutor::Execute () from / 
>>> afs/
>>> cern.ch/sw/lcg/external/root/5.18.00d/slc4_ia32_gcc34/root/lib/
>>> libPyROOT.so
>>> #20 0xf78c2c04 in PyROOT::TMethodHolder<PyROOT::TScopeAdapter,
>>> PyROOT::TMemberAdapter>::CallSafe ()
>>>  from /afs/cern.ch/sw/lcg/external/root/5.18.00d/slc4_ia32_gcc34/
>>> root/lib/libPyROOT.so
>>> #21 0xf78c2dd8 in PyROOT::TMethodHolder<PyROOT::TScopeAdapter,
>>> PyROOT::TMemberAdapter>::Execute ()
>>>  from /afs/cern.ch/sw/lcg/external/root/5.18.00d/slc4_ia32_gcc34/
>>> root/lib/libPyROOT.so
>>> #22 0xf78b53c8 in PyROOT::TConstructorHolder<PyROOT::TScopeAdapter,
>>> PyROOT::TMemberAdapter>::operator() ()
>>>  from /afs/cern.ch/sw/lcg/external/root/5.18.00d/slc4_ia32_gcc34/
>>> root/lib/libPyROOT.so
>>> #23 0xf78ca877 in PyROOT::(anonymous namespace)::mp_call () from /
>>> afs/cern.ch/sw/lcg/external/root/5.18.00d/slc4_ia32_gcc34/root/lib/
>>> libPyROOT.so
>>> #24 0xf7ef769c in PyObject_Call (func=0x10, arg=0xf4e63b4c, kw=0x0)
>>> at Objects/abstract.c:1860
>>> #25 0xf7f414e4 in slot_tp_init (self=0xf4e69534, args=0xf4e63b4c,
>>> kwds=0x0) at Objects/typeobject.c:4819
>>> #26 0xf7f3a57f in type_call (type=Variable "type" is not available.
>>> ) at Objects/typeobject.c:436
>>> #27 0xf7ef769c in PyObject_Call (func=0x10, arg=0xf4e63b4c, kw=0x0)
>>> at Objects/abstract.c:1860
>>> #28 0xf7f6b654 in PyEval_EvalFrameEx (f=0x99c3144, throwflag=0) at
>>> Python/ceval.c:3777
>>> #29 0xf7f71125 in PyEval_EvalFrameEx (f=0x99c2c1c, throwflag=0) at
>>> Python/ceval.c:3652
>>> #30 0xf7f71865 in PyEval_EvalCodeEx (co=0xf7a331d0,
>>> globals=0xf5fb5714, locals=0x0, args=0xf4e63818, argcount=1,
>>> kws=0x0, kwcount=0, defs=0x0, defcount=0,
>>>   closure=0x0) at Python/ceval.c:2833
>>> #31 0xf7f15a70 in function_call (func=0xf5fbaa3c, arg=0xf4e6380c,
>>> kw=0x0) at Objects/funcobject.c:517
>>> #32 0xf7ef769c in PyObject_Call (func=0x10, arg=0xf4e6380c, kw=0x0)
>>> at Objects/abstract.c:1860
>>> #33 0xf7f018ad in instancemethod_call (func=0xf5fd5f04,
>>> arg=0xf4e6380c, kw=0x0) at Objects/classobject.c:2493
>>> #34 0xf7ef769c in PyObject_Call (func=0x10, arg=0xf7e8f02c, kw=0x0)
>>> at Objects/abstract.c:1860
>>> #35 0xf7ef79e1 in PyObject_CallMethod (o=0xf7a2eecc, name=0xf4421ca5
>>> "sysInitialize", format=0xf4421c91 "") at Objects/abstract.c:1891
>>> #36 0xf441d6b2 in PyAthena::callPyMethod () from /afs/cern.ch/atlas/
>>> software/builds/AtlasCore/14.2.20/InstallArea/i686-slc4-gcc34-opt/
>>> lib/libAthenaPython.so
>>> #37 0xf4410ee0 in PyAthena::Alg::initialize ()
>>>  from /afs/cern.ch/atlas/software/builds/AtlasCore/14.2.20/
>>> InstallArea/i686-slc4-gcc34-opt/lib/libAthenaPython.so
>>> #38 0xf5bc66ae in Algorithm::sysInitialize ()
>>>  from /afs/cern.ch/atlas/offline/external/GAUDI/v19r9-LCG54g/
>>> InstallArea/i686-slc4-gcc34-opt/lib/libGaudiKernel.so
>>> #39 0xf44122a2 in PyAthena::Alg::sysInitialize ()
>>>  from /afs/cern.ch/atlas/software/builds/AtlasCore/14.2.20/
>>> InstallArea/i686-slc4-gcc34-opt/lib/libAthenaPython.so
>>> #40 0xf5c1f624 in MinimalEventLoopMgr::initialize ()
>>>  from /afs/cern.ch/atlas/offline/external/GAUDI/v19r9-LCG54g/
>>> InstallArea/i686-slc4-gcc34-opt/lib/libGaudiKernel.so
>>> #41 0xf5e84b02 in AthenaEventLoopMgr::initialize ()
>>>  from /afs/cern.ch/atlas/software/builds/AtlasCore/14.2.20/
>>> InstallArea/i686-slc4-gcc34-opt/lib/libAthenaServices.so
>>> #42 0xf5d5c805 in Service::sysInitialize () from /afs/cern.ch/atlas/
>>> offline/external/GAUDI/v19r9-LCG54g/InstallArea/i686-slc4-gcc34-opt/
>>> lib/libGaudiKernel.so
>>> #43 0xf4873beb in ServiceManager::initializeServices ()
>>>  from /afs/cern.ch/atlas/offline/external/GAUDI/v19r9-LCG54g/
>>> InstallArea/i686-slc4-gcc34-opt/lib/libGaudiSvc.so
>>> #44 0xf4682311 in ApplicationMgr::initialize ()
>>>  from /afs/cern.ch/atlas/offline/external/GAUDI/v19r9-LCG54g/
>>> InstallArea/i686-slc4-gcc34-opt/lib/libGaudiSvc.so
>>> #45 0xf4ed68e7 in (anonymous namespace)::method_4216 ()
>>>  from /afs/cern.ch/atlas/offline/external/GAUDI/v19r9-LCG54g/
>>> InstallArea/i686-slc4-gcc34-opt/lib/libGaudiKernelDict.so
>>> #46 0xf5f9326c in ROOT::Cintex::Method_stub_with_context () from /
>>> afs/cern.ch/sw/lcg/external/root/5.18.00d/slc4_ia32_gcc34/root/lib/
>>> libCintex.so
>>> #47 0x097f90ae in ?? ()
>>> #48 0x097f9000 in ?? ()
>>> #49 0x09969cc4 in ?? ()
>>> #50 0x00000000 in ?? ()
>>> Shortened traceback (most recent user call last):
>>> File "/afs/cern.ch/atlas/software/builds/AtlasCore/14.2.20/
>>> InstallArea/share/bin/athena.py", line 386, in <module>
>>>   include( script )
>>> File "./HepMCBrowser_JobOptions.py", line 58, in <module>
>>>   if theApp.initialize().isFailure():
>>> File "/afs/cern.ch/atlas/offline/external/GAUDI/v19r9-LCG54g/
>>> InstallArea/python/GaudiPython/Bindings.py", line 239, in initialize
>>>   return self._isvc.initialize()
>>> SystemError: problem in C++; program state has been reset
>>> athena>
>>> ApplicationMgr      FATAL finalize: Invalid state "Configured"
>>> ApplicationMgr       INFO Application Manager Terminated  
>>> successfully
>>> Py:Athena            INFO leaving with code 32: "exception raised
>>> during initialization"
>>>
>>
>> _______________________________________________
>> HepMCVisual mailing list
>> HepMCVisual at projects.hepforge.org
>> http://www.hepforge.org/lists/listinfo/hepmcvisual
>>
>
> -----------------------------------------------
>
>      \|/     Sebastian Boeser
>     /  ~~
>     @--OO    University College London
>     \   ?    Gower Street
>      \  v    WC1E 6BT London
>       ||     Tel.: +44/(0)20/7679 1376
>              sboeser at hep.ucl.ac.uk
> _______________________________________________
> HepMCVisual mailing list
> HepMCVisual at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/hepmcvisual
>



More information about the HepMCVisual mailing list