scilab: hdf5 is broken in Scilab 6.0 on bionic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scilab |
Fix Released
|
High
|
|||
scilab (Debian) |
Fix Released
|
Unknown
|
|||
scilab (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Bionic |
New
|
Medium
|
Unassigned |
Bug Description
[Impact]
Scilab 6.0 requires hdf5 1.8 to work, but since Bionic we are shipping HDF5 1.10. This makes hdf5 unusable with Scilab 6.0. Scilab needs to be patched to work with hdf5 1.10 or updated from 6.0 to 6.1.
[Test Case]
= Expected result =
$ scilab-cli
--> test_run('hdf5')
TMPDIR = /tmp/SCI_
Module 001/001 - [hdf5] :
001/052 - [hdf5] binary_
002/052 - [hdf5] h5attr.
003/052 - [hdf5] h5close.
004/052 - [hdf5] h5cp...
005/052 - [hdf5] h5dataset.
006/052 - [hdf5] h5exists.
007/052 - [hdf5] h5flush.
008/052 - [hdf5] h5group.
009/052 - [hdf5] h5isAttr.
010/052 - [hdf5] h5isFile.
011/052 - [hdf5] h5isGroup.
012/052 - [hdf5] h5isRef.
013/052 - [hdf5] h5isSet.
014/052 - [hdf5] h5isSpace.
015/052 - [hdf5] h5isType.
016/052 - [hdf5] h5label.
017/052 - [hdf5] h5ln...
018/052 - [hdf5] h5ls...
019/052 - [hdf5] h5mount.
020/052 - [hdf5] h5mv...
021/052 - [hdf5] h5open.
022/052 - [hdf5] h5read.
023/052 - [hdf5] h5readattr.
024/052 - [hdf5] h5rm...
025/052 - [hdf5] h5umount.
026/052 - [hdf5] h5write.
027/052 - [hdf5] loadhdf5data.
028/052 - [hdf5] loadhdf5data_
029/052 - [hdf5] saveloadHdf5.
030/052 - [hdf5] bug_11954.
031/052 - [hdf5] bug_12285.
032/052 - [hdf5] bug_13689.
033/052 - [hdf5] bug_13941.
034/052 - [hdf5] bug_14149.
035/052 - [hdf5] bug_14446.
036/052 - [hdf5] bug_14775.
037/052 - [hdf5] bug_14886.
038/052 - [hdf5] bug_15188.
039/052 - [hdf5] bug_15302.
040/052 - [hdf5] bug_15501.
041/052 - [hdf5] bug_15502.
042/052 - [hdf5] bug_15692.
043/052 - [hdf5] bug_15693.
044/052 - [hdf5] bug_15721.
045/052 - [hdf5] bug_15809.
046/052 - [hdf5] bug_5629.
047/052 - [hdf5] bug_6440.
048/052 - [hdf5] bug_7224.
049/052 - [hdf5] bug_8170.
050/052 - [hdf5] bug_8383.
051/052 - [hdf5] bug_9510.
052/052 - [hdf5] matrix_
----
Summary
tests 52 - 100 %
passed 52 - 100 %
failed 0 - 0 %
skipped 0
length 18.26 sec
Note: if there's no X11 running or no GL support on X11, then the following 5 tests will fail as in:
037/052 - [hdf5] bug_14886.
038/052 - [hdf5] bug_15188.
039/052 - [hdf5] bug_15302.
048/052 - [hdf5] bug_7224.
049/052 - [hdf5] bug_8170.
= Current results =
All tests fail with "failed: Slave Scilab exited with error code 1".
$ scilab-cli
--> test_run('hdf5')
(snip)
Summary
tests 52 - 100 %
passed 0 - 0 %
failed 52 - 100 %
skipped 0
length 11.22 sec
[Regression Potential]
* The patch for hdf5 1.10 basically changes the type of a variable from int to hid_t, it does not change any logic in the code. As all hdf5 calls that rely in that variable currently fail and this change is limited to hdf5, no regressions are actually expected.
[Other Info]
* Scilab 6.1 does support hdf5 1.10 and is available on Focal, but cannot be backported to Bionic as it depends on std::filesystem
* The original report references to atomsShow(
[Original report]
Steps to reproduce:
1. Install Ubuntu 18.04 LTS (x86_64 in my case)
2. Install `scilab` package
3. Launch Scilab CLI (as normal `scilab` does not start because of bug 1762999) from terminal with `scilab-cli`
4. Try to show information of a package from ATOMS system with
`atomsShow(
Expected results:
* Scilab updates local ATOMS cache, then shows information about Coselica
toolbox
Actual results:
* Scilab shows error in its console:
--> atomsShow(
Scanning repository http://
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140526662825856:
#000: ../../../src/H5G.c line 553 in H5Gget_info(): invalid argument
major: Invalid arguments to routine
minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140526662825856:
#000: ../../../src/H5G.c line 301 in H5Gcreate2(): not a location
major: Invalid arguments to routine
minor: Inappropriate type
#001: ../../.
major: Invalid arguments to routine
minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140526662825856:
#000: ../../../src/H5A.c line 265 in H5Acreate2(): not a location
major: Invalid arguments to routine
minor: Inappropriate type
#001: ../../.
major: Invalid arguments to routine
minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140526662825856:
#000: ../../../src/H5D.c line 121 in H5Dcreate2(): not a location ID
major: Invalid arguments to routine
minor: Inappropriate type
#001: ../../.
major: Invalid arguments to routine
minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140526662825856:
#000: ../../../src/H5F.c line 749 in H5Fclose(): not a file ID
major: Invalid arguments to routine
minor: Inappropriate type
failed to close fileat line 265 of function atomsDESCRIPTIONget ( /usr/share/
at line 31 of function atomsIsPackage ( /usr/share/
at line 43 of function atomsShow ( /usr/share/
atomsDESCRIPTIO
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: scilab-cli 6.0.1-1ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-17-generic x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
CurrentDesktop: MATE
Date: Thu Apr 19 22:08:58 2018
PackageArchitec
SourcePackage: scilab
UpgradeStatus: No upgrade log present (probably fresh install)
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: MATE
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2018-04-26 (354 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Package: scilab 6.0.1-7ubuntu1~
PackageArchitec
ProcVersionSign
Tags: bionic
Uname: Linux 4.15.0-47-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu13.2
Architecture: amd64
CurrentDesktop: MATE
DistroRelease: Ubuntu 18.10
InstallationDate: Installed on 2019-02-17 (58 days ago)
InstallationMedia: Ubuntu-MATE 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.2)
Package: scilab 6.0.1-7ubuntu1~
PackageArchitec
ProcVersionSign
Tags: cosmic
Uname: Linux 4.18.0-16-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
Changed in scilab (Debian): | |
status: | Unknown → New |
summary: |
- scilab: ATOMS system is broken in Scilab 6 on bionic and cosmic + scilab: ATOMS system is broken in Scilab 6 on bionic, cosmic and disco |
tags: | added: disco |
summary: |
- scilab: ATOMS system is broken in Scilab 6 on bionic, cosmic and disco + scilab: ATOMS system is broken in Scilab 6 on bionic, cosmic, disco and + eoan |
tags: | added: eoan |
summary: |
- scilab: ATOMS system is broken in Scilab 6 on bionic, cosmic, disco and - eoan + scilab: save, open and ATOMS system is broken in Scilab 6 on bionic, + cosmic, disco and eoan |
Changed in scilab: | |
importance: | Unknown → High |
status: | Unknown → Confirmed |
Changed in scilab: | |
status: | Confirmed → Fix Released |
Changed in scilab (Debian): | |
status: | New → Fix Released |
Changed in scilab (Debian): | |
status: | Fix Released → New |
no longer affects: | hdf5 (Ubuntu) |
no longer affects: | hdf5 (Ubuntu Bionic) |
no longer affects: | hdf5 (Ubuntu Focal) |
summary: |
- scilab: save, open and ATOMS system is broken in Scilab 6 on bionic, - cosmic, disco and eoan + scilab: hdf5 is broken in Scilab 6.0 on bionic |
no longer affects: | scilab (Ubuntu Focal) |
description: | updated |
tags: | removed: eoan |
Changed in scilab (Ubuntu): | |
importance: | Undecided → Medium |
Changed in scilab (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in scilab (Debian): | |
status: | New → Fix Released |
BUG DESCRIPTION:
----------------
Not able to save or load a variable
ERROR LOG: ./src/H5Gloc. c line 253 in H5G_loc(): invalid object ID
----------
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140383204820864:
#000: ../../../src/H5G.c line 553 in H5Gget_info(): invalid argument
major: Invalid arguments to routine
minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140383204820864:
#000: ../../../src/H5D.c line 121 in H5Dcreate2(): not a location ID
major: Invalid arguments to routine
minor: Inappropriate type
#001: ../../.
major: Invalid arguments to routine
minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140383204820864:
#000: ../../../src/H5F.c line 749 in H5Fclose(): not a file ID
major: Invalid arguments to routine
minor: Inappropriate type
failed to close file
HOW TO REPRODUCE THE BUG: ------- ------- ----
save( "stack. sod","stack" )
-------
- install a brand new debian testing
- install scilab 6.0.0 package and dependencies
- create any variable (e.g. "stack")
- save it with:
OTHER INFORMATION:
------------------
Scilab also fails to load the ATOMS manager, and it seems to be bound to that problem.