Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDFView 3.3.0 crashes on a HDF4 file #120

Closed
hyoklee opened this issue Apr 18, 2023 · 5 comments
Closed

HDFView 3.3.0 crashes on a HDF4 file #120

hyoklee opened this issue Apr 18, 2023 · 5 comments
Assignees
Labels
Component - Object Library Improvements to the object library Confirmed Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Bug Please report security issues to help@hdfgroup.org instead of creating an issue on GitHub

Comments

@hyoklee
Copy link
Member

hyoklee commented Apr 18, 2023

The test file is available from #119.

See https://youtu.be/vMuke2l4eP8 to reproduce.

@oyarzun
Copy link
Contributor

oyarzun commented Apr 18, 2023

christian.oyarzun@Christians-iMac hdfview % /Applications/HDFView.app/Contents/MacOS/HDFView
SLF4J: Class path contains multiple SLF4J providers.
SLF4J: Found provider [org.slf4j.simple.SimpleServiceProvider@534df152]
SLF4J: Found provider [org.slf4j.nop.NOPServiceProvider@52e677af]
SLF4J: See https://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual provider is of type [org.slf4j.simple.SimpleServiceProvider@534df152]
[main] INFO hdf.hdf5lib.H5 - HDF5 library: hdf5_java
[main] INFO hdf.hdf5lib.H5 -  successfully loaded from java.library.path
[main] INFO hdf.view.HDFView - Current directory is /Users/christian.oyarzun/code/hdfgroup/hdfview
[main] INFO hdf.view.HDFView - Menubar created
[main] INFO hdf.view.HDFView - Toolbar created
[main] INFO hdf.view.HDFView - URL Toolbar created
[main] INFO hdf.view.HDFView - Content Area created
[main] INFO hdf.view.HDFView - Main Window created
[main] INFO hdf.hdflib.HDFLibrary - HDF4 library: hdf_java
[main] INFO hdf.hdflib.HDFLibrary -  successfully loaded from java.library.path
HDFView(29115,0x110b9f600) malloc: *** error for object 0x7fe73fcf8: pointer being freed was not allocated
HDFView(29115,0x110b9f600) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort      /Applications/HDFView.app/Contents/MacOS/HDFView

@byrnHDF byrnHDF self-assigned this May 7, 2023
@byrnHDF byrnHDF added Type - Bug Please report security issues to help@hdfgroup.org instead of creating an issue on GitHub Component - Object Library Improvements to the object library Confirmed Priority - 1. High 🔼 These are important issues that should be resolved in the next release labels May 7, 2023
@byrnHDF
Copy link
Collaborator

byrnHDF commented May 7, 2023

Might be an object library HDF4 datatype error.
Not specific to a Mac.

@byrnHDF byrnHDF changed the title HDFView 3.3.0 crashes on macOS when you click Show Data with Options button. HDFView 3.3.0 crashes on a HDF4 file May 7, 2023
@byrnHDF
Copy link
Collaborator

byrnHDF commented May 9, 2023

The problem is in HDF4 not HDFView - however HDFView will need a new hdf4 jar and library files.

@byrnHDF byrnHDF closed this as completed May 9, 2023
@hyoklee
Copy link
Member Author

hyoklee commented May 9, 2023

@byrnHDF did you open a new issue in HDF4 before you close this?

@byrnHDF
Copy link
Collaborator

byrnHDF commented May 9, 2023

See HDFGroup/hdf4#355

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Object Library Improvements to the object library Confirmed Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Bug Please report security issues to help@hdfgroup.org instead of creating an issue on GitHub
Projects
None yet
Development

No branches or pull requests

3 participants