InsightSoftwareConsortium / InsightSoftwareConsortium/ITK

`MeshIO` classes Write methods fail/timeout and round-trip test fail

Open
#3,455 2 comments 1 reaction 0 assignees View on GitHub
type:Bug
Dominant language
C++
Stars
1.7k
Forks
748
Avg merge
1d 1h
Merged PRs (30d)
64

Description

### Description

Some of the `MeshIO` (`Modules/IO/Mesh*`) classes `Write*` methods fail/timeout or the round-trip (write data, read back and compare the read values to the expected ones) fail.

### Steps to Reproduce

The failing tests are located in the `test` module of each `Modules/IO/Mesh*` module. The failing calls have been commented out in the tests and a `FIXME` tag was put in the comments while adding the tests for these classes in #3403.

### Expected behavior

Write methods work; tests do not timeout; round-trip checks pass.

### Actual behavior

Some of the write methods do not work; tests timeout (`MeshBYU`); round-trip checks do not pass.

### Reproducibility

%100.

### Versions

`master`.

### Environment

Issues were being reported in all platforms used by the CI builds. However, tests were passing on a Windows 7, MSVC 2019 machine.

### Additional Information

Cross-referencing https://github.com/InsightSoftwareConsortium/ITK/pull/3403#issuecomment-1141132531

Slightly related to this is the need to improve the buffer allocation method/buffer deletion, as noted in the referenced comment.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.