-
-
Notifications
You must be signed in to change notification settings - Fork 340
Errors in data filters are not printed #6194
Copy link
Copy link
Open
Labels
Component - C LibraryCore C library issues (usually in the src directory)Core C library issues (usually in the src directory)HDFG-internalInternally coded for use by the HDF GroupInternally coded for use by the HDF Group
Milestone
Metadata
Metadata
Assignees
Labels
Component - C LibraryCore C library issues (usually in the src directory)Core C library issues (usually in the src directory)HDFG-internalInternally coded for use by the HDF GroupInternally coded for use by the HDF Group
Type
Projects
Status
On-Deck
When a data filter encounters an error, any error messages posted by that filter are no longer printed to stderr. It still returns an error to the library, and the library prints its internal error messages, but there is no information about what caused the failure in the filter. This can be seen for instance if the flether32 checksum filter is enabled and a checksum doesn't match. This can be seen in both built in filters and external filters that use the default error stack.
This is happening because, in preparation for thread safety work, the library saves the error stack before making a call to a plugin (potentially an application callback), and then restores the stack afterwards, therefore overwriting any changes to the error stack that happened during the call to the plugin.