Hi Christoph,

On Feb 3, 2014, at 7:50 AM, Christoph Laimer <[email protected]> wrote:

> Dear HDF-Forum
>  
> I have a file, which causes an immediate crash of the HDF-viewer (no error 
> message, tested with newest versions on Windows and Mac OS X).

HDFView cannot handle big files or files with a lot of objects. This is a known 
limitation that we are trying to address in the next major release. You will 
need to use other tools to confirm that the file is indeed corrupted. 
>  
> I have to assume the file is corrupt. It was written with our Software 
> (Imaris) which uses regular calls from the official HDF-library (v1.8.6). 
> Loading the file with our Software causes a crash. In order to figure out, 
> what was last written into the file, I opened the file in the HDF-viewer, but 
> there it also crashes (Windows and Mac OS X). In the debugger on Windows it 
> crashes inside “H5Gopen”, but I don’t understand, what happens there in 
> detail. Try catch(…) doesn’t catch – it must be a severe memory violation.

Could you please try to run h5check tool to see if HDF5 metadata in this file 
is corrupted? If h5check doesn't find anything, try to run h5ls to see how far 
you can traverse the file. Information about both tools can be found here 
http://www.hdfgroup.org/HDF5/doc/RM/Tools.html
>  
> Obviously something went wrong when the file was written. Unfortunately I 
> can’t tell, what exactly was done there – it was a customer using our 
> software, and “save” was successful. I’d like to do two things:
>  
> -          Try to understand from the file content, what went wrong when the 
> file was written. HDF View would be helpful, if it would show the 
> non-corrupted parts of the file (instead of crashing).
> -          Show a more graceful message to the user, when he tries to open 
> such a file in our Software. Ideally “H5Gopen” would return some error code, 
> or at least do something catchable.

Agree on both issues.
>  
> Is there a common place for the HDF-forum to upload my file? The zipped file 
> size is 1.3 GB.
>  
I'll check with our sysadmin people. Stay tuned.

Elena

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal  The HDF Group  http://hdfgroup.org   
1800 So. Oak St., Suite 203, Champaign IL 61820
217.531.6112
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



> Please help!
>  
> Cheers,
> Christoph
> This message is intended only for the use of the addressee and may contain 
> information that is confidential and/or subject to copyright. If you are not 
> the intended recipient, you are hereby notified that any dissemination, 
> copying, or redistribution of this message is strictly prohibited. If you 
> have received this message in error please delete all copies immediately. Any 
> views or opinions presented in this email are solely those of the author and 
> do not necessarily represent those of Andor Technology Plc Companies. Andor 
> Technology Plc has taken reasonable precautions to ensure that no viruses are 
> contained in this email, but does not accept any responsibility once this 
> email has been transmitted. Andor Technology PLC is a registered company in 
> Northern Ireland, registration number: NI022466. Registered Office: Andor 
> Technology, 7 Millennium Way, Springvale Business Park, Belfast, BT12 7AL. 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to