Ticket #187 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

'ptrepack' gives errors when duplicating files with large hierarchies

Reported by: faltet Owned by: somebody
Priority: major Component: PyTables
Version: Keywords:
Cc:

Description

This can be checked by using a file generated by the program:

bench/create-large-number-objects.py data.nobackup/many-objects.h5

Which gives the next HDF5 series of errors:

$ ptrepack data.nobackup/many-objects.h5 data.nobackup/hola.h5
HDF5-DIAG: Error detected in HDF5 library version: 1.6.5 thread 3084937408.  Back trace follows.
  #000: ../../../src/H5G.c line 295 in H5Gopen(): not a location
    major(01): Function arguments
    minor(03): Inappropriate type
  #001: ../../../src/H5G.c line 2408 in H5G_loc(): invalid group ID
    major(01): Function arguments
    minor(05): Bad value
  #002: ../../../src/H5I.c line 1257 in H5I_find_id(): invalid ID
    major(07): Atom layer
    minor(32): Unable to find atom information (already closed?)
HDF5-DIAG: Error detected in HDF5 library version: 1.6.5 thread 3084937408.  Back trace follows.
  #000: ../../../src/H5G.c line 416 in H5Giterate(): unable to open group
    major(10): Symbol table layer
    minor(61): Can't open object
  #001: ../../../src/H5G.c line 295 in H5Gopen(): not a location
    major(01): Function arguments
    minor(03): Inappropriate type
  #002: ../../../src/H5G.c line 2408 in H5G_loc(): invalid group ID
    major(01): Function arguments
    minor(05): Bad value
  #003: ../../../src/H5I.c line 1257 in H5I_find_id(): invalid ID
    major(07): Atom layer
    minor(32): Unable to find atom information (already closed?)
HDF5-DIAG: Error detected in HDF5 library version: 1.6.5 thread 3084937408.  Back trace follows.
[clip]

I suppose the problem is the LRU cache code.

Change History

Changed 3 months ago by faltet

Fixed in r3785 (std-trunk). The problem was introduced recently in the new lazy way of loading the child names of a group.

Changed 3 months ago by faltet

  • status changed from new to closed
  • resolution set to fixed

Forgot to close this before.

Note: See TracTickets for help on using tickets.