delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/21/08:22:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: FW: ls hanging with named pipes through samba
Date: Wed, 21 Aug 2002 14:22:04 +0200
Message-ID: <4635C7499BD3A14C9361477F0613ED9B179553@mx-dk1.vsc.vitesse.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Kaj Mikkelsen" <kmi AT vitesse DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g7LCMCZ14691

Cygwin version: 1.3.9 running under win2000 sp 2
samba version 2.2.4 and 2.2.5 on Redhat 7.2 kernel 2.4.18

If I have a named pipe in a directory, and tries to "ls -ald .*" cygwin will hang, and make the samba daemon hang as well.
 
 samba daemon is hanging in an open call to the named pipe
 (Output from strace below)
 Cannot figure out, why cygwin is trying tro open the file, when doing an ls?
 
 And it is not nfs specific, same result with other named pipes.
 
 Ideas?
 
 Tried to find the source for ls, but I am confused with the structure of the cvs repository
 Tried teh faq, and mail archive, with no luck
 Tried a google search: no luck.
 
 /Kaj
 
 
 ls from linux:
 prw-------    1 kmi      exbit           0 Aug 20 16:25 .nfs038406e500000048
 prw-------    1 kmi      exbit           0 Aug 20 16:25 .nfs038406e900000047 
 
 output from strace
 stat64(".nfs038406e500000048", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
 send(12, "\0\0\0`\377SMB2\0\0\0\0\210A\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 100, 0) = 100
 select(21, [5 12 20], NULL, NULL, {60, 0}) = 1 (in [12], left {60, 0})
 read(12, "\0\0\0i", 4)                  = 4
 read(12, "\377SMB\242\0\0\0\0\30\7H\0\0\0\0\0\0\0\0\0\0\0\0\2\0\310"..., 105) = 105
 gettimeofday({1029931277, 993106}, NULL) = 0
 geteuid32()                             = 2828
 setresuid32(0xffffffff, 0, 0xffffffff)  = 0
 geteuid32()                             = 0
 geteuid32()                             = 0
 getegid32()                             = 999
 setresgid32(0xffffffff, 0, 0xffffffff)  = 0
 getegid32()                             = 0
 getegid32()                             = 0
 setgroups32(0x3, 0x81e0488)             = 0
 setresgid32(0xffffffff, 0x3e7, 0xffffffff) = 0
 getegid32()                             = 999
 setresuid32(0xffffffff, 0xb0c, 0xffffffff) = 0
 geteuid32()                             = 2828
 stat64(".nfs038406e500000048", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
 gettimeofday({1029931277, 993590}, NULL) = 0
 fcntl64(0xd, 0xe, 0xbfffeed0, 0x81cc1b8) = 0
 open(".nfs038406e500000048", O_RDONLY|O_LARGEFILE
 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019