From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64739 invoked by alias); 22 Oct 2015 13:48:21 -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 64250 invoked by uid 89); 22 Oct 2015 13:48:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,PDF_ATTACHED autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Oct 2015 13:48:20 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id DB3DCA803AF; Thu, 22 Oct 2015 15:48:17 +0200 (CEST) Date: Thu, 22 Oct 2015 16:21:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Bad Address with /cygdrive paths Message-ID: <20151022134817.GB5319@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20151021110950.GP5319@calimero.vinschen.de> <20151021160631.GB19868@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7d9k4kQHj3EPdFyS" Content-Disposition: inline In-Reply-To: <20151021160631.GB19868@calimero.vinschen.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-10/txt/msg00373.txt.bz2 --7d9k4kQHj3EPdFyS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2183 On Oct 21 18:06, Corinna Vinschen wrote: > On Oct 21 08:24, Barry Roberts wrote: > > Attached is the strace output. >=20 > Thanks. >=20 > The culprit are apparently some weird User and Group SIDs. >=20 > 34 22501 [main] ls 3428 build_fh_pc: fh 0x180329B20, dev 000000C3 > 26 22527 [main] ls 3428 stat_worker: (\??\M:\install, 0x600039B40, 0= x180329B20), file_attributes 16 > 539 23066 [main] ls 3428 cygpsid::debug_print: get_sids_info: owner S= ID =3D S-1-81-0-0 > 39 23105 [main] ls 3428 cygpsid::debug_print: get_sids_info: group S= ID =3D S-1-0 > 227 23332 [main] ls 3428 pwdgrp::fetch_account_from_windows: LookupAc= countSid(S-1-81-0-0), Win32 error 1332 > 36 23368 [main] ls 3428 pwdgrp::fetch_account_from_windows: line: > 198 23566 [main] ls 3428 pwdgrp::fetch_account_from_windows: LookupAc= countSid(S-1-0), Win32 error 1332 > 34 23600 [main] ls 3428 pwdgrp::fetch_account_from_windows: line: > --- Process 3428, exception c0000005 at 00007FFA1856A774 >=20 > Granted, it's not nice of Cygwin to SEGV here, but I do wonder where > the SIDs S-1-81-0-0 and S-1-0 are coming from. They are both invalid > as far as I can see. >=20 > Hmm. The problem is to reproduce this to find out where this happens. > The exception address is inside a Windows DLL :-P I could reproduce this and applied a patch which allows to proceed. However. The problem was that the SID S-1-0 has a subauthority count of 0, which is really weird. S-1-0-0 would be the NULL SID, but while S-1-0 is a valid SID (the so-called NULL SID authority), it's no valid account and as such can't be converted to a valid account. And the user SID isn't much better. S-1-81 is no well known SID authority at all. It's handled by Cygwin without much problems, but of course that SID can't be converted to an account either. Do you have any explanation where these broken SIDs are coming from? Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --7d9k4kQHj3EPdFyS Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWKOkhAAoJEPU2Bp2uRE+gWX4P+gOpAOp+KTsEw0GtdVGhrLZy DuDcqLYksgDxALXs4qf2WP8Fof9u7Rit8Epiwjnm8WXvxybk58Dzaecl7q00TRt7 1rN1xPQiR6U0JHY+XD6MLNM4OIt12d10k0qFUPtbAHFgTgbLPNHSmc+iPBlGfBhj QFZCWF0BtE9bNHjJV4waVv0WIDCmQ+ReCZZLnFC137Ecflrtc8Cz6j1soUgUwhFw +XSTuLxmShlW2/O5afJvlcJDDGGIEqBW4mX3jMHDAIL8BnDxVtSBTFz5+2JM2rS3 XVrRylCaPfEzAoqsOlUYe36ury/PP6SsDZ2YIfLBxuX6cAa9sFIUaD6DITbz1fYy zTf0VrMSdAsGmimiUHwUJ5P5jTQUP3bHU5bd49ai00cJBRPnw2Mbsa5iYG5UcaGs pzIlEWrWjypYpbZsGxFmU8TkDyH3+pngpXgCUB4PX1DPRQ4sLo2b5aefNpLmKmdJ M5xAxQtV4/05EN+cwrrh1ABCuiI7DQCYOb/Q8qP/IoqfXX2OsOZYFMGHmuWOyUqB c0oWWY1zh814jqt+gvBNHWh4zouv/LEEvMitEDwUnMrz5Wiwquu6VRUC211nk9HH Lq7UAygGhPtfknS6EDYu6yOB4xNLa1Sxj/iiu6zpBY/xnvOhGNY0kl97seCJqNfr BGfc4XbthmzYcBQaxIVG =toXV -----END PGP SIGNATURE----- --7d9k4kQHj3EPdFyS--