DragonFly BSD
DragonFly bugs List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Bug #2404] cp from dir mounted with mount_psshfs fails on mmap -1 errno 22 Invalid argument


From: Max Herrgard via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Aug 2012 06:36:24 -0700

Issue #2404 has been updated by Max Herrgard.


Heh, the mount command is of course mount_psshfs.
----------------------------------------
Bug #2404: cp from dir mounted with mount_psshfs fails on mmap -1 errno 22 Invalid argument
http://bugs.dragonflybsd.org/issues/2404

Author: Max Herrgard
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 


3.1-DEVELOPMENT DragonFly v3.1.0.1295.ga09657-DEVELOPMENT #74: Tue Aug 14 10:54:12 CEST 2012 x86_64

zoidberg# kldload puffs && mount foo@ip:dir /path/fryssh
zoidberg# ktrace cp fryssh/src/ii/README tmp/
cp: fryssh/src/ii/README: Invalid argument

zoidberg# kdump
71696 ktrace   RET   ktrace 0
71696 ktrace   CALL  execve(0x7ffffffff170,0x7ffffffff740,0x7ffffffff760)
71696 ktrace   NAMI  "/sbin/cp"
71696 ktrace   RET   execve -1 errno 2 No such file or directory
71696 ktrace   CALL  execve(0x7ffffffff170,0x7ffffffff740,0x7ffffffff760)
71696 ktrace   NAMI  "/bin/cp"
71696 cp       RET   execve 0
71696 cp       CALL  break(0x668078)
71696 cp       RET   break 0
71696 cp       CALL  set_tls_area(0,0x7ffffffff950,0x10)
71696 cp       RET   set_tls_area 0
71696 cp       CALL  set_tls_area(0,0x7ffffffff990,0x10)
71696 cp       RET   set_tls_area 0
71696 cp       CALL  issetugid
71696 cp       RET   issetugid 0
71696 cp       CALL  sigaction(SIG29,0x7ffffffff7a0,0x7ffffffff780)
71696 cp       RET   sigaction 0
71696 cp       CALL  stat(0x62a090,0x7ffffffff8f0)
71696 cp       NAMI  "tmp"
71696 cp       RET   stat 0
71696 cp       CALL  umask(S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH)
71696 cp       RET   umask 18/0x12
71696 cp       CALL  umask(S_IWGRP|S_IWOTH)
71696 cp       RET   umask 511/0x1ff
71696 cp       CALL  mmap(0x4000000000,0x8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_SIZEALIGN,0xffffffff,0,0)
71696 cp       RET   mmap 0
71696 cp       CALL  mmap(0x8000000000,0x10000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_SIZEALIGN,0xffffffff,0,0)
71696 cp       RET   mmap 0
71696 cp       CALL  mmap(0x4000000000,0x8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_SIZEALIGN,0xffffffff,0,0)
71696 cp       RET   mmap 32768/0x8000
71696 cp       CALL  mmap(0x4000000000,0x8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_SIZEALIGN,0xffffffff,0,0)
71696 cp       RET   mmap 65536/0x10000
71696 cp       CALL  stat(0x4000010390,0x4000010310)
71696 cp       NAMI  "fryssh/src/ii/README"
71696 cp       RET   stat 0
71696 cp       CALL  stat(0x62a090,0x7ffffffff7f0)
71696 cp       NAMI  "tmp/README"
71696 cp       RET   stat 0
71696 cp       CALL  open(0x8000000280,O_RDONLY,<unused>0)
71696 cp       NAMI  "fryssh/src/ii/README"
71696 cp       RET   open 3
71696 cp       CALL  open(0x62a090,O_WRONLY|O_TRUNC,<unused>0)
71696 cp       NAMI  "tmp/README"
71696 cp       RET   open 4
71696 cp       CALL  mmap(0,0x791,PROT_READ,MAP_SHARED,0x3,0,0)
71696 cp       RET   mmap -1 errno 22 Invalid argument
71696 cp       CALL  write(0x2,0x7fffffffef70,0x4)
71696 cp       GIO   fd 2 wrote 4 bytes
       "cp: "
71696 cp       RET   write 4
71696 cp       CALL  write(0x2,0x7ffffffff050,0x14)
71696 cp       GIO   fd 2 wrote 20 bytes
       "fryssh/src/ii/README"
71696 cp       RET   write 20/0x14
71696 cp       CALL  write(0x2,0x422290,0x2)
71696 cp       GIO   fd 2 wrote 2 bytes
       ": "
71696 cp       RET   write 2
71696 cp       CALL  write(0x2,0x7fffffffef70,0x11)
71696 cp       GIO   fd 2 wrote 17 bytes
       "Invalid argument
       "
71696 cp       RET   write 17/0x11
71696 cp       CALL  close(0x3)
71696 cp       RET   close 0
71696 cp       CALL  close(0x4)
71696 cp       RET   close 0
71696 cp       CALL  exit(0x1)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]