Fork me on GitHub

Opened 4 years ago

Closed 4 years ago

#1494 closed Bug (fixed)

Error in <TList::Clear>: A list is accessing an object (0x3e28b80) already deleted (list name = Browsables)

Reported by: Viesturs Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

I installed a completely clean Delphes on lxplus

When I test it as outlined in https://github.com/delphes/delphes

./DelphesSTDHEP cards/delphes_card_CMS.tcl delphes_output.root z_ee.hep

I get an error:

  • Reading z_ee.hep

################################################################ (100.00%)
Exiting...
Error in <TList::Clear>: A list is accessing an object (0x3e28b80) already deleted (list name = Browsables)

What is wrong?

Change History (4)

comment:1 by Viesturs, 4 years ago

This cause of this problem starts with adding folder to gROOT->GetListOfBrowsables():

https://github.com/delphes/delphes/blob/master/modules/Delphes.cc#L72

then by deleting folder

https://github.com/delphes/delphes/blob/master/modules/Delphes.cc#L83

and then by Root exiting the executable and deleting the folder that is already deleted.
One needs to remove folder from gROOT->GetListOfBrowsables() together with deleting it.

Last edited 4 years ago by Viesturs (previous) (diff)

comment:2 by Pavel Demin, 4 years ago

Thank you very much for finding the source of this problem!

I've just committed the fix to the repository:
06630eff38471a2c11e0d2dcafb6d4398120e7f3/git

comment:3 by Pavel Demin, 4 years ago

The fix is in the new release (3.5.0).

comment:4 by Pavel Demin, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.