X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:references:to:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=mQTc/dCeHtFCj62Q +kYnZhYROh++oOJwCf6oeQV2CHgJEMevVs7pIpbYIcU/zav6/Wqb1qNpkKfYeqqy /A0C89RYdvnGgxrkzE1V+1KiEKEtrhTJ7WFrCX+TDr+EO/oDklCrXcUUN34etfiP WexTmeDXrHohdO2r2p3pdrvEGWQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:references:to:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=cBHs7PKEDyB/4RBvS/M68s kMqIE=; b=TyzpP4m9/acxkJLJ65+nk9IcxF+Q0j7uLI9RMgRkcKI9M7h+BxERTr GsFqlFj1ml/E2yzspwA4oEnfIk5iBcrwAGWCJ2pm8AfAVfiJ0rom9S6UFJg6YE+j /brNfYrthEFVbLyXQ9g64I7TBtRMcKfeswCkk953Y/EhY31gU7DNo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Today, reto, Hx-spam-relays-external:ESMTPA X-HELO: out1-smtp.messagingengine.com Subject: Re: gdb : Exception in SetThreadName(unsigned long, char const*) () from /usr/bin/cygwin1.dll References: <48e78f73-875e-42db-f9a9-4d4d445799ed AT dronecode DOT org DOT uk> To: cygwin AT cygwin DOT com From: Jon Turney Message-ID: <13601a36-3e6f-7201-acb2-533a1a145de4@dronecode.org.uk> Date: Thu, 20 Oct 2016 14:52:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <48e78f73-875e-42db-f9a9-4d4d445799ed@dronecode.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 10/09/2016 12:39, Jon Turney wrote: > On 09/09/2016 05:15, Reto Huber wrote: >> I am using cygwin for quite a while. Yesterday I did update. >> Everything seemed to work smooth. Today I figured out that gdb does no >> longer work debugging my project. Even a simple "Hello World" can not >> be debugged anymore. The executable itself runs ok. Here the example > > Thanks for reporting this problem, and the test case. > >> gdb: unknown target exception 0x406d1388 at 0x7639c54f >> >> Program received signal ?, Unknown signal. > > This is related to the thread name support added in 2.6.0 > > The exception used to pass the thread name to the debugger is supposed > to be caught internally if the debugger doesn't handle it, but this > doesn't seem to be working correctly on x86. I have applied a fix for this. >> Can you give me a hint how I can fix it? Can anyone reproduce the issue? > > At the moment, the workaround would be to downgrade to Cygwin 2.5.2, or > to update to the gdb 7.11.1-1 test release (which has explicit handling > for these thread naming exceptions) So the combination of x86, gdb 7.10.1-1, and Cygwin snapshot 2016-10-20 or later should also work. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple