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).

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.

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.

Is there a common place for the HDF-forum to upload my file? The zipped file 
size is 1.3 GB.

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

Reply via email to