From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4311 invoked by alias); 19 Jul 2012 07:40:40 -0000 Received: (qmail 4301 invoked by uid 22791); 19 Jul 2012 07:40:39 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_GT,TW_YG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Jul 2012 07:40:12 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6J7e5Om028161 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 19 Jul 2012 03:40:11 -0400 Received: from host2.jankratochvil.net (ovpn-116-30.ams2.redhat.com [10.36.116.30]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6J7e2XD023092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 19 Jul 2012 03:40:04 -0400 Date: Thu, 19 Jul 2012 07:40:00 -0000 From: Jan Kratochvil To: Hui Zhu Cc: gdb@sourceware.org Subject: Re: [BUG] gdb crash when "python import gtk" Message-ID: <20120719073959.GA10044@host2.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00048.txt.bz2 Hi Hui, On Thu, 19 Jul 2012 09:15:57 +0200, Hui Zhu wrote: > Without http://sourceware.org/git/?p=gdb.git;a=commit;h=d43ca3bfc165c72be20288233d20d61ec107a2de > that you committed. the problem is apparently the new -lmcheck lightweight memory corruption testing. > On Thu, Jul 19, 2012 at 1:25 PM, Hui Zhu wrote: > > GNU gdb (GDB) 7.5.50.20120719-cvs [...] > > (gdb) python import gtk > > memory clobbered before allocated block > > Aborted (core dumped) So the bug is in some gtk code, either the Python binding or the C gtk implementation itself. > > But in 7.4.1 is OK. It did not use -lmcheck so the memory corruption still was there but it was not shown. > > I think this issue is dangerous because we don't know how much other > > python modules are affected by this issue. Wish it can be fixed > > before 7.5 release. It will not affect the 7.5 release and neither the 7.5 pre-releases: [commit/branch] development mode no longer enabled by default http://sourceware.org/ml/gdb-patches/2012-07/msg00251.html On Fedora 17 x86_64 I do not see any problem even with more thorough memory testing via valgrind: valgrind ./gdb -ex 'python import gtk' -ex q pygtk2-2.24.0-4.fc17.x86_64 gtk2-2.24.10-2.fc17.x86_64 So you should file it as pygtk2 bug for the distro you use. Thanks, Jan