Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when use edm4hep::MCParticleCollection exist() #140

Closed
ihepzhangyao opened this issue Jan 29, 2021 · 2 comments
Closed

Crash when use edm4hep::MCParticleCollection exist() #140

ihepzhangyao opened this issue Jan 29, 2021 · 2 comments

Comments

@ihepzhangyao
Copy link
Contributor

ihepzhangyao commented Jan 29, 2021

Crash when use edm4hep::MCParticleCollection exist() where MCParticleCollection is exist and can be read. Following are the error message.

 *** Break *** segmentation violation                                          
                                                                               
                                                                             
                                                                               
===========================================================                    
There was a crash.                                                             
This is the entire stack trace of all threads:                                 
===========================================================                    
#0  0x00007f3f277d846c in waitpid () from /lib64/libc.so.6                     
#1  0x00007f3f27755f62 in do_system () from /lib64/libc.so.6                   
#2  0x00007f3f18cac603 in TUnixSystem::StackTrace() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libCore.so
#3  0x00007f3f18caef25 in TUnixSystem::DispatchSignals(ESignals) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libCore.so
#4  <signal handler called>                                                    
#5  0x00007f3f18c2011d in TObjArray::Delete(char const*) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libCore.so
#6  0x00007f3eef6c0202 in TGeoVolume::~TGeoVolume() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libGeom.so
#7  0x00007f3eef6c0429 in TGeoVolume::~TGeoVolume() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libGeom.so
#8  0x00007f3f18c20128 in TObjArray::Delete(char const*) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libCore.so
#9  0x00007f3eef64cea2 in TGeoManager::~TGeoManager() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libGeom.so
#10 0x00007f3eef64d229 in TGeoManager::~TGeoManager() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libGeom.so
#11 0x00007f3f18c1a2c8 in TList::Delete(char const*) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libCore.so
#12 0x00007f3f18b5ff4f in TROOT::~TROOT() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libCore.so
#13 0x00007f3f2774cce9 in __run_exit_handlers () from /lib64/libc.so.6         
#14 0x00007f3f2774cd37 in exit () from /lib64/libc.so.6                        
#15 0x00007f3f287d16e9 in Py_Exit (sts=sts                                     
entry=6) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pylifecycle.c:2292
#16 0x00007f3f287d94b1 in handle_system_exit () at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pythonrun.c:636
#17 0x00007f3f287d990f in handle_system_exit () at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pythonrun.c:683
#18 PyErr_PrintEx (set_sys_last_vars=set_sys_last_vars                         
entry=1) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pythonrun.c:646
#19 0x00007f3f287d9a5a in PyErr_Print () at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pythonrun.c:542
#20 0x00007f3f287dab98 in PyRun_SimpleFileExFlags (fp=fp                       
entry=0x9bf6a0, filename=<optimized out>, closeit=closeit                      
entry=1, flags=flags                                                           
entry=0x7ffd6eef09fc) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pythonrun.c:435
#21 0x00007f3f287dae43 in PyRun_AnyFileExFlags (fp=fp                          
entry=0x9bf6a0, filename=<optimized out>, closeit=closeit                      
entry=1, flags=flags                                                           
entry=0x7ffd6eef09fc) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pythonrun.c:84
#22 0x00007f3f287f9c82 in pymain_run_file (p_cf=0x7ffd6eef09fc, filename=<optimized out>, fp=0x9bf6a0) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Modules/main.c:428
#23 pymain_run_filename (cf=0x7ffd6eef09fc, pymain=0x7ffd6eef0ad0) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Modules/main.c:1607
#24 pymain_run_python (pymain=0x7ffd6eef0ad0) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Modules/main.c:2868
#25 pymain_main (pymain=pymain
entry=0x7ffd6eef0ad0) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Modules/main.c:3029
#26 0x00007f3f287f9ec9 in _Py_UnixMain (argc=<optimized out>, argv=<optimized out>) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Modules/main.c:3064
#27 0x00007f3f27735555 in __libc_start_main () from /lib64/libc.so.6           
#28 0x00000000004006ce in _start ()                                            
===========================================================                    
                                                                               
                                                                               
The lines below might hint at the cause of the crash.                          
You may get help by asking at the ROOT forum http://root.cern.ch/forum         
Only if you are really convinced it is a bug in ROOT then please submit a      
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  0x00007f3f18c2011d in TObjArray::Delete(char const*) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libCore.so
#6  0x00007f3eef6c0202 in TGeoVolume::~TGeoVolume() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libGeom.so
#7  0x00007f3eef6c0429 in TGeoVolume::~TGeoVolume() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libGeom.so
#8  0x00007f3f18c20128 in TObjArray::Delete(char const*) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libCore.so
#9  0x00007f3eef64cea2 in TGeoManager::~TGeoManager() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libGeom.so
#10 0x00007f3eef64d229 in TGeoManager::~TGeoManager() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libGeom.so
#11 0x00007f3f18c1a2c8 in TList::Delete(char const*) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libCore.so
#12 0x00007f3f18b5ff4f in TROOT::~TROOT() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libCore.so
#13 0x00007f3f2774cce9 in __run_exit_handlers () from /lib64/libc.so.6         
#14 0x00007f3f2774cd37 in exit () from /lib64/libc.so.6                        
#15 0x00007f3f287d16e9 in Py_Exit (sts=sts                                     
entry=6) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pylifecycle.c:2292
#16 0x00007f3f287d94b1 in handle_system_exit () at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pythonrun.c:636
#17 0x00007f3f287d990f in handle_system_exit () at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pythonrun.c:683
#18 PyErr_PrintEx (set_sys_last_vars=set_sys_last_vars                         
entry=1) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pythonrun.c:646
#19 0x00007f3f287d9a5a in PyErr_Print () at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pythonrun.c:542
#20 0x00007f3f287dab98 in PyRun_SimpleFileExFlags (fp=fp                       
entry=0x9bf6a0, filename=<optimized out>, closeit=closeit                      
entry=1, flags=flags                                                           
entry=0x7ffd6eef09fc) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pythonrun.c:435
#21 0x00007f3f287dae43 in PyRun_AnyFileExFlags (fp=fp                          
entry=0x9bf6a0, filename=<optimized out>, closeit=closeit                      
entry=1, flags=flags                                                           
entry=0x7ffd6eef09fc) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Python/pythonrun.c:84
#22 0x00007f3f287f9c82 in pymain_run_file (p_cf=0x7ffd6eef09fc, filename=<optimized out>, fp=0x9bf6a0) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Modules/main.c:428
#23 pymain_run_filename (cf=0x7ffd6eef09fc, pymain=0x7ffd6eef0ad0) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Modules/main.c:1607
#24 pymain_run_python (pymain=0x7ffd6eef0ad0) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Modules/main.c:2868
#25 pymain_main (pymain=pymain                                                 
entry=0x7ffd6eef0ad0) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Modules/main.c:3029
#26 0x00007f3f287f9ec9 in _Py_UnixMain (argc=<optimized out>, argv=<optimized out>) at /workspace/build/externals/Python-3.7.6/src/Python/3.7.6/Modules/main.c:3064
#27 0x00007f3f27735555 in __libc_start_main () from /lib64/libc.so.6           
#28 0x00000000004006ce in _start ()                                            
===========================================================
@mirguest
Copy link
Member

mirguest commented Feb 4, 2021

Hi @ihepzhangyao ,
In order to let other people help you, could you post the details (scripts and input) how to repeat your problem?
Tao

@mirguest
Copy link
Member

mirguest commented Feb 8, 2021

Hi @zoujh ,
Could you have a look at this problem?
Tao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants