[Scilab-users] [EXTERNAL] Re: issue with h5close?

Carrico, Paul paul.carrico at auxitrolweston.com
Tue May 28 14:46:22 CEST 2019


Thanks Antoine,

I ran the same code under Windows 10 and Scilab crashes, whereas I've no issue under Linux (Ubuntu 16.04); I cannot share the files as it stands, but let me working on an example to reproduce the issue

Paul

De : users [mailto:users-bounces at lists.scilab.org] De la part de Antoine Monmayrant
Envoyé : mardi 28 mai 2019 09:36
À : users at lists.scilab.org
Objet : [EXTERNAL] Re: [Scilab-users] issue with h5close?

Hello Paul,


Two comments:

1) Could you provide us with a minimum crashing script + h5file to try and replicate the issue?
2) It might not be relevant, but in your script "h5" is first a string then a h5 handle (after the call to h5open). Did you try using two different variable names (h5fname and h5), just in case it is related to your crash?
I remember having weird issues back in the days with graphic handles being reused for other kind of variables inside loops or function calls.

Antoine


Le 28/05/2019 à 09:10, Carrico, Paul a écrit :
Hi All

I'm using the latest stable release (6.0.2) in conjunction with cgal add-on for Delaunay_2 tessellation, based on data previously recorded in a hdf5 file.

I've been noticing that after a first tessellation, and while the h5 file is closed in the routine (h5close(name)), if I rerun a second one Scilab crashes; that's the case either under Windows 7 or 10.

h5 = "toto.h5";
h5 = h5open(PATH_DATA + h5,"r");

h5close(h5);

But I've noticed if I manually close the file directly in the console (i.e. a second time), then Scilab does not crash anymore.

It is just an observation, and I'm not able to tell more about the issue, but it's systematic on my side.

Hope it help

Paul



_______________________________________________

users mailing list

users at lists.scilab.org<mailto:users at lists.scilab.org>

http://lists.scilab.org/mailman/listinfo/users<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.scilab.org_mailman_listinfo_users&d=DwMD-g&c=0hKVUfnuoBozYN8UvxPA-w&r=2R_Eyw3woK4XVPnEug_8oZFQfCE8Ul6UYufxQizYx6k&m=4fnFEAKm7XnaYWj8I9AMsDSeMi68i06k3wuWMEiebIc&s=mW1QvoEQR-45_i2gcqy3Dh9SDOpbxXG5Z0lWcJqiOyg&e=>



--

+++++++++++++++++++++++++++++++++++++++++++++++++++++++



 Antoine Monmayrant LAAS - CNRS

 7 avenue du Colonel Roche

 BP 54200

 31031 TOULOUSE Cedex 4

 FRANCE



 Tel:+33 5 61 33 64 59



 email : antoine.monmayrant at laas.fr<mailto:antoine.monmayrant at laas.fr>

 permanent email : antoine.monmayrant at polytechnique.org<mailto:antoine.monmayrant at polytechnique.org>



+++++++++++++++++++++++++++++++++++++++++++++++++++++++


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20190528/968c4a07/attachment.htm>


More information about the users mailing list