From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id F36543853D41 for ; Thu, 17 Nov 2022 18:38:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F36543853D41 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-il1-x131.google.com with SMTP id bp12so1345961ilb.9 for ; Thu, 17 Nov 2022 10:38:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=elCAV4eK8WRZFesbvmgB5XycBu7J2gRyqhyBWQAWGsQ=; b=JpwJUlAW1+/D43MSdRjJVJ9SpG3W0MPwpJm2Q/2AKpdPpag6onOlT729Ovjx5YXOVE xCFlo+RJEoF+QWTUMKYEgWel2gOyssWZyC4u6LjbDe6HwwM1xXLFTo0Y0incJ7XNtRpv t0rKTeOiO/UFITuApCbaP/HYX6vkRWxrhbyaXqVqG6GLTDIIa/XiGcazfbBQqm8pKB9s OeZc1YY+oVmmDwVmUtuge+nMTnaS+g2vQjIy4sizeyiiy5UpjfEVkq+Sg6pbR5ZEeyNs mlbg6JLVaBLZQpT7ADWUguU+TPx1ZVbd0A4i46I5Cx1Eo5WFdVX5u+PPHTLvdWjqO9R0 m/8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=elCAV4eK8WRZFesbvmgB5XycBu7J2gRyqhyBWQAWGsQ=; b=prfrIpzXfcSE9tn1NvVVXMS4Ct1W/5XLjJ6gb2uu/keadieq5Hdssii45/ZQiFbMfP 0FMslgpHi+pXTefgixC1hYCSCgXyXTusZYDDTzyrHp6Kn73WX5Rj835Pg6tsguWQYYpd Lii0eTtm3Ifm09hAln+NLuNkWhj5JgUFP+ypQ1+r6ZnLIS0MzQtwJoRSpF+47OrKLkHp eMlGb1NgzhjBYA84pAsDblTAMecp3Yuuk14/IW/Vg5Z88W8xjTm8RP8DJOn3rtZEGwQh gW5NkOTC+bSupgMnMZf7tDgk483mVM2szm/SXS+N2cYNMiymcnJvoKBXmwWJGFd8eVMy eGPw== X-Gm-Message-State: ANoB5pnSTQB4cWMeWdMMro76G6XJY8UKi3dXsLxqrb1hootO9ALyoC0T HtRcOt78yRfGW7sizASNCyeHtQ== X-Google-Smtp-Source: AA0mqf4m3tAq11ujYNO+eWrzTQYlxyrffo0KvfD2SOtVduWy6ZzR6Fh20As+lrsaw6hEq3xf0C1mww== X-Received: by 2002:a92:c506:0:b0:302:4981:64b with SMTP id r6-20020a92c506000000b003024981064bmr1805243ilg.200.1668710303248; Thu, 17 Nov 2022 10:38:23 -0800 (PST) Received: from murgatroyd (97-122-76-186.hlrn.qwest.net. [97.122.76.186]) by smtp.gmail.com with ESMTPSA id g63-20020a028545000000b0037556012c63sm470980jai.132.2022.11.17.10.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 10:38:22 -0800 (PST) From: Tom Tromey To: Jon Turney Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH 2/2] Implement target async for Windows References: <20220803130822.735057-1-tromey@adacore.com> <20220803130822.735057-3-tromey@adacore.com> <87bkph46uf.fsf@tromey.com> X-Attribution: Tom Date: Thu, 17 Nov 2022 11:38:22 -0700 In-Reply-To: (Jon Turney's message of "Thu, 17 Nov 2022 14:33:21 +0000") Message-ID: <87tu2xs9y9.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Jon" == Jon Turney writes: Jon> Using the language of the standard, the cause would probably be better Jon> described as "unordered dynamic initialization of non-local variables Jon> with static storage duration" or something like that. The normal name in the C++ community is the "static initialization order fiasco": https://en.cppreference.com/w/cpp/language/siof Jon> Yes, that fixes the crash, also. Jon> Please apply, if you are happy with it. I'll check it in shortly. Thanks for trying it. Tom