Skip to content

Multiple projectors with SPECTUBMatrix cause double free error #1183

@samdporter

Description

@samdporter

I think there's an error in freeing memory in the destructor for the ProjectorByBinPairUsingProjMatrixByBin class when used with the SPECTUB class

I'll include some minimal examples as well as valgrind output below.

Created a new issue here as opposed to SIRF issue #1101 as it's definitely a STIR issue.

I've tried recompiling SIRF/STIR without OpenMP as suggested in the issue above, but it hasn't made any difference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions