This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

diff: Resource temporarily unavailable


Hi

We're using a version of Cygwin that's at least a year old.  Someone
found today that he can't diff two large files (200MB each) across the
network using Cygwin.  The error we get is:

$ diff //samba/damita-nobackup/chitra/SWFILES/OIP/RF_Testing/OIP01_SWRF_IO.txt //samba/damita-nobackup/chitra/3F01/OIP/RF_Testing/OIP01_HWRF_IO.txt 
diff: //samba/damita-nobackup/chitra/SWFILES/OIP/RF_Testing/OIP01_SWRF_IO.txt: Resource temporarily unavailable

If we copy the files across the network using Cygwin cp and then diff
locally, it does work.

I had a look at http://cygwin.com/faq/faq.using.html#faq.using.bloda
but I don't think we fall into that situation.

I've included a small portion of an strace - is this an interesting
bug, or something that's been fixed a while ago?

(Fixed a while ago and therefore an indication we should once more go
looking for a working Cygwin mirror - rsync.planetmirror.com has been
broken for about 2 months now - and try a test install of the latest
version and check everything we depend on still works as it used to, or
else plan how to change our systems to work.)

luke

149319  253053 [main] diff 2192 fhandler_base::raw_read: ReadFile //samba/damita-nobackup/chitra/SWFILES/OIP/RF_Testing/OIP01_SWRF_IO.txt(0x704) failed, Win32 error 1450
  142  253195 [main] diff 2192 seterrno_from_win_error: /ext/build/netrel/src/cygwin-1.5.23-1/winsup/cygwin/fhandler.cc:273 windows error 1450
 1025  254220 [main] diff 2192 geterrno_from_win_error: windows error 1450 == errno 11
   55  254275 [main] diff 2192 __set_errno: void seterrno_from_win_error(const char*, int, DWORD):310 val 11
   57  254332 [main] diff 2192 fhandler_base::read: returning -1, binary mode
   56  254388 [main] diff 2192 readv: -1 = readv (3, 0x22C8A0, 1), errno 11
  420  254808 [main] diff 2192 sig_send: sendsig 0x70C, pid 2192, signal -34, its_me 1
   68  254876 [main] diff 2192 sig_send: wakeup 0x6F8
   65  254941 [main] diff 2192 sig_send: Waiting for pack.wakeup 0x6F8
   62  255003 [sig] diff 2192 wait_sig: signalling pack.wakeup 0x6F8
   73  255076 [main] diff 2192 sig_send: returning 0x0 from sending signal -34
  110  255186 [main] diff 2192 fhandler_base::write: binary write
diff:   351  255537 [main] diff 2192 sig_send: sendsig 0x70C, pid 2192, signal -34, its_me 1
   60  255597 [main] diff 2192 sig_send: wakeup 0x6F8
  108  255705 [main] diff 2192 sig_send: Waiting for pack.wakeup 0x6F8
   70  255775 [sig] diff 2192 wait_sig: signalling pack.wakeup 0x6F8
   69  255844 [main] diff 2192 sig_send: returning 0x0 from sending signal -34
  100  255944 [main] diff 2192 fhandler_base::write: binary write
SWFILES/OIP/RF_Testing/OIP01_SWRF_IO.txt  370  256314 [main] diff 2192 sig_send: sendsig 0x70C, pid 2192, signal -34, its_me 1
   60  256374 [main] diff 2192 sig_send: wakeup 0x6F8
   61  256435 [main] diff 2192 sig_send: Waiting for pack.wakeup 0x6F8
   59  256494 [sig] diff 2192 wait_sig: signalling pack.wakeup 0x6F8
   68  256562 [main] diff 2192 sig_send: returning 0x0 from sending signal -34
  119  256681 [main] diff 2192 fhandler_base::write: binary write
: Resource temporarily unavailable  204  256885 [main] diff 2192 sig_send: sendsig 0x70C, pid 2192, signal -34, its_me 1
   59  256944 [main] diff 2192 sig_send: wakeup 0x6F8
   61  257005 [main] diff 2192 sig_send: Waiting for pack.wakeup 0x6F8
   67  257072 [sig] diff 2192 wait_sig: signalling pack.wakeup 0x6F8
   67  257139 [main] diff 2192 sig_send: returning 0x0 from sending signal -34
  100  257239 [main] diff 2192 fhandler_base::write: binary write

  509  257748 [main] diff 2192 close: close (0)
   60  257808 [main] diff 2192 fhandler_base::close: closing  handle 0x160
   62  257870 [main] diff 2192 close: 0 = close (0)
  379  258249 [main] diff 2192 close: close (1)
   51  258300 [main] diff 2192 fhandler_base::close: closing  handle 0x164
   57  258357 [main] diff 2192 close: 0 = close (1)
  408  258765 [main] diff 2192 close: close (2)
   51  258816 [main] diff 2192 fhandler_base::close: closing  handle 0x7D8
   56  258872 [main] diff 2192 close: 0 = close (2)
  220  259092 [main] diff 2192 do_exit: do_exit (512), exit_state 0
   56  259148 [main] diff 2192 void: 0x0 = signal (20, 0x1)
   53  259201 [main] diff 2192 void: 0x0 = signal (1, 0x1)
   52  259253 [main] diff 2192 void: 0x0 = signal (2, 0x1)
   52  259305 [main] diff 2192 void: 0x0 = signal (3, 0x1)
   52  259357 [main] diff 2192 fhandler_base::close: closing //samba/damita-nobackup/chitra/SWFILES/OIP/RF_Testing/OIP01_SWRF_IO.txt handle 0x704
  727  260084 [main] diff 2192 fhandler_base::close: closing //samba/damita-nobackup/chitra/3F01/OIP/RF_Testing/OIP01_HWRF_IO.txt handle 0x6FC
  536  260620 [main] diff 2192 sigproc_terminate: entering
   46  260666 [main] diff 2192 sig_send: sendsig 0x70C, pid 2192, signal -42, its_me 1
   45  260711 [main] diff 2192 sig_send: Not waiting for sigcomplete.  its_me 1 signal -42
   38  260749 [main] diff 2192 sig_send: returning 0x0 from sending signal -42
   36  260785 [main] diff 2192 proc_terminate: nprocs 0
   36  260821 [main] diff 2192 proc_terminate: leaving
[etc.]


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]