Can not create a group in other group

Hi

I have two program. The first one creates hdf file and creates a group. The second program opens the file and creates another group in the first group. They work fine. But after I combined the programs I get the follwing error. What could be reason? Thank you

HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
#000: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5G.c line 310 in H5Gcreate2(): unable to create group
major: Symbol table
minor: Unable to initialize object
#001: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gint.c line 194 in H5G__create_named(): unable to create and link to group
major: Symbol table
minor: Unable to initialize object
#002: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1638 in H5L_link_object(): unable to create new link to object
major: Links
minor: Unable to initialize object
#003: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1882 in H5L_create_real(): can't insert link
major: Symbol table
minor: Unable to insert object
#004: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
major: Symbol table
minor: Object not found
#005: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
major: Symbol table
minor: Callback failed
#006: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1674 in H5L_link_cb(): name already exists
major: Symbol table
minor: Object already exists
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
#000: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5G.c line 310 in H5Gcreate2(): unable to create group
major: Symbol table
minor: Unable to initialize object
#001: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gint.c line 194 in H5G__create_named(): unable to create and link to group
major: Symbol table
minor: Unable to initialize object
#002: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1638 in H5L_link_object(): unable to create new link to object
major: Links
minor: Unable to initialize object
#003: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1882 in H5L_create_real(): can't insert link
major: Symbol table
minor: Unable to insert object
#004: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
major: Symbol table
minor: Object not found
#005: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
major: Symbol table
minor: Callback failed
#006: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1674 in H5L_link_cb(): name already exists
major: Symbol table
minor: Object already exists
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
#000: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5G.c line 310 in H5Gcreate2(): unable to create group
major: Symbol table
minor: Unable to initialize object
#001: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gint.c line 194 in H5G__create_named(): unable to create and link to group
major: Symbol table
minor: Unable to initialize object
#002: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1638 in H5L_link_object(): unable to create new link to object
major: Links
minor: Unable to initialize object
#003: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1882 in H5L_create_real(): can't insert link
major: Symbol table
minor: Unable to insert object
#004: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
major: Symbol table
minor: Object not found
#005: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
major: Symbol table
minor: Callback failed
#006: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1674 in H5L_link_cb(): name already exists
major: Symbol table
minor: Object already exists
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
#000: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5G.c line 310 in H5Gcreate2(): unable to create group
major: Symbol table
minor: Unable to initialize object
#001: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gint.c line 194 in H5G__create_named(): unable to create and link to group
major: Symbol table
minor: Unable to initialize object
#002: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1638 in H5L_link_object(): unable to create new link to object
major: Links
minor: Unable to initialize object
#003: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1882 in H5L_create_real(): can't insert link
major: Symbol table
minor: Unable to insert object
#004: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
major: Symbol table
minor: Object not found
#005: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
major: Symbol table
minor: Callback failed
#006: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1674 in H5L_link_cb(): name already exists
major: Symbol table
minor: Object already exists
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
#000: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5G.c line 310 in H5Gcreate2(): unable to create group
major: Symbol table
minor: Unable to initialize object
#001: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gint.c line 194 in H5G__create_named(): unable to create and link to group
major: Symbol table
minor: Unable to initialize object
#002: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1638 in H5L_link_object(): unable to create new link to object
major: Links
minor: Unable to initialize object
#003: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1882 in H5L_create_real(): can't insert link
major: Symbol table
minor: Unable to insert object
#004: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
major: Symbol table
minor: Object not found
#005: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
major: Symbol table
minor: Callback failed
#006: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1674 in H5L_link_cb(): name already exists
major: Symbol table
minor: Object already exists

Hi Nyamtulga,

Please make sure all the items that you try to create have different names when you combine the two programs.

Binh-Minh

···

________________________________
From: Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org> on behalf of Nyamtulga Shaandar <dairy7632@yahoo.com>
Sent: Monday, July 21, 2014 12:15 PM
To: HDF Users Discussion List
Subject: [Hdf-forum] Can not create a group in other group

