Skip to content

Stan fails silently on CSV Write failure #2536

@aaronjg

Description

@aaronjg

Summary:

When the disk is full, stan continues to run without outputting data to the CSV file. It appears that stream_writer does not check for errors after writing to the file

Reproducible Steps:

I don't have a good way to reproduce this yet, but there may be a way to simulate out of disk space issues by mounting small disk images as loopback devices.

Current Output:

Continues to run, without outputting any data.

Expected Output:

Stan should raise an exception and abort once it can no longer write output, rather than continuing to compute without outputting any data.

Current Version:

v2.17.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions