From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71913 invoked by alias); 11 Dec 2019 16:03: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 71905 invoked by uid 89); 11 Dec 2019 16:03:21 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=explained, kbrown, HX-Languages-Length:3025, pathcc X-HELO: NAM11-CO1-obe.outbound.protection.outlook.com Received: from mail-co1nam11on2119.outbound.protection.outlook.com (HELO NAM11-CO1-obe.outbound.protection.outlook.com) (40.107.220.119) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Dec 2019 16:03:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mHwTcBsWL3urm/8q/TIbXiYZvwTCbtqtyuqJxAOL8wm/wD2Toc7fzMsF+EosMcpiCZflJYK6S2UKqL/sKXkUVPX9GGpkIUDbVAmRy4oDJSEzw6XVaSfH//rxEvvUBWC0MmhZd43rGJvP9SZCt3oalk2PnZLP/nDapg36sVaHujc9F1grtSqZoOjENcloooryXBr43AccniLmQWovPYsFLKgU+1Bn+M3kExlMB7I2GD8aQMLKw1VNgwpGLGU/zBDpQ1G4tJqB3toOHKvT6F8x+8OK6LWpcegPvXKnPRhN0/nm7iU41jUhdv1eb/+7+MbP5EhFzC1jFZjAzV7VD2wDXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qXTm1tQuxb+xN5UD9l47w/vTZHQwXOt1zqK7d9SKBt8=; b=HIi9Gl0FDSqlBxojEYMcRc1S+xdGvmitvqoMK/02PFZ7235CkmOfWr7U7PFJhrCj7UpTU6s8lCIGJMidH0z8AcaNXw1rZcGCOIUeCTaDDSw4uO30QggwrYiiKCY12fvaunAiY5kcTpSlybS+bv11YfejFrx23kbLEeTL2HRHtVxsoTKjl0XuKEs7oQNyRxRbr4dGjzdxN0iBkszdUgAQZycEUwGfjvy0855iWbdQppxEpXt7qNsPuD9JOuBCu0LRllyKonNb7OZjrXnQVC5vanNsbizpMnjcbvIIaXKm3VxI5WM5zquy5JsEhwcrJrad/ABpqjjcbPTv/laLyZ5NYw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qXTm1tQuxb+xN5UD9l47w/vTZHQwXOt1zqK7d9SKBt8=; b=GlmNRhmqDwNgyMBwa4AZteTg5WiP3dPEG1L8QWA8n99DNMbh4kzuAe8DNbtoVfnKHl+UZFCKQJ6JcTTDvJKrmTABaCfSednGvobVhvCGs5RUM0S/zIOvonIIuN+qFnn6c5CuirRBpK/qLKFgtusHKEHML6V+ah3v+oqBFILKb2c= Received: from DM6PR04MB5738.namprd04.prod.outlook.com (20.179.51.81) by DM6PR04MB5500.namprd04.prod.outlook.com (20.178.227.207) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.17; Wed, 11 Dec 2019 16:03:15 +0000 Received: from DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::f894:edec:b80c:d524]) by DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::f894:edec:b80c:d524%3]) with mapi id 15.20.2516.018; Wed, 11 Dec 2019 16:03:15 +0000 From: Ken Brown To: "cygwin@cygwin.com" Subject: Re: assertion "p >= path" failed Date: Wed, 11 Dec 2019 23:51:00 -0000 Message-ID: References: <13b61476-6c41-1697-817e-652a695d3520@cornell.edu> <5b60cc71-fa1b-b972-10be-b37ff5756fab@rl.ac.uk> <46bc0b2e-a138-3e25-a403-4f3d6eff1651@rl.ac.uk> In-Reply-To: user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown@cornell.edu; x-ms-oob-tlc-oobclassifiers: OLM:10000; received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7+zAm/7Q3iNBo6Y3RUUk2OTMmqsdCz7HlvcyDGtixggAj+SfGCK8I2vPPRt5fMMQlY+3SnMSxnL64IkF0bWKNQ== X-IsSubscribed: yes X-SW-Source: 2019-12/txt/msg00070.txt.bz2 On 11/4/2019 7:49 AM, Tim Adye wrote: > Hi Ken, >=20 > On 31/10/2019 18:19, Ken Brown wrote: >> [Please don't top-post on this list.=A0 Thanks.] >> >> On 10/30/2019 7:56 PM, Tim Adye wrote: >>> I'm afraid I get a very similar error with 3.1.0-0.7: >>> >>> assertion "p >=3D path" failed: file >>> "/home/kbrown/src/cygpackages/cygwin/cygwin-3.1.0-0.7.x86_64/src/newlib= -cygwin/winsup/cygwin/path.cc",=20 >>> >>> line 2906, function: int symlink_info::check(char*, const suffix_info*, >>> fs_info&, path_conv_handle&) >> OK, so your issue is different from the one that was fixed. >> >>> Again following resume from hibernation after going offline with the of= fline >>> files as HOME (H:\). >> I'm not familiar with offline files, so it would help if you would expla= in this >> in complete detail. >=20 > Offline Files is a feature of Sync Center that makes network files availa= ble to=20 > a user, even if the network connection to the server is unavailable. Wind= ows=20 > keeps a copy of files stored on the network on the local computer. This a= llows=20 > users to work with them even when they are not connected to the network o= r a=20 > server is unavailable. The next time the user connects to the network or = the=20 > server is available, their offline files on your computer will automatica= lly=20 > sync to the network files on the server. >=20 > I have it set up to keep a local copy of a mapped network drive that hold= s my=20 > files (Cygwin $HOME). As I understand it (eg. explained in=20 > https://docs.microsoft.com/en-us/windows-server/storage/folder-redirectio= n/folder-redirection-rup-overview),=20 > when the system goes offline, Windows uses the "Folder Redirection" featu= re to=20 > redirect access to the client-side cache, C:\Windows\CSC. >=20 > I guess Cygwin can choke on this redirected path. >> It would also help if you could capture the assertion failure in a debug= ger.=A0 Do >> you know how to use gdb?=A0 If so, I would suggest attaching gdb to bash= before >> hibernating, and putting a breakpoint at symlink_info::check.=A0 Assumin= g that gdb >> is still usable after you resume from hibernation, we ought to be able t= o find >> the cause of the assertion failure. >=20 > I will try this, but it will be tricky, because I don't get the assertion= every=20 > time I go offline / hibernate. I'll see if I can work out how to provoke = the bug=20 > reliably. I don't remember the situation from every time it's happened, b= ut I=20 > think perhaps it can happen if there is a bash window open at the time. b= ash=20 > still works, but it can't run anything else, nor can I start any new proc= esses.=20 > If so, your test might be possible, but might not see the symptom, since = the=20 > problem seems to be in processes started by bash. But I'll try. Hi Tim, I don't know if you noticed the thread starting here: https://cygwin.com/ml/cygwin/2019-12/msg00016.html The problem reported there has been fixed, and I hope that the fix also wor= ks=20 for your problem. You can test it by installing the latest snapshot from=20 https://cygwin.com/snapshots/. Thanks. Ken -- 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