Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gvfs (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1051675

Title:
  Bug with viewing files with ls and nautilus on iPhone

Status in “gvfs” package in Ubuntu:
  Confirmed

Bug description:
  I'm running Ubuntu 12.04 64bit as of 14/9-12 "latest" version.

  Connected my iPhone to export/import music, pictures, video and
  whatnot. Most things work swell, but accessing the directories to many
  of the apps does not work well at all.

  The phone is mounted in a .gvfs directory, phone is named "Raymonds
  Telegrafverk".

  
  Plain attempt to ls the directory
  raymond@Bruno:~/.gvfs/Documents on Raymonds Telegrafverk$ ls no.vg.snarvei/
  ls: reading directory no.vg.snarvei/: Invalid argument


  Trying ls with the -d flag
  raymond@Bruno:~/.gvfs/Documents on Raymonds Telegrafverk$ ls -d no.vg.snarvei/
  no.vg.snarvei/
  raymond@Bruno:~/.gvfs/Documents on Raymonds Telegrafverk$ 


  Going into the directory and trying more
  raymond@Bruno:~/.gvfs/Documents on Raymonds Telegrafverk$ cd no.vg.snarvei/
  raymond@Bruno:~/.gvfs/Documents on Raymonds Telegrafverk/no.vg.snarvei$ ls
  ls: reading directory .: Invalid argument
  raymond@Bruno:~/.gvfs/Documents on Raymonds Telegrafverk/no.vg.snarvei$ ls -al
  ls: reading directory .: Invalid argument
  total 0
  raymond@Bruno:~/.gvfs/Documents on Raymonds Telegrafverk/no.vg.snarvei$ 


  
  Nautilus tells me this:
  The folder contents could not be displayed.
  Sorry, could not display all the contents of "Skype": Unhandled Apple File 
Control error (7)


  
  Now weirdest thing, I had problems with no.vg.e24.snarvei/ earlier, but now 
all of a sudden it works.
  As mentioned above, no.vg.snarvei/ is now the actual problem.
  The word "snarvei" is norwegian for "shortctu", not that it matters.


  
  Here's a strace ls report
  raymond@Bruno:~/.gvfs/Documents on Raymonds Telegrafverk$ strace ls 
no.vg.e24.snarvei/
  execve("/bin/ls", ["ls", "no.vg.e24.snarvei/"], [/* 49 vars */]) = 0
  brk(0)                                  = 0x17fd000
  access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
  mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fcd41e70000
  access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
directory)
  open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  fstat(3, {st_mode=S_IFREG|0644, st_size=118584, ...}) = 0
  mmap(NULL, 118584, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcd41e53000
  close(3)                                = 0
  access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
  open("/lib/x86_64-linux-gnu/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20T\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0644, st_size=121936, ...}) = 0
  mmap(NULL, 2221680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7fcd41a31000
  mprotect(0x7fcd41a4e000, 2093056, PROT_NONE) = 0
  mmap(0x7fcd41c4d000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0x7fcd41c4d000
  mmap(0x7fcd41c4f000, 1648, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcd41c4f000
  close(3)                                = 0
  access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
  open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340!\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0644, st_size=31752, ...}) = 0
  mmap(NULL, 2128984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7fcd41829000
  mprotect(0x7fcd41830000, 2093056, PROT_NONE) = 0
  mmap(0x7fcd41a2f000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fcd41a2f000
  close(3)                                = 0
  access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
  open("/lib/x86_64-linux-gnu/libacl.so.1", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\33\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0644, st_size=31096, ...}) = 0
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fcd41e52000
  mmap(NULL, 2126312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7fcd41621000
  mprotect(0x7fcd41628000, 2093056, PROT_NONE) = 0
  mmap(0x7fcd41827000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fcd41827000
  close(3)                                = 0
  access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
  open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\30\2\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0755, st_size=1802936, ...}) = 0
  mmap(NULL, 3917016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7fcd41264000
  mprotect(0x7fcd41417000, 2093056, PROT_NONE) = 0
  mmap(0x7fcd41616000, 24576, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b2000) = 0x7fcd41616000
  mmap(0x7fcd4161c000, 17624, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcd4161c000
  close(3)                                = 0
  access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
  open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0644, st_size=14768, ...}) = 0
  mmap(NULL, 2109704, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7fcd41060000
  mprotect(0x7fcd41062000, 2097152, PROT_NONE) = 0
  mmap(0x7fcd41262000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fcd41262000
  close(3)                                = 0
  access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
  open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200l\0\0\0\0\0\0"..., 
832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=135366, ...}) = 0
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fcd41e51000
  mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7fcd40e43000
  mprotect(0x7fcd40e5b000, 2093056, PROT_NONE) = 0
  mmap(0x7fcd4105a000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fcd4105a000
  mmap(0x7fcd4105c000, 13352, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcd4105c000
  close(3)                                = 0
  access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
  open("/lib/x86_64-linux-gnu/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3
  read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\17\0\0\0\0\0\0"..., 832) = 
832
  fstat(3, {st_mode=S_IFREG|0644, st_size=18552, ...}) = 0
  mmap(NULL, 2113736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7fcd40c3e000
  mprotect(0x7fcd40c42000, 2093056, PROT_NONE) = 0
  mmap(0x7fcd40e41000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fcd40e41000
  close(3)                                = 0
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fcd41e50000
  mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fcd41e4e000
  arch_prctl(ARCH_SET_FS, 0x7fcd41e4e7c0) = 0
  mprotect(0x7fcd41616000, 16384, PROT_READ) = 0
  mprotect(0x7fcd40e41000, 4096, PROT_READ) = 0
  mprotect(0x7fcd4105a000, 4096, PROT_READ) = 0
  mprotect(0x7fcd41262000, 4096, PROT_READ) = 0
  mprotect(0x7fcd41827000, 4096, PROT_READ) = 0
  mprotect(0x7fcd41a2f000, 4096, PROT_READ) = 0
  mprotect(0x7fcd41c4d000, 4096, PROT_READ) = 0
  mprotect(0x618000, 4096, PROT_READ)     = 0
  mprotect(0x7fcd41e72000, 4096, PROT_READ) = 0
  munmap(0x7fcd41e53000, 118584)          = 0
  set_tid_address(0x7fcd41e4ea90)         = 10372
  set_robust_list(0x7fcd41e4eaa0, 0x18)   = 0
  futex(0x7fff9f0b37fc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, 
NULL, 7fcd41e4e7c0) = -1 EAGAIN (Resource temporarily unavailable)
  rt_sigaction(SIGRTMIN, {0x7fcd40e49750, [], SA_RESTORER|SA_SIGINFO, 
0x7fcd40e52cb0}, NULL, 8) = 0
  rt_sigaction(SIGRT_1, {0x7fcd40e497e0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 
0x7fcd40e52cb0}, NULL, 8) = 0
  rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
  getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
  statfs("/selinux", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, 
f_blocks=10079070, f_bfree=8227426, f_bavail=7715426, f_files=2564096, 
f_ffree=2201955, f_fsid={1079584592, -141423653}, f_namelen=255, 
f_frsize=4096}) = 0
  brk(0)                                  = 0x17fd000
  brk(0x181e000)                          = 0x181e000
  open("/proc/filesystems", O_RDONLY)     = 3
  fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fcd41e6f000
  read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tb"..., 1024) = 322
  read(3, "", 1024)                       = 0
  close(3)                                = 0
  munmap(0x7fcd41e6f000, 4096)            = 0
  open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
  fstat(3, {st_mode=S_IFREG|0644, st_size=8468592, ...}) = 0
  mmap(NULL, 8468592, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcd4042a000
  close(3)                                = 0
  ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) 
= 0
  ioctl(1, TIOCGWINSZ, {ws_row=57, ws_col=102, ws_xpixel=0, ws_ypixel=0}) = 0
  stat("no.vg.e24.snarvei/", {st_mode=S_IFDIR|0700, st_size=0, ...}) = 0
  openat(AT_FDCWD, "no.vg.e24.snarvei/", 
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
  getdents(3, 0x1803bc8, 32768)           = -1 EINVAL (Invalid argument)
  open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 4
  fstat(4, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fcd41e6f000
  read(4, "# Locale name alias data base.\n#"..., 4096) = 2570
  read(4, "", 4096)                       = 0
  close(4)                                = 0
  munmap(0x7fcd41e6f000, 4096)            = 0
  open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 
ENOENT (No such file or directory)
  open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT 
(No such file or directory)
  open("/usr/share/locale-langpack/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = 
-1 ENOENT (No such file or directory)
  open("/usr/share/locale-langpack/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFREG|0644, st_size=619, ...}) = 0
  mmap(NULL, 619, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fcd41e6f000
  close(4)                                = 0
  write(2, "ls: ", 4ls: )                     = 4
  write(2, "reading directory no.vg.e24.snar"..., 36reading directory 
no.vg.e24.snarvei/) = 36
  open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No 
such file or directory)
  open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No 
such file or directory)
  open("/usr/share/locale-langpack/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 
ENOENT (No such file or directory)
  open("/usr/share/locale-langpack/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 
ENOENT (No such file or directory)
  write(2, ": Invalid argument", 18: Invalid argument)      = 18
  write(2, "\n", 1
  )                       = 1
  close(3)                                = 0
  close(1)                                = 0
  close(2)                                = 0
  exit_group(2)                           = ?
  raymond@Bruno:~/.gvfs/Documents on Raymonds Telegrafverk$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1051675/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to