Unrecognizable error

Hi,

I’ve just realized that my issue is just the same as this:

but the solution Lorenzo provides, the

return true;

at the end of the G4bool in the SensitiveDetector does not work for me, I already have that. The same line that was giving error to him is the one that is making my program crash with aboves output, do you know what may be the issue here?

Thanks in advance!