<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>43182</bug_id>
          
          <creation_ts>2022-07-08 00:26:08 +0300</creation_ts>
          <short_desc>сломаны ATOMS в Scilab из-за hdf5</short_desc>
          <delta_ts>2022-09-26 09:53:30 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>scilab</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikolay Strelkov">n.strelkov</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>amakeenk</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>212474</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolay Strelkov">n.strelkov</who>
    <bug_when>2022-07-08 00:26:08 +0300</bug_when>
    <thetext>Любая попытка обновления ATOMS из графического или терминального варианта Scilab  приводит к ошибкам. Пользоваться ATOMS нельзя.

```
$ scilab-cli -e &quot;atomsSystemUpdate();exit;&quot;
Scilab branch-6.0 (Nov 23 2021, 06:37:16)
Scanning repository http://atoms.scilab.org/6.0 ... Done

HDF5-DIAG: Error detected in HDF5 (1.10.6) thread 0:
  #000: H5G.c line 535 in H5Gget_info(): invalid argument
    major: Invalid arguments to routine
    minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.6) thread 0:
  #000: H5G.c line 294 in H5Gcreate2(): not a location
    major: Invalid arguments to routine
    minor: Inappropriate type
  #001: H5Gloc.c line 246 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.6) thread 0:
  #000: H5A.c line 268 in H5Acreate2(): not a location
    major: Invalid arguments to routine
    minor: Inappropriate type
  #001: H5Gloc.c line 246 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.6) thread 0:
  #000: H5D.c line 119 in H5Dcreate2(): not a location ID
    major: Invalid arguments to routine
    minor: Inappropriate type
  #001: H5Gloc.c line 246 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.6) thread 0:
  #000: H5F.c line 671 in H5Fclose(): not a file ID
    major: File accessibilty
    minor: Inappropriate type
failed to close fileat line   265 of function atomsDESCRIPTIONget ( /usr/share/scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONget.sci line 284 )
at line    16 of function atomsSystemUpdate   ( /usr/share/scilab/modules/atoms/macros/atomsSystemUpdate.sci line 33 )

atomsDESCRIPTIONget: save (&apos;/home/alt/.Scilab/scilab-branch-6.0/.atoms/packages&apos;) has failed.
--&gt; 

```

Баг сильно похож на https://bugs.launchpad.net/bugs/1819353 и https://bugs.launchpad.net/bugs/1765503 .

В p9 все нормально работает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212524</commentid>
    <comment_count>1</comment_count>
    <who name="Nikolay Strelkov">n.strelkov</who>
    <bug_when>2022-07-09 19:26:11 +0300</bug_when>
    <thetext>В реальности ситуация еще хуже - не работает сохранение переменных:
scilab-cli -e &quot;x=10; save(&apos;x.dat&apos;, &apos;x&apos;)&quot;
завершается с ошибкой:

```
scilab-cli -e &quot;x=10; save(&apos;x.dat&apos;, &apos;x&apos;)&quot;
Scilab branch-6.0 (Nov 23 2021, 06:37:16)
HDF5-DIAG: Error detected in HDF5 (1.10.6) thread 0:
  #000: H5G.c line 535 in H5Gget_info(): invalid argument
    major: Invalid arguments to routine
    minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.6) thread 0:
  #000: H5D.c line 119 in H5Dcreate2(): not a location ID
    major: Invalid arguments to routine
    minor: Inappropriate type
  #001: H5Gloc.c line 246 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.6) thread 0:
  #000: H5F.c line 671 in H5Fclose(): not a file ID
    major: File accessibilty
    minor: Inappropriate type
failed to close file
save: Unable to export variable &apos;x&apos; in file &apos;x.dat&apos;.

--&gt; 

```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215198</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2022-09-23 09:29:03 +0300</bug_when>
    <thetext>Добрый день! 

Пожалуйста, предоставьте дополнительную информация для воспроизведения ошибки:
1) образ, на котором воспроизвелась ошибка
2) выводы команд
$ uname -a
$ cat /etc/os-release
$ apt-repo
3) версию пакета, на которой у Вас воспроизводится описанное поведение

Спасибо!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215254</commentid>
    <comment_count>3</comment_count>
    <who name="Nikolay Strelkov">n.strelkov</who>
    <bug_when>2022-09-23 23:43:13 +0300</bug_when>
    <thetext>Благодарю за ответ, вывод требуемых команд ниже:

&gt; 1) образ, на котором воспроизвелась ошибка
alt-p10-mate-20220910-x86_64.iso

&gt; 2) выводы команд
&gt; $ uname -a
Linux localhost.localdomain 5.10.139-std-def-alt1 #1 SMP Mon Sep 5 11:32:02 UTC 2022 x86_64 GNU/Linux

&gt; $ cat /etc/os-release

NAME=&quot;starter kit&quot;
VERSION=&quot;p10 (Hypericum)&quot;
ID=altlinux
VERSION_ID=p10
PRETTY_NAME=&quot;ALT Starterkit (Hypericum)&quot;
ANSI_COLOR=&quot;1;33&quot;
CPE_NAME=&quot;cpe:/o:alt:starterkit:p10&quot;
HOME_URL=&quot;http://en.altlinux.org/starterkits&quot;
BUG_REPORT_URL=&quot;https://bugs.altlinux.org/&quot;

&gt; $ apt-repo
rpm [p10] http://mirror.yandex.ru/altlinux p10/branch/x86_64 classic
rpm [p10] http://mirror.yandex.ru/altlinux p10/branch/x86_64-i586 classic
rpm [p10] http://mirror.yandex.ru/altlinux p10/branch/noarch classic


&gt; 3) версию пакета, на которой у Вас воспроизводится описанное поведение

$ rpm -qa | grep -E &quot;scilab|hdf&quot;
libhdf5-103-1.10.6-alt2.x86_64
libhdf5-hl-100-1.10.6-alt2.x86_64
scilab-6.0.2-alt2.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215294</commentid>
    <comment_count>4</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2022-09-26 09:52:30 +0300</bug_when>
    <thetext>В сизифе тоже воспроизводится.
scilab 1:6.0.2-alt4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>