Streaming Read: Segfault on Close w/o Explicit Flush
Open
bug
internal
- Dominant language
- C++
- Stars
- 161
- Forks
- 59
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 7
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.