-
Notifications
You must be signed in to change notification settings - Fork 95
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
Core dump while trying to access Scanner object created for an unknown scanner #1520
Comments
So the issue is with the |
Obviously, the initialisation with an Note that you now do have to call
Note that this currently causes a memory leak in your example, as it returns a bare pointer. It really should return a Looks like |
Reopening as we didn't really fix this |
Found this issue in an code base. I can replicate the issue with a modification of
using_installed_STIR
C++ example https://github.com/UCL/STIR/tree/master/examples/C%2B%2B/using_installed_STIRSetup
Fresh STIR clone, build and install, most options like ROOT, Python, OpenMP are disabled.
This all works fine, create the expected output and test interfiles are created.
Modify the
demo_create_image.cxx
file toIt produces the
Floating point exception (core dumped)
duringstir_scanner->get_num_axial_blocks()
I have a setup with a windows install and I don't get this issue. I am not sure what I am missing...
The text was updated successfully, but these errors were encountered: