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

geant4 11.2.2 mutex lock failure bug #44

Open
tkittel opened this issue Aug 12, 2024 · 1 comment
Open

geant4 11.2.2 mutex lock failure bug #44

tkittel opened this issue Aug 12, 2024 · 1 comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file geant4 high priority ncrystal

Comments

@tkittel
Copy link
Member

tkittel commented Aug 12, 2024

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.

@tkittel tkittel added bug Something isn't working high priority ncrystal dependencies Pull requests that update a dependency file geant4 labels Aug 12, 2024
@tkittel
Copy link
Member Author

tkittel commented Aug 12, 2024

Downgrading to 11.1.3 again...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file geant4 high priority ncrystal
Projects
None yet
Development

No branches or pull requests

1 participant