FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Fri May 14, 2021 16:29



Post new topic Reply to topic  [ 2 posts ] 
[BUG REPORT] NTFS-3G is unable to read a compressed file 
Author Message

Joined: Sun Jan 30, 2011 18:54
Posts: 14
Post [BUG REPORT] NTFS-3G is unable to read a compressed file
NTFS-3G version: 2013.1.13-0.el6.i686

Debug output:

Code:
unique: 3515, opcode: READ (15), nodeid: 45, insize: 80
READ[0] 4096 bytes from 2555904
Failed to decompress file: Value too large for defined data type
ntfs_attr_pread error reading '/Users/Administrator/AppData/Local/Microsoft/Windows/Themes/Bing's Be/DesktopBackground/hawaii.jpg' at offset 2555904: 3913 <> -1: Value too large for defined data type
   unique: 3515, error: -75 (Value too large for defined data type), outsize: 16


dmesg has no messages about this partition or NTFS-3g.

The partition was mounted this way:

Code:
ntfs-3g -o rw,debug /dev/sda2 Windows

# mount grep Windows
/dev/sda2 on /mnt/Windows type fuseblk (rw,allow_other,blksize=4096)


Wed Apr 10, 2013 08:56
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: [BUG REPORT] NTFS-3G is unable to read a compressed file
Hi,

Code:
ntfs_attr_pread error reading '/Users/Administrator/AppData/Local/Microsoft/Windows/Themes/Bing's Be/DesktopBackground/hawaii.jpg' at offset 2555904: 3913 <> -1: Value too large for defined data type

This probably means the file is corrupt.

First, what is its apparent size ? Is it greater than 2555904 ?

Then is it really a compressed file ? There is no point in compressing a jpeg file.... What are the outputs of :
Code:
# mind the quotes
getfattr -e hex -n system.ntfs_attrib_be "/Users/Administrator/AppData/Local/Microsoft/Windows/Themes/Bing's Be/DesktopBackground/hawaii.jpg"
du "/Users/Administrator/AppData/Local/Microsoft/Windows/Themes/Bing's Be/DesktopBackground/hawaii.jpg"
du --apparent-size "/Users/Administrator/AppData/Local/Microsoft/Windows/Themes/Bing's Be/DesktopBackground/hawaii.jpg"

Finally, can you read the file on Windows ? If so, rename it within the same directory (in order to keep it unchanged for further examination), then copy it to an uncompressed directory on the same partition, then rename it to its original name in the original directory (you obvious have to do that on Windows, and do not confuse renaming and copying).

Regards

Jean-Pierre


Wed Apr 10, 2013 10:27
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.