Exception thrown during hadronization when using the shared instance to Pythia8 with nthreads > 1
The following exception is thrown when using the shared interface to Pythia8 with nthreads > 1.
It pops up when calling forceHadronLevel()
from Pythia8.
It is not thrown when using nthreads = 1 or thread-local interface in Pythia8.
FYI @gcorti
How to reproduce: run any DecFile with GaussGeneration().SampleGenerationTool = "SignalRepeatedHadronization"
Generation FATAL Standard std::exception is caught
Generation ERROR vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
Generation FATAL Standard std::exception is caught
Generation ERROR vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
AlgTask FATAL .executeEvent(): Standard std::exception thrown by Generation
AlgTask ERROR vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
AlgTask FATAL .executeEvent(): Standard std::exception thrown by Generation
AlgTask ERROR vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
AvalancheSchedu... ERROR *** Stall detected, event context: s: 0 e: 2
AvalancheSchedu... ERROR Event 2 on slot 0 failed
AvalancheSchedu... INFO Dumping scheduler state