X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 668AC386DC73 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=K0XEb/AuGbSNzO/nxWC/0bw6b+lhGeSCq4GdhzhtYwg=; b=N8rp5sy79kmM9CPI+LwUV8lcYGM3Lb+Y/v7VAX7VVmxr0uywB7nRyis6rt53pzkL+q Ht/F9thtLp+1d1N6iRkCEcRtwhWw1nt5kPKrkozbRbY4WvtZB1F/0igSJDXhdNxIEw+O U4Gb3NqdmI2y0nEz/bDXRqCFB9m1fm3iIO/BnPoU+SWoAkMOrhKks61anVC60uhTFRyO hIfzzex1Z7plyVPHsZbDmBeTWkYL7rM7UaNl2xrcgMSKuUd1UrLV19z6jUwXtzLKk3eb HSBpi7Hvp2jci+7OEZH5Rh1J/H+39gIbVGMQH2dVtTgUe3oXYdc7Nfz1MYtxwYHkXTSn 2bEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=K0XEb/AuGbSNzO/nxWC/0bw6b+lhGeSCq4GdhzhtYwg=; b=y+9MvnpsUQTPeA64wQa2yGnJDthewl1LeHjOGfNXLmYcvOi3PzSRjFrZxSX5t/p4vt 3c2lycdCMDS2qy9+NyxbbyrGuhZUmEC0ro/o4sjtM8X836byZxbe1jUlJTPW/EMuclIa RoyAe4i9EkOmltbHFgJvBhpgK7l8xDkrD3QqZqOWSH9ejMgGDaFpXD0BNBGKWq9cF76a FbCsIaJq2VtX1HJtRXcHosPDOmbpdYro8WngCpUeajWdOh0EQP9qXR4y1y0UunPEoCX5 HMxuIeay3FTnMCS/qj23T5RYWigxopaiFxIdHcq06Mj97+VlQsPe3QhP9UCSQnDHsnS9 wNXw== X-Gm-Message-State: AJIora+GwCMVWK+znuZCfdksomUK/mC/prfCEvpyyMUnKPzNBCeaDyx9 35E8G51VaNtrzF7/ZKMq+Pinw8EI4QzKO2EFZ83GBBrk X-Google-Smtp-Source: AGRyM1vmJquwGU4+asdFx8YvRpCfGgRlOfHr1/XuoFuenWMx5/XBpLRsGvN47AfPbWc2OvIKjbBJzgcHQsfgfVm38H0= X-Received: by 2002:a17:906:58d5:b0:722:fc0b:305a with SMTP id e21-20020a17090658d500b00722fc0b305amr10654756ejs.251.1656307548097; Sun, 26 Jun 2022 22:25:48 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <2b8a6f98-baa9-6ff4-e762-003958eb880c@dronecode.org.uk> References: <2b8a6f98-baa9-6ff4-e762-003958eb880c AT dronecode DOT org DOT uk> From: Ariel Burbaickij Date: Mon, 27 Jun 2022 07:25:47 +0200 Message-ID: Subject: Re: gdb itself core dumps To: Jon Turney X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: , Cc: The Cygwin Mailing List Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" OK, thank you for your reply. Will do and will let you know. Reproducibility, should details of it be needed, is not an issue as the program I tried to debug is open-source and easily available. Kind Regards Ariel Burbaickij On Sunday, June 26, 2022, Jon Turney wrote: > On 24/06/2022 15:13, Ariel Burbaickij wrote: > >> Hello mailing list, >> >> I was in the middle of deep debugging session when following happened: >> >> 103 allocate(size_type __n, const void* = static_cast> void*>(0)) >> (gdb) s >> __wrap__Znwm (sz=85) at >> /usr/src/debug/cygwin-3.3.5-1/winsup/cygwin/libstdcxx_wrapper.cc:55 >> 55 return (*user_data->cxx_malloc->oper_new) (sz); >> (gdb) s >> /cygdrive/d/a/scallywag/gdb/gdb-11.2-1.x86_64/src/gdb-11.2/ >> gdb/infrun.c:2550: >> internal-error: void resume_1(gdb_signal): Assertion >> `pc_in_thread_step_range (pc, tp)' failed. >> A problem internal to GDB has been detected, >> further debugging may prove unreliable. >> ... >> application level programm (open source under GNU) from which I stepped >> into allocator crashes also somewhere near, so right now I am not sure >> what >> exactly gdb stumbles upon. GDB Core file is available. How do we proceed >> from here ? >> > > In the first place, please try the gdb 12.1 test package (available > through cygwin setup). > > If that doesn't improve matters, some details about how to (simply) > reproduce the problem would be nice. > > -- 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