[Scilab-users] issue with h5close?

Antoine Monmayrant antoine.monmayrant at laas.fr
Tue May 28 09:36:04 CEST 2019


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
> http://lists.scilab.org/mailman/listinfo/users


-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

  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
  permanent email : antoine.monmayrant at polytechnique.org

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

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


More information about the users mailing list