Closed mkoennecke closed 7 years ago
I finally got to the bottom of this. It was a missing nxclosedata() in my eclipse application mode. The hdf5 failed to close the file properly and then the whole lot crashed. This was so difficult to find because eclipse was hiding error messages. Only when I enabled debugging statements in NexusFile.c and had the object count printed in napi5.c:NX5close the problem became visible.
When running the jnexus native Java API from within an eclipse application the whole lot crashes on me. It complains about a duplicate free in NXclose in libNeXus. I did some printf debugging and the culpable line is the one reading killFileStack() in NXclose. What I checked so far: