libyal/libfvde

libfdata_vector_get_element_index_at_offset: invalid element index value exceeds maximum

Closed this issue · 1 comments

I'm having the same issue described in the #25 that is closed.

mount output:

[root@linux]~# mount -o loop,ro /mnt/fvdevolume/fvde1 /mnt/ntfs_file_system  
mount: /mnt/ntfs_file_system: can't read superblock on /dev/loop0.

fvdemount -v output:

libfdata_vector_get_element_index_at_offset: invalid element index value exceeds maximum.
libfdata_vector_get_element_value_at_offset: unable to retrieve element index at offset: 0x1d193290000.
libfvde_internal_volume_read_buffer_from_file_io_handle: unable to retrieve sector data at offset: 1999628730368.
libfvde_volume_read_buffer: unable to read buffer.
mount_handle_read_buffer: unable to read buffer from input volume.
fvdemount_fuse_read: unable to read from mount handle.
libfdata_vector_get_element_index_at_offset: invalid element index value exceeds maximum.
libfdata_vector_get_element_value_at_offset: unable to retrieve element index at offset: 0x1d193290000.
libfvde_internal_volume_read_buffer_from_file_io_handle: unable to retrieve sector data at offset: 1999628730368.
libfvde_volume_read_buffer: unable to read buffer.
mount_handle_read_buffer: unable to read buffer from input volume.
fvdemount_fuse_read: unable to read from mount handle.
libfdata_vector_get_element_index_at_offset: invalid element index value exceeds maximum.
libfdata_vector_get_element_value_at_offset: unable to retrieve element index at offset: 0x1d193290000.
libfvde_internal_volume_read_buffer_from_file_io_handle: unable to retrieve sector data at offset: 1999628730368.
libfvde_volume_read_buffer: unable to read buffer.
mount_handle_read_buffer: unable to read buffer from input volume.
fvdemount_fuse_read: unable to read from mount handle.
libfdata_vector_get_element_index_at_offset: invalid element index value exceeds maximum.
libfdata_vector_get_element_value_at_offset: unable to retrieve element index at offset: 0x1d193290000.
libfvde_internal_volume_read_buffer_from_file_io_handle: unable to retrieve sector data at offset: 1999628730368.
libfvde_volume_read_buffer: unable to read buffer.
mount_handle_read_buffer: unable to read buffer from input volume.
fvdemount_fuse_read: unable to read from mount handle.
libcfile_file_read_buffer_with_error_code: unable to read from file with error: Input/output error
libcfile_file_read_buffer: unable to read from file.
libbfio_file_read: unable to read from file: /dev/sda2.
libbfio_file_range_read: unable to read from file IO handle.
libbfio_handle_read_buffer: unable to read from handle.
libfvde_sector_data_read: unable to read sector data.
libfvde_io_handle_read_sector: unable to read sector data.
libfdata_vector_get_element_value_by_index: unable to read element data at offset: 0x10000000.
libfdata_vector_get_element_value_at_offset: unable to retrieve element: 0 value.
libfvde_internal_volume_read_buffer_from_file_io_handle: unable to retrieve sector data at offset: 0.
libfvde_volume_read_buffer: unable to read buffer.
mount_handle_read_buffer: unable to read buffer from input volume.
fvdemount_fuse_read: unable to read from mount handle.
libcfile_file_read_buffer_with_error_code: unable to read from file with error: Input/output error
libcfile_file_read_buffer: unable to read from file.
libbfio_file_read: unable to read from file: /dev/sda2.
libbfio_file_range_read: unable to read from file IO handle.
libbfio_handle_read_buffer: unable to read from handle.
libfvde_sector_data_read: unable to read sector data.
libfvde_io_handle_read_sector: unable to read sector data.
libfdata_vector_get_element_value_by_index: unable to read element data at offset: 0x10000000.
libfdata_vector_get_element_value_at_offset: unable to retrieve element: 0 value.
libfvde_internal_volume_read_buffer_from_file_io_handle: unable to retrieve sector data at offset: 0.
libfvde_volume_read_buffer: unable to read buffer.
mount_handle_read_buffer: unable to read buffer from input volume.
fvdemount_fuse_read: unable to read from mount handle.
libcfile_file_read_buffer_with_error_code: unable to read from file with error: Input/output error
libcfile_file_read_buffer: unable to read from file.
libbfio_file_read: unable to read from file: /dev/sda2.
libbfio_file_range_read: unable to read from file IO handle.
libbfio_handle_read_buffer: unable to read from handle.
libfvde_sector_data_read: unable to read sector data.
libfvde_io_handle_read_sector: unable to read sector data.
libfdata_vector_get_element_value_by_index: unable to read element data at offset: 0x10000000.
libfdata_vector_get_element_value_at_offset: unable to retrieve element: 0 value.
libfvde_internal_volume_read_buffer_from_file_io_handle: unable to retrieve sector data at offset: 0.
libfvde_volume_read_buffer: unable to read buffer.
mount_handle_read_buffer: unable to read buffer from input volume.
fvdemount_fuse_read: unable to read from mount handle.
libcfile_file_read_buffer_with_error_code: unable to read from file with error: Input/output error
libcfile_file_read_buffer: unable to read from file.
libbfio_file_read: unable to read from file: /dev/sda2.
libbfio_file_range_read: unable to read from file IO handle.
libbfio_handle_read_buffer: unable to read from handle.
libfvde_sector_data_read: unable to read sector data.
libfvde_io_handle_read_sector: unable to read sector data.
libfdata_vector_get_element_value_by_index: unable to read element data at offset: 0x10000000.
libfdata_vector_get_element_value_at_offset: unable to retrieve element: 0 value.
libfvde_internal_volume_read_buffer_from_file_io_handle: unable to retrieve sector data at offset: 0.
libfvde_volume_read_buffer: unable to read buffer.
mount_handle_read_buffer: unable to read buffer from input volume.
fvdemount_fuse_read: unable to read from mount handle.
libcfile_file_read_buffer_with_error_code: unable to read from file with error: Input/output error
libcfile_file_read_buffer: unable to read from file.
libbfio_file_read: unable to read from file: /dev/sda2.
libbfio_file_range_read: unable to read from file IO handle.
libbfio_handle_read_buffer: unable to read from handle.
libfvde_sector_data_read: unable to read sector data.
libfvde_io_handle_read_sector: unable to read sector data.
libfdata_vector_get_element_value_by_index: unable to read element data at offset: 0x10008000.
libfdata_vector_get_element_value_at_offset: unable to retrieve element: 64 value.
libfvde_internal_volume_read_buffer_from_file_io_handle: unable to retrieve sector data at offset: 32768.
libfvde_volume_read_buffer: unable to read buffer.
mount_handle_read_buffer: unable to read buffer from input volume.
fvdemount_fuse_read: unable to read from mount handle.
libcfile_file_read_buffer_with_error_code: unable to read from file with error: Input/output error
libcfile_file_read_buffer: unable to read from file.
libbfio_file_read: unable to read from file: /dev/sda2.
libbfio_file_range_read: unable to read from file IO handle.
libbfio_handle_read_buffer: unable to read from handle.
libfvde_sector_data_read: unable to read sector data.
libfvde_io_handle_read_sector: unable to read sector data.
libfdata_vector_get_element_value_by_index: unable to read element data at offset: 0x10008000.
libfdata_vector_get_element_value_at_offset: unable to retrieve element: 64 value.
libfvde_internal_volume_read_buffer_from_file_io_handle: unable to retrieve sector data at offset: 32768.
libfvde_volume_read_buffer: unable to read buffer.
mount_handle_read_buffer: unable to read buffer from input volume.
fvdemount_fuse_read: unable to read from mount handle.
libcfile_file_read_buffer_with_error_code: unable to read from file with error: Input/output error
libcfile_file_read_buffer: unable to read from file.
libbfio_file_read: unable to read from file: /dev/sda2.
libbfio_file_range_read: unable to read from file IO handle.
libbfio_handle_read_buffer: unable to read from handle.
libfvde_sector_data_read: unable to read sector data.
libfvde_io_handle_read_sector: unable to read sector data.
libfdata_vector_get_element_value_by_index: unable to read element data at offset: 0x10000000.
libfdata_vector_get_element_value_at_offset: unable to retrieve element: 0 value.
libfvde_internal_volume_read_buffer_from_file_io_handle: unable to retrieve sector data at offset: 0.
libfvde_volume_read_buffer: unable to read buffer.
mount_handle_read_buffer: unable to read buffer from input volume.
fvdemount_fuse_read: unable to read from mount handle.

dmesg output:

[73986.453249] print_req_error: I/O error, dev loop0, sector 3905524864
[73986.453358] print_req_error: I/O error, dev loop0, sector 3905524864
[73986.453364] Buffer I/O error on dev loop0, logical block 488190608, async page read
[73986.453466] print_req_error: I/O error, dev loop0, sector 3905524864
[73986.453471] Buffer I/O error on dev loop0, logical block 488190608, async page read
[73986.454305] blk_partition_remap: fail for partition 2
[73986.454308] Buffer I/O error on dev sda2, logical block 65536, async page read
[73986.454387] blk_partition_remap: fail for partition 2
[73986.454389] Buffer I/O error on dev sda2, logical block 65536, async page read
[73986.454433] print_req_error: I/O error, dev loop0, sector 2
[73986.454450] EXT4-fs (loop0): unable to read superblock
[73986.454550] blk_partition_remap: fail for partition 2
[73986.454552] Buffer I/O error on dev sda2, logical block 65536, async page read
[73986.454593] print_req_error: I/O error, dev loop0, sector 2
[73986.454597] EXT4-fs (loop0): unable to read superblock
[73986.454669] blk_partition_remap: fail for partition 2
[73986.454671] Buffer I/O error on dev sda2, logical block 65536, async page read
[73986.454710] print_req_error: I/O error, dev loop0, sector 2
[73986.454714] EXT4-fs (loop0): unable to read superblock
[73986.454793] blk_partition_remap: fail for partition 2
[73986.454795] Buffer I/O error on dev sda2, logical block 65544, async page read
[73986.454842] blk_partition_remap: fail for partition 2
[73986.454844] Buffer I/O error on dev sda2, logical block 65544, async page read
[73986.454878] print_req_error: I/O error, dev loop0, sector 64
[73986.454882] isofs_fill_super: bread failed, dev=loop0, iso_blknum=16, block=32
[73986.454973] blk_partition_remap: fail for partition 2
[73986.454974] Buffer I/O error on dev sda2, logical block 65536, async page read
[73986.455016] print_req_error: I/O error, dev loop0, sector 0
[73986.455030] FAT-fs (loop0): unable to read boot sector

As per #25 it could be that the source image truncated or that the size of the encrypted volume is detected incorrectly can you provide me with format debug output. Also see: https://github.com/libyal/libfvde/wiki/Troubleshooting#format-or-behavioral-errors

Without this information unable to further determine what is going on, closing.