Hi

I have two program. The first one creates hdf file and creates a group. The second program opens the file and creates another group in the first group. They work fine. But after I combined the programs I get the follwing error. What could be reason? Thank you

HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
  #000: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5G.c line 310 in H5Gcreate2(): unable to create group
    major: Symbol table
    minor: Unable to initialize object
  #001: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gint.c line 194 in H5G__create_named(): unable to create and link to group
    major: Symbol table
    minor: Unable to initialize object
  #002: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1638 in H5L_link_object(): unable to create new link to object
    major: Links
    minor: Unable to initialize object
  #003: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1882 in H5L_create_real(): can't insert link
    major: Symbol table
    minor: Unable to insert object
  #004: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
    major: Symbol table
    minor: Object not found
  #005: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
    major: Symbol table
    minor: Callback failed
  #006: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1674 in H5L_link_cb(): name already exists
    major: Symbol table
    minor: Object already exists
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
  #000: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5G.c line 310 in H5Gcreate2(): unable to create group
    major: Symbol table
    minor: Unable to initialize object
  #001: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gint.c line 194 in H5G__create_named(): unable to create and link to group
    major: Symbol table
    minor: Unable to initialize object
  #002: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1638 in H5L_link_object(): unable to create new link to object
    major: Links
    minor: Unable to initialize object
  #003: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1882 in H5L_create_real(): can't insert link
    major: Symbol table
    minor: Unable to insert object
  #004: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
    major: Symbol table
    minor: Object not found
  #005: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
    major: Symbol table
    minor: Callback failed
  #006: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1674 in H5L_link_cb(): name already exists
    major: Symbol table
    minor: Object already exists
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
  #000: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5G.c line 310 in H5Gcreate2(): unable to create group
    major: Symbol table
    minor: Unable to initialize object
  #001: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gint.c line 194 in H5G__create_named(): unable to create and link to group
    major: Symbol table
    minor: Unable to initialize object
  #002: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1638 in H5L_link_object(): unable to create new link to object
    major: Links
    minor: Unable to initialize object
  #003: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1882 in H5L_create_real(): can't insert link
    major: Symbol table
    minor: Unable to insert object
  #004: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
    major: Symbol table
    minor: Object not found
  #005: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
    major: Symbol table
    minor: Callback failed
  #006: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1674 in H5L_link_cb(): name already exists
    major: Symbol table
    minor: Object already exists
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
  #000: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5G.c line 310 in H5Gcreate2(): unable to create group
    major: Symbol table
    minor: Unable to initialize object
  #001: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gint.c line 194 in H5G__create_named(): unable to create and link to group
    major: Symbol table
    minor: Unable to initialize object
  #002: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1638 in H5L_link_object(): unable to create new link to object
    major: Links
    minor: Unable to initialize object
  #003: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1882 in H5L_create_real(): can't insert link
    major: Symbol table
    minor: Unable to insert object
  #004: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
    major: Symbol table
    minor: Object not found
  #005: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
    major: Symbol table
    minor: Callback failed
  #006: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1674 in H5L_link_cb(): name already exists
    major: Symbol table
    minor: Object already exists
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
  #000: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5G.c line 310 in H5Gcreate2(): unable to create group
    major: Symbol table
    minor: Unable to initialize object
  #001: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gint.c line 194 in H5G__create_named(): unable to create and link to group
    major: Symbol table
    minor: Unable to initialize object
  #002: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1638 in H5L_link_object(): unable to create new link to object
    major: Links
    minor: Unable to initialize object
  #003: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1882 in H5L_create_real(): can't insert link
    major: Symbol table
    minor: Unable to insert object
  #004: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
    major: Symbol table
    minor: Object not found
  #005: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
    major: Symbol table
    minor: Callback failed
  #006: /home/hdftest/snapshots-bin-hdf5_1_8_11/current/src/H5L.c line 1674 in H5L_link_cb(): name already exists
    major: Symbol table
    minor: Object already exists