X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B51D83836C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1610988643; bh=DCGg0noQ3fMeH33DbvLfS021HcaQUI0Vyv0w3dnRHHo=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=sY3xaJng/fYkaceV0yIeE3CiB1fzgJ+FhntE47uK8Tm307Mfbj10ip9DBbkFBUMAM Tju612XQ5EiwTzYkHZPGZTyGr38fivrN/I8f+ZcoXx2UVX8dLWTEmcC0U0hBGUmPff RsMoJu16umZesY4k7j2YKthy/BKx8i5DU1IZIjyc= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AE9DC38618A5 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eRf9HK/nKCYtG4KA3lce6h0p09/CG5LqFNW6jAiw5df0ymx1EJ17u88a+X2qsvQo6vrZM/zxXvB6JN7SqUc+GhQf4/iKvJaRcLtvhDZtTfGV77undv/p2bn+7RVTpiiN0gtnFB+S2myp8o+GJZ8BRuDLD4lrKAhO6L8VCafCxJHpYjDiJMA0i/+A18sZ6kup9A8bjRSLV1DE8Al6jYU4IGB74ZQlbBcUM1NwXyN6/0QD55TpeAhRxHZAOwpB7AG70jdn+fAhp9tbYXmZW53YXnAFcI/+i/GfoXFI8RraJE7aRD4cHwZMBGfG7KJs7xtpRuWC28Je/n6CDe6G38AZZg== 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=VjS91Pd3Urkx29r4FVyVoVxyL/EqOIl0jQgyKpaMaZc=; b=fqbpr4i6NA4zQasqTEPtNCUZmJ89Q+sQohcmubvuI6oKqElTs2nSylsJPP5WqCSZnIKXnKt6vo+cVJz3xmtwCMz1uixRFVsUPhbXzdWwoUt0wIJvUFDHvcIwlUYfBm8FbOJhg6ey57W3sDjbIFyctzMG31mF38a9Ni1OEAJ5N9apsB3dw2kq20cuyPtgjKaT+0/iE/cLMekpH9MTCyatc0z0Xw7p3DN0Gg6Wqeb0/fdcXymVJFFc13WFWo+TFetcl0EFUa/QMn7uLgJpamrJfm29uPI34nHQ7YSUBwhlAgc5Vi2HTycFmgVsy3d2JRdrq9kzca1AYInJRRVD2PqFyQ== 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 Subject: Re: gdb not working To: cygwin AT cygwin DOT com References: <2585ec4c-4711-8f75-4166-c9905bc42e50 AT cornell DOT edu> Message-ID: Date: Mon, 18 Jan 2021 11:50:34 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 In-Reply-To: Content-Language: en-US X-Originating-IP: [65.112.130.200] X-ClientProxiedBy: BN3PR05CA0017.namprd05.prod.outlook.com (2603:10b6:400::27) To BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [10.13.22.4] (65.112.130.200) by BN3PR05CA0017.namprd05.prod.outlook.com (2603:10b6:400::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.9 via Frontend Transport; Mon, 18 Jan 2021 16:50:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e95a259f-1896-4b03-a55f-08d8bbd12dbb X-MS-TrafficTypeDiagnostic: BN8PR04MB6356: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +RrncauJGuqY+4COC9mgsZ0bnbV5yuGyJ/UxG6r3prbLBhQeOajiM+HX+A0oCzHouNwxECJ9QW/dZecRUr1aGhcD+qiFo1L3OtfwDd1YANNjcPSNUcgeBH8cpdVndkbF0iucMP6JT7qVHRf6PJv7FKyu1y8+jOtkKN0BLWFmBqGXDhIpQ9WO31vcGysRvNExJE//5+CqvmAcxcORhhcFBYmdb7Lm1yN6l6doNROcOW1rnXLL5SVPmWt9tlEBo8MJIudqMAlPPPkCi083PiLnxIMjpznB4lcV6a2ZmxfrA0ndaSsFl7YjpH01lT4MRy9vOZiHK0lVk/7P5+YaG3Sx4J4RhxlaITyaqvmtr/AsaadpoRzSyKO2UeT/ByQfw+2yvluSOElWiVtOBp/CC3OddFaog5fXvqr95Q0MoRV/0riLK/kfd24/meCGSXX5wrVlAL56c+TPIL2UdazC9vo9MjaNWD1EePRdTNskgINO3yc6RzKgKnoI7nSISP6OBZhddJ/fHSXybYAjD1jQaGWMw+OQbsX8Xjg9e3Ei2xh8F4o= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR04MB4388.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(396003)(376002)(346002)(136003)(8936002)(86362001)(5660300002)(75432002)(31686004)(8676002)(66946007)(6486002)(66556008)(66476007)(16576012)(478600001)(53546011)(7116003)(786003)(36756003)(52116002)(16526019)(186003)(6916009)(31696002)(83380400001)(2616005)(26005)(956004)(2906002)(316002)(3480700007)(43740500002)(45980500001)(460985005)(2480315003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?Windows-1252?Q?GiLjcg+tldP+Oc2yPCKPB5xW8NjzRbkdHC/L/NSlVehTmmSD+Xoh9QbC?= =?Windows-1252?Q?vtlLirZJBE4kxMAfnVlq7W4f7sLMrhw6bV+ieiRmLRBNXLUsGzDrG1e3?= =?Windows-1252?Q?LGSzPKyblqtcH2a2wTXNz71Ez74Rs/VFMp0itgfKOWB5zFkVc3cZhJLu?= =?Windows-1252?Q?27frSawjSy4Y5Rm3ggGLCagIubJTGNl3iNR4fSRBpc0j3CFs9nCbFzxm?= =?Windows-1252?Q?Kp1pcgYEJ0LHNM7Jqvza/Q6W8ONb28xDUDCAqZ+qTOD7dT7HfMqTUjZU?= =?Windows-1252?Q?eocfD1KdeMXb2hak1+UFSQ7zJ0v/beiV0lfictczivWPO+yvtgyiDPYe?= =?Windows-1252?Q?k4iJhCayqSlWvL2R00wUjLnu6hkK6xCcNBEBqCvDitNac0rLAwGmaDVk?= =?Windows-1252?Q?p6g/VwfLtsFb3StvleawEKAJIn7tiEf+GuoChGJGBxEHF/xgeHZQGbiy?= =?Windows-1252?Q?VFt0r+GRp28XALOJZJcDQhLv3QU4CDJXqZhd3eK6+B87wQe+A07eAQJJ?= =?Windows-1252?Q?zRj11nNu0VN2/nBAzLnOB+S9h2Ssx9qCJOCWSbuM8K214MOo8+hNVtpZ?= =?Windows-1252?Q?mAeXKsi1xyQIEpMZjVm4H4MiogizIjWSN0oxuAW2Kby82D6ZR88UjD7u?= =?Windows-1252?Q?dQTeeeua5ds7a1F7QTPcDXtIXlw2zN73GHwfXJxHQCAlc5b5CQCPkFr7?= =?Windows-1252?Q?s8/LzA2WWQfi4AMnbsq9DuO2ZCbKi5dEhGfxWllf1edN5Mo63vM3ByWc?= =?Windows-1252?Q?Qr4la2khzNgUA/eQeAfsoQ1H6V1jp710b040Mio+Uk9xa1w8w/+DshsD?= =?Windows-1252?Q?HLbcTqpthdQgIer+eqxArH4y1szigNLcJ/aE/YUQOAXMR4Ad9Yqq/nBc?= =?Windows-1252?Q?p413H8l+CK9RBfE3LD8engOJnBbxiQ8DXlyycyCbCixroA4AmfNcFQxV?= =?Windows-1252?Q?nlrMwc7n3bn1ebk7k1rA8uTwIrVoVw27klQUSpIVgNylGT+ZireczAP5?= =?Windows-1252?Q?WhNskGHCw0R+PH1jOyi7mpSrYVHYnZCMSXRKEt4FbGZ/v67gBOucIYLP?= =?Windows-1252?Q?rQuJK1sskF5eIVvv?= X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: e95a259f-1896-4b03-a55f-08d8bbd12dbb X-MS-Exchange-CrossTenant-AuthSource: BN7PR04MB4388.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2021 16:50:36.4335 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kYRrXsCcg0nT3o62D+UZD2vJX8dU2HcLN/yiPo5oahKWBV4lcWLASNBITGjYvTsXslDbv4fa8TLaEFB0hh/BXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR04MB6356 X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, MSGID_FROM_MTA_HEADER, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Ken Brown via Cygwin Reply-To: Ken Brown Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 1/18/2021 8:54 AM, Lemke, Michael SF/HZA-ZIC2 wrote: > On Monday, January 18, 2021 2:23 PM Marco Atzeri wrote: >> On 18.01.2021 14:08, Lemke, Michael SF/HZA-ZIC2 wrote: >>> On Friday, January 15, 2021 9:02 PM Ken Brown wrote: >>>> On 1/15/2021 1:47 PM, Lemke, Michael SF/HZA-ZIC2 wrote: >>>>> On Friday, January 15, 2021 4:45 PM Jon Turney wrote: >>>>>> On 15/01/2021 12:28, Lemke, Michael wrote: >>>>>>> I just installed a fresh copy of Cygwin and gdb with setup-x86_64.exe. >>>>>>> However, gdb does not produce any output. >>>>>>> >>> >>>> >>>>> Also ldd `which gdb` is >>>>> fine. >>>> >>>> Please show the output. >>> >>> pc> ldd `which gdb` >> >>> cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) >>> cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x3f8840000) >> >>> cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x170000) >> this is very low ^^^^ >>> cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x3600000) >> >>> cygicuuc61.dll => /usr/bin/cygicuuc61.dll (0x3fc240000) >>> cygicuuc61.dll => /usr/bin/cygicuuc61.dll (0x3600000) >> >> >> I do not see duplicate entries on my system. it seems a BLODA >> is interfering with dll's loading >> > > It might very well be. I also noticed the output of ldd is not reproducible. > It shows different duplicate entries when run repeatedly and the load > address you marked is also a duplicate: > > pc> ldd `which gdb`|grep --color gcc > cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) > cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x170000) > pc> ldd `which gdb` | grep --color gcc > cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) > pc> ldd `which gdb` | grep --color gcc > cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) > pc> ldd `which gdb` | grep --color gcc > cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) > pc> ldd `which gdb` | grep --color gcc > cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) > pc> ldd `which gdb` | grep --color gcc > cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) > pc> ldd `which gdb` | grep --color gcc > cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) > cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x170000) > pc> ldd `which gdb` | grep --color gcc > cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) > pc> ldd `which gdb` | grep --color gcc > cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) > cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0xa0000) > > Hm, is gdb dependent on gcc? I just noticed my gcc is apparently broken: > pc> cygcheck -c gcc > Cygwin Package Information > Package Version Status The package containing gcc is called "gcc-core", not "gcc": $ cygcheck -f /usr/bin/gcc.exe gcc-core-10.2.0-1 $ cygcheck -c gcc-core Cygwin Package Information Package Version Status gcc-core 10.2.0-1 OK > Other than going through the published BLODA list is there a way I could > test and find out what is interfering? I ask because we have a lot of > stuff installed for teleworking, especially on the network side. You can sometimes catch BLODA by running strace. It may show some DLL being loaded that shouldn't be, typically from security software. Ken -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple