xload crashes scilab when reloading graphics saved from scilab 5.5.2
Reported by Antoine Monmayrant
c.scg (1.29 MB, application/x-hdf)
c.scg saved from 5.5.2 needed to run the mwe.
BUG DESCRIPTION:
----------------
xload crashes scilab when reloading graphics using an old version of scilab
ERROR LOG:
----------
Two different errors can be generated randomly, either:
scilab
corrupted double-linked list
Segmentation fault (core dumped)
or
scilab
malloc_consolidate(): invalid chunk size
Segmentation fault (core dumped)
HOW TO REPRODUCE THE BUG:
-------------------------
// XLOAD Segfault bug
xdel(winsid())
xload('c.scg'); // from 5.5.2
h=gcf()
xsave('c2.scg',h);
xload('c2.scg'); //bye
OTHER INFORMATION:
------------------