From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10953 invoked by alias); 5 Jun 2014 21:03:50 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 10943 invoked by uid 89); 5 Jun 2014 21:03:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 05 Jun 2014 21:03:48 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 07D96116202 for ; Thu, 5 Jun 2014 17:03:47 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id u3e-ejChzXRI for ; Thu, 5 Jun 2014 17:03:46 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id CB4CB116155 for ; Thu, 5 Jun 2014 17:03:46 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 9EDCE40EC0; Thu, 5 Jun 2014 14:03:49 -0700 (PDT) Date: Thu, 05 Jun 2014 21:03:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: gdb-7.8 branching status (2014-06-04) Message-ID: <20140605210349.GD4289@adacore.com> References: <20140604171843.GX30686@adacore.com> <20140604230324.GB4289@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140604230324.GB4289@adacore.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-06/txt/msg00287.txt.bz2 > > . I also noticed what looks like some failures with gdbserver > > on Windows, but I haven't had time to look into this. > > I am hoping it's the same issue was on LynxOS. > > I can now say with relative certainty that it isn't the same issue. > It looks related to the fact that target-async is enabled by default. > I'm still gathering evidence, but the the reproducer is a little racy; > it doesn't always fail, and doesn't always fail at the same point :-(. > > Sadly, I also noticed that the "maint set target-async" command is > missing on Windows hosts :-(. So that made testing my theory a little > more difficult, and added yet more work before we can cut the 7.8 > branch. But in any case, manually setting target_async_permitted > and target_async_permitted_1 (I am paranoid) to 0 allowed me to > pass my test 20 times in a row, as opposed to having it fail roughly > 12-15 times. Hmmmpf, really elusive one to track down as the problem becomes more and more elusive as you add traces. It looks like communication issue, although I don't have all the details yet. I created a PR: GDB+GDBserver hangs on Windows waiting for stop event since target-async on by default https://sourceware.org/bugzilla/show_bug.cgi?id=17028 I mentioned target-async in the subject since this seems to be the trigger that allowed the problem to show up, but so far, I don't see why this would make a difference. -- Joel