From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by sourceware.org (Postfix) with ESMTPS id 448C03857011 for ; Fri, 10 Jul 2020 23:02:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 448C03857011 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=alves.ped@gmail.com Received: by mail-wm1-f67.google.com with SMTP id j18so7670374wmi.3 for ; Fri, 10 Jul 2020 16:02:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FMTKWfMmU5AXhvP5K1ogvO3Wo60LFDNDpa+yDSew9r4=; b=Hb17K1Ree3Budzt0UNDUFK/ZglKL4zAthxL3xBBroQIBwIAQnEyBBgwzsELmgonbMG 6d6NeB+qQL+pn7PfSUcsXCvoQfbX995nq1dUMauibJztcgelek0l8S/gJn7SSis1WIiF Nf+ivHKJONvgStoXx32PLDxYVzfVFuTwrFfkYDuK86SQL9Y6m3Df6QSf+htS/NU4uL65 XUErVH2VkkIMCUMeRdjRi7rhrS/+qzdYn0UPnn4lgsBuzC3tCpuwMVVoyUMqGYTXfr8E iBKjD9RMeAkl1PNNJLMr9CufrOD9pfjmclu4SUxWO2o3ZUixzfLXWkPIPc1rkpFDNcgH OIxw== X-Gm-Message-State: AOAM5308PmUrcNWXiP8xGWoirsglmnEgtYjpvHe7gdqHNV/UHud4sW6h Y76L5bjmAQ6GVLRAhYW9b4XumqVIXHs= X-Google-Smtp-Source: ABdhPJyuGHg13jFocMG3uAER2yyL7sSINh8UFVwr6x2xjBXwj7oS3zWj6/4ERH0rD2rwFIVcyngMLw== X-Received: by 2002:a1c:6408:: with SMTP id y8mr7133662wmb.122.1594422177638; Fri, 10 Jul 2020 16:02:57 -0700 (PDT) Received: from ?IPv6:2001:8a0:f91a:c400:56ee:75ff:fe8d:232b? ([2001:8a0:f91a:c400:56ee:75ff:fe8d:232b]) by smtp.gmail.com with ESMTPSA id n125sm11446229wme.30.2020.07.10.16.02.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jul 2020 16:02:56 -0700 (PDT) Subject: Re: [PATCH 0/3] Fix crash if connection drops in scoped_restore_current_thread's ctor From: Pedro Alves To: gdb-patches@sourceware.org References: <20200708233125.1030-1-pedro@palves.net> Message-ID: Date: Sat, 11 Jul 2020 00:02:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20200708233125.1030-1-pedro@palves.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, 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: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2020 23:03:00 -0000 On 7/9/20 12:31 AM, Pedro Alves wrote: > (I have internet again: found a sim card of a different operator that > works. This will do until the communications tower near me is > repaired and get I fiber back...) > > This series fixes the crashes exposed by the > gdb.multi/multi-target.exp testcase when run against an Asan-enabled > GDB build, initially reported by Simon here: > > https://sourceware.org/pipermail/gdb-patches/2020-July/170222.html > > The first two patches fix the crashes, and we should probably put them > in GDB 10. > > The last patch is a follow up that avoids swallowing exceptions in > scoped_restore_current_thread's dtor that I'm thinking would be a bit > too invasive to put in GDB 10, I think it could do with a longer > baking period in master. > > Pedro Alves (3): > Fix crash if connection drops in scoped_restore_current_thread's ctor, > part 1 > Fix crash if connection drops in scoped_restore_current_thread's ctor, > part 2 > Make scoped_restore_current_thread's cdtors exception free (RFC) I've now merged patches 1 and 2. Patch 3 will wait until after the branch is cut.