From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7127 invoked by alias); 28 Jun 2013 09:19:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 7095 invoked by uid 89); 28 Jun 2013 09:19:11 -0000 X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_BG,TW_BL autolearn=ham version=3.3.1 Received: from mail-pa0-f49.google.com (HELO mail-pa0-f49.google.com) (209.85.220.49) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 28 Jun 2013 09:19:09 +0000 Received: by mail-pa0-f49.google.com with SMTP id ld11so2182628pab.36 for ; Fri, 28 Jun 2013 02:19:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:sender:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :thread-index:content-language:x-gm-message-state; bh=+4hu/eQNFJZubWNhvecITlWVrcE/kq/o9RHnrV8u9/Q=; b=CmD4jAFDXBH7MAZRpsEGiWy/ZU6uDDppaD5xkT3QX43UBbcaxRbJoXCunceeJO3Gda klR+kCS8Lbcp+GRLfdhZt7YkjhGjZFR6D10A7jJ34SHryr3AE6pz0ysRrNkKr4eF33Vg lDDcaoQp6MBeV36WfCiawOv4MlYqrvPUU4OLhwF+fA3KhOlhjGzXka3klcIiJsJphBtz mFWVBmzjilJJACwetytNajLGATbqZns8KTc5NL3PxIWKMA4sAUW08U2Yx5k8A6OyxqPa wUbjWB0Vrm6Bs7cqFO5+ThK/tnh86GhiOOe8c64N7jTzuQT8MPQVEhtp8B0R6eMxQfRS 7hxg== X-Received: by 10.66.190.104 with SMTP id gp8mr10564320pac.84.1372411148313; Fri, 28 Jun 2013 02:19:08 -0700 (PDT) Received: from weaksauce (malth.us. [75.147.143.249]) by mx.google.com with ESMTPSA id eq5sm7268303pbc.15.2013.06.28.02.19.06 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 28 Jun 2013 02:19:07 -0700 (PDT) From: To: Cc: "'Alan W. Irwin'" References: In-Reply-To: Subject: RE: Failure with fork() Date: Fri, 28 Jun 2013 09:40:00 -0000 Message-ID: <00b601ce73e0$87e20c10$97a62430$@malth.us> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQke1jR+ZnpbCVIRpltFv5KshydxvNpN/nm9oB7bSlv1mlEd4HJR3Pv43G38x1tQjDB5YXxm X-SW-Source: 2013-06/txt/msg00719.txt.bz2 on Thu, 27 Jun 2013, at 23:42, Alan W. Irwin thusly quipped: > I am getting absolutely nowhere. Nonsense, you've now found the "next bug" that will be stopping cygwin from= working in wine until it's fixed. I thought that was the point of the exe= rcise? :) > A script run by setup.exe in the latter part of the install steps > appears to hang now with or without updating cygwin1.dll to the > fork-fixed version. I got this result for two versions of > wine which I have heavily tested in other ways, wine-1.5.19, and > a wine-git version near wine-1.6.0-rc1. >=20 > Here are the last few messages before the hang: >=20 > Installing file cygfile:///usr/share/man/man1/xzfgrep.1.gz > AddAccessAllowedAce(, group) failed: 1337 Installing file > cygfile:///usr/share/man/man1/xzgrep.1.gz AddAccessAllowedAce(, > group) failed: 1337 Installing file > cygfile:///usr/share/man/man1/xzless.1.gz AddAccessAllowedAce(, > group) failed: 1337 Installing file > cygfile:///usr/share/man/man1/xzmore.1.gz AddAccessAllowedAce(, > group) failed: 1337 AddAccessAllowedAce(, group) failed: 1337 > Extracting from > file://Z:\home\wine\newstart\cygwin\packages/http%3a%2f%2fmirrors.k > ernel. > org%2fsourceware%2fcygwin%2f/release/zlib/zlib0/zlib0-1.2.8-1.tar.b > z2 Installing file cygfile:///usr/bin/cygz.dll > AddAccessAllowedAce(, group) failed: 1337 AddAccessAllowedAce(, > group) Interesting but probably not the problem. > failed: 1337 Visited: 51 nodes out of 2986 while creating > dependency order. Dependency order of packages: base-cygwin sed > gzip libpcre0 gettext grep libmpfr4 gawk tzcode libgmp3 libattr1 > libncurses10 texinfo _update-info-dir libreadline7 terminfo > libstdc++6 libncursesw10 libiconv2 libintl8 bash coreutils cygwin > libgcc1 dash rebase _autorebase alternatives findutils base-files > libbz2_1 bzip2 libpopt0 cygutils diffutils dos2unix editrights > zlib0 file groff ipc-utils less liblzma5 login xz man mintty run > tar vim-minimal which running: > Z:\home\wine\newstart\cygwin\bin\bash.exe --norc --noprofile > "/etc/postinstall/000-cygwin-post-install.sh" >=20 > There is no obvious chance that I can see before that hang where I can > overwrite cygwin1.dll with the corrected version. See my previous post for a detailed, step-by-step explanation of how to run= setup.exe without installing the cygwin package. Then you won't need to r= ace the installer---just drop your binaries in before you run setup.exe. > However, if I exit > the hang, overwrite cygwin1.dll, and run the above script > by hand it still hung (no cpu activity and no change in the > cygwin tree that changes its total size as measured to > the nearest byte with "du -s --bytes cygwin") for ~20 minutes > before I gave up. A new behavior! This was the second best outcome you could have possibly h= oped for. > By the way, after exiting after the first hang, if I simply > overwrite cygwin1.dll with the corrected version, then > run setup.exe the install stage errors out immediately with > the message "Can't open package database for writing. File exists." If it happens right away that's a message from setup.exe, not cygwin1.dll. = If you deleted cygwin1.dll or put the old one back, you would almost certa= inly get the same result. cygwin's /etc/setup contains the database in que= stion. > Instead, at that time I got the exact error > message when running the above script concerning an unhandled page > fault that others have described at > http://bugs.winehq.org/show_bug.cgi?id=3D24018 and which the > fork-fixed cygwin1.dll is supposed to fix. So presumably Cygwin's > bash.exe or some application executed by the above script has > changed in the last month to cause the different wine symptoms. Or > I am inadvertently doing something different than I did a month > ago. The old behavior was caused by a bug, clearly. That bug has been around fo= r ages or so people are reporting. Perhaps, that bug is now fixed, or at l= east changed (like a maggot into a housefly). Either way, yes, wine folks= now have a "new" problem to look at. But this does not imply a new bug wa= s introduced into the wine code-base, DUCY? The Occam's Razor explanation is that, now that it no longer crashes due to= the old bug, wine gets a little bit further down the "correct" code path, = before crashing in some new way -- one that you are possibly the first pers= on -- but also very probably not the last -- ever to observe, but which was= nevertheless "there all along" in the wine (or cygwin) codebase, waiting t= o be discovered after this one got fixed. > So unless someone can suggest a method to get around the "Can't open > package database for writing. File exists." message, and assuming > that method doesn't subsequently run into the script hang (which is a > big if), then I think it is time for someone with a lot more wine and > cygwin expertise than me to take over here to attempt to try and > figure out a way to run setup.exe on Wine with fork-fixed cygwin1.dll > overwriting the buggy version. Sorry, I assumed you were a wine hacker in my previous post. Unless you're willing to tackle some potentially very steep learning curves= , your best bet is to post your experiences to wine's bugzilla, if you have= n't done so yet, and let the wine developers take it from there. You may or may not reach the promised-land anytime soon. If I had to, I'd = guess that once one fixes this new-but-maybe-old bug, another new-but-maybe= -old bug is exposed, and once one fixes that, another, and so on, for "a wh= ile yet" before cygwin works "like a champ" in wine... the good news is, bo= th projects are open source, so anybody sufficiently determined and "-fu"-l= y equipped can fix those bugs without poring over tons of disassembled bina= ry code and trace-logs. -gmt -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple