Skip to content

Using invalidated iterator in cufft-commit.cpp #726

@Andrej-Peplinski-HBK

Description

@Andrej-Peplinski-HBK

Summary

The problem is that the a_min iterator is being used after it got invalidated through the stride_vecs.vec_a.erase(a_min); call (see:

if (a_min - stride_vecs.vec_a.begin() != rank) {
)

Version

v0.9 git tag

Environment

Windows 11.

Steps to reproduce

Code review

Observed behavior

Observed assertion during debugging.

Expected behavior

Document behavior you expect.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions