X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: Date: Thu, 20 Dec 2007 20:53:38 -0500 From: "Mike Boone" To: cygwin AT cygwin DOT com Subject: Re: Ruby on Rails 2.0.2/Cygwin Bug In-Reply-To: <9ae083a20712201329s46afd5cm1cd6a350df368941@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9ae083a20712201329s46afd5cm1cd6a350df368941 AT mail DOT gmail DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com OK, I modified the Rails source code to add the puts statement just above the statement that reads from /dev/urandom. I then ran strace again and looked for the relevant section of the output. I trimmed out the leading numeric stuff so I could run a diff on them. Here is the output of the failing strace: stat_worker: 0 = (/dev/urandom, 0x2402BD0) sig_send: sendsig 0x6F8, pid 2152, signal -34, its_me 1 sig_send: wakeup 0x6E0 sig_send: Waiting for pack.wakeup 0x6E0 wait_sig: signalling pack.wakeup 0x6E0 sig_send: returning 0x0 from sending signal -34 Here is the output of the working strace (with the extra puts statement): stat_worker: 0 = (/dev/urandom, 0x2402BD0) get_file_attribute: file: C:\cygwin\home\mb\some disk file cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-1614895754-1935655697-1343024091-1003 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1614895754-1935655697-1343024091-513 get_info_from_sd: ACL 1A4, uid 1003, gid 513 fhandler_base::fstat_helper: 0 = fstat (, 0x2404810) st_atime=476B0E59 st_size=56814726, st_mode=0x81A4, st_ino=19703248369749074, sizeof=96 fstat64: 0 = fstat (1, 0x2404810) sig_send: sendsig 0x710, pid 3160, signal -34, its_me 1 sig_send: wakeup 0x6F4 sig_send: Waiting for pack.wakeup 0x6F4 wait_sig: signalling pack.wakeup 0x6F4 sig_send: returning 0x0 from sending signal -34 There are some other diffs since the modified code continues on to successfully complete, but this is the section that references /dev/urandom and has diffs. Can anyone make sense of it? Thanks, Mike Boone http://boonedocks.net/mike/ -- 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/