Skip to content

geant4 11.2.2 mutex lock failure bug #44

Description

@tkittel

When upgrading to geant4 11.2.2 we got hit by
https://geant4-forum.web.cern.ch/t/mutex-lock-failure/12772 :

====>
1097
====> First 100 lines from sb_g4mcpltests_testmcplwrite/refdiff.log:
1098
====>
1099
858a859,6106
1100
> Non-critical error: mutex lock failure in ~G4Cache<P15G4HadFinalState>. 
1101
> If the RunManagerKernel has been deleted, it failed to delete an allocated resource
1102
> and this destructor is being called after the statics were destroyed.

The workaround is to move to G4MTRunManager with a single thread. I wasted a few days trying to do that, before finally aborting the effort since NCrystal does not support it, even for a single thread.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions