-
Notifications
You must be signed in to change notification settings - Fork 267
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
G4Exception : Cache001 #561
Comments
Hi, |
Hello, thank you for your quick answer. I don't have Multithreading enabeld. I know that the number of Coincidences is lower than the number of Singles but find it weird that the eventIDs on the Coincidences suddenly stop. It seems like the CacheError is preventing more Coincidences to be written. |
Can you make a short and simplified version of your simulation, which still results in a crash, and then share the scripts for that simulation with us so that others can try to reproduce the crash? Also please specify exactly which version of GATE you are using, with which Geant4 release. Info about the OS (e.g. which version of Linux or MacOSX) could also be important. I think it could be useful to run that example in a debugger (e.g. "gdb") to find out where and why this crash happens. |
Hi, I played around with my digitizer and figured out that adding Time Resolution removes the error:
I still have the problem with the eventIDS in the Coincidences file, but I will first do some more debugging on my side and try to produce a simplified version of the script. |
I figured the problem out: I was testing it with too few primaries. If I increase the number of primaries, the ratio of Coincidences vs. Singles becomes reasonable. Thanks for your help! |
It's nice that increasing the number of primaries made your crash go away, but it's still not nice that the code crashes with a lower number of primaries. That is still a bug that needs to be fixed, I think. |
The crash was fixed by adding the timeResolution steps. |
Hi, sorry to be late on this, but indeed, I already experienced such a crash with a low number of particles. A that time, I think a patch was done (#267) but it seems it was not enough. I think we should keep the issue open and try to correct the bug. It must not crash in this case. @chris-clem do you mind sharing the macro files that lead to a crash ? thanks ! |
This comportment of Coincidence Sorter is known: it is the matter of the buffer used for Coincidence Sorter. |
Hi Chris, I tried to reproduce your problem but without any success. I am not sure that it is Coincidence Sorter problem. Cheers, |
Hi,
I am getting the following error at the end of my simulation:
Do you know where it could come from? It might be related to the Coincidence sorting as I get many more Singles than Coincidences, e.g. the eventIDs go to 250 in the Singles file, they only go to 30 in the Coincidences file.
Best
Christoph
The text was updated successfully, but these errors were encountered: