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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=nJLP0dmdjh3iOJDhS1SXHx7AvYxHQ1CuYq54Y5KLPMJR+W02DkULw 7HBPB0cCoKGVcj4l0rntVFnMcKg6NnziJVTgrH/iPSRb0KDIj0+aagwADbw3Aqmj j1GjJUUfdHCKwrqCvT4Z4G+DFVf631IuAk9hKfQzlN9goj3ua6jq3A= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=/c06HE7LoWJdAqKOwzxwHUcEj+k=; b=I+dZjHvGy4vSrtr0irU7RDXfl46P MjZzkI72GBktw/OtPOuEN2RPkQFiSb0dxkd/YiXwPfhSZk5YMfhbQgfZYGGmw2j8 L0l4zgJzO6d3h2f6Q81KPaeCTQaBgztNsbXD716IGaknHQqhq8bqxgyTETE2Obih FtMg58ONBnMifZA= 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Wed, 8 Oct 2014 13:37:50 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: glib errors with latest gdb Message-ID: <20141008113750.GA29235@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <53EB7607 DOT 3040004 AT cornell DOT edu> <20140813145714 DOT GK21106 AT calimero DOT vinschen DOT de> <20140828135712 DOT GV20700 AT calimero DOT vinschen DOT de> <54133542 DOT 80207 AT cornell DOT edu> <54133E34 DOT 6010005 AT cornell DOT edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <54133E34.6010005@cornell.edu> User-Agent: Mutt/1.5.23 (2014-03-12) --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sep 12 14:40, Ken Brown wrote: > On 9/12/2014 2:02 PM, Ken Brown wrote: > >On 8/28/2014 9:57 AM, Corinna Vinschen wrote: > >>On Aug 13 16:57, Corinna Vinschen wrote: > >>>On Aug 13 10:28, Ken Brown wrote: > >>>>I'm getting errors with the latest gdb when trying to debug programs > >>>>that > >>>>depend on glib. Here's an example, run from an xterm window: > >>>>[...] > >>>I see this error, too. Unfortunately I'm not a python guru so this > >>>is rather opaque to me. gdb itself doesn't provide a gdb.backtrace > >>>method, afaics. > >>>[...] > >>I reported the problem upstream in a bugzilla entry already handling > >>strange GDB hangs: > >> > >> https://sourceware.org/bugzilla/show_bug.cgi?id=3D17247 > > > >That bug appears to be something different. But I managed to fix the > >problem without actually understanding the code. I looked at cgf's > >patches from his build of gdb-7.6.50-4, and I noticed that some of his > >changes didn't make it into your gdb-7.8-1.src.patch. The missing ones > >are collected in the attached "cgf.patch" file. > > > >If I apply that patch on top of your gdb-7.8-1.src.patch, the problem is > >gone. (The python warning is still there, but it seems to be harmless.) >=20 > I'm not sure when Corinna will be back from vacation, but if anyone wants= to > test my fix in the meantime, you can get it from my Cygwin repository: >=20 > http://sanibeltranquility.com/cygwin/ >=20 > There are instructions at that URL. Belatedly "Thank You!" for tracking this down. The fix is in gdb-7.8-2 released by Yaakov as you all know by now, I guess. The original patch when I took over the package consisted in most parts of renaming a variable. This made the patch somewhat big so I thought it's a good idea to drop the renaming parts from the patch... and missed two important snippets in the code which did more than just renaming. Duh. So again, thanks Ken for tracking this down and thanks Yaakov for building the fixed GDB package. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUNSIOAAoJEPU2Bp2uRE+gruUQAKVAhbP3FtsPWUX1zN8ZBm4K XBikl4R3XwVz6w3NhTACv0shXWEdyjIOH4kq/VNRswfKbhN+jOM9QtJGjRjwFtMl 2hCS8J8dS6IF+v3RZFVqVT9dCUee4uafRonJBun7RVs6FF0QweacwlfasLvO5N9J VUPR3ObUrgzTd9YloN+aH1y1X5/6r67aDgqxKyePy3YyOqI7PaHlQXx3Ao4fx/XO efkTGK2mhjTYSZnaqRgFlqbBABCz2HrnjtBvfLPhO0TLx85lmtgpqvZDBRoZElKT HCG11FltZfidqdjvzizGB8ETjtnEcDFfNEbM0D8ZUd0FaB34drpV+FI1W2uRuE95 7oDrUHlUurus/Do1nZKIHpPrvE05r49it1sZ75elRWOuvYVnZ76BkUzOcA/J/t+C r+Yhzx+EPYp87EJuxTJpDxiWZqzCsaz4siwgItnXAqJUUtBxgjwbfFGgpC9DzyX8 z9GcIVXX/W/UWecpM1Pi2RnRs8ZpqOEHJzxv8FSh5u7JmnEdVGymKBZvWyqITo1H dVqa9+vr0jWuiz3cqqaLAIQM6Y+LOuBOV/W3ge5t2I8EfIFDX+MFQqWQyRtWDKeT Ik+7agzmb/0Gn76hZ0hoY8NY32FW1h/7MQmR23YUHqG+n1ZK0t9jQU2Yow+rLXKM nNbYpGdxoob1oo4m25cZ =VBW2 -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--