On 08/03/12 14:07 +0100, Jiří Paleček said ... > On Wed, 12 Mar 2008 12:22:00 +0100, Y Giridhar Appaji Nag >> Can you please send across the strace output when you do the xxdiff and >> it fails with an I/O error? That might lead me somewhere.
Looking at the output ... [snip...] lstat64("Ji?í", 0x81634d8) = -1 ENOENT (No such file or directory) stat64("Ji?í", 0x81634d8) = -1 ENOENT (No such file or directory) lstat64("Pale?ek", 0x81634d8) = -1 ENOENT (No such file or directory) stat64("Pale?ek", 0x81634d8) = -1 ENOENT (No such file or directory) access("Ji?í", F_OK) = -1 ENOENT (No such file or directory) [snip...] So looks like the stat call failed. I did a simple test locally ... $ mkdir Jiří $ strace ls Jiří 2>&1 | grep Jiří stat64("Jiří", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("Jiří", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 3 But then I can do an xxdiff too. Looking at the failure in your strace output, I am inclined to believe that the name of the directory was passed incorrectly to stat64 after Qt (or xxdiff) processed it. BTW which file system are you creating these directories on? Does it work if you, say, go to /tmp and create these two directories and xxdiff them? > BTW I noticed xxdiff uses Qt, so it might be something like "fromUtf8 > used instead of fromLocal8bit" or something similar. But that would still not explain why I am not able to reproduce it. > I may have a look at it when I have time. Sure, I would be glad if we could collect enough information to forward this upstream in case we are not able to crack it ourself. Cheers, Giridhar -- Y Giridhar Appaji Nag | http://www.appaji.net/
signature.asc
Description: Digital signature