Skip to content

Streaming Read: Segfault on Close w/o Explicit Flush #994

Open
@eschnett

Description

@eschnett

I am trying to read data from a file. I create a Series and the iteration via readIters = series->readIterations() and iter = *readIters.begin(). I schedule the reads via loadChunk, passing pointers to AMReX-allocated data structures.

I then tried to perform the reads via iter.close(). This lead to a segfault.

I can avoid the segfault by calling series->flush() before closing the iteration.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions