From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10192 invoked by alias); 24 Aug 2010 16:29:15 -0000 Received: (qmail 10184 invoked by uid 22791); 24 Aug 2010 16:29:14 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,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; Tue, 24 Aug 2010 16:29:07 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o7OGT6vH007766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 24 Aug 2010 12:29:06 -0400 Received: from host1.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o7OGT3qW009497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 24 Aug 2010 12:29:05 -0400 Received: from host1.dyn.jankratochvil.net (localhost [127.0.0.1]) by host1.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o7OGT3e0011404; Tue, 24 Aug 2010 18:29:03 +0200 Received: (from jkratoch@localhost) by host1.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o7OGT27a011403; Tue, 24 Aug 2010 18:29:02 +0200 Date: Tue, 24 Aug 2010 16:29:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: [patch] New FAIL in gdb.python/py-type.exp [Re: fix PR python/10676] Message-ID: <20100824162902.GA9808@host1.dyn.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.20 (2009-12-10) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00411.txt.bz2 On Sat, 21 Aug 2010 00:39:17 +0200, Tom Tromey wrote: > + gdb_test "python print c.type == gdb.parse_and_eval('d').type" "False" python print c.type == gdb.parse_and_eval('d').type ./python/py-type.c:902: internal-error: VEC_type_equality_entry_d_quick_push: Assertion `quick_push' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) FAIL: gdb.python/py-type.exp: python print c.type == gdb.parse_and_eval('d').type (GDB internal error) On Fedora 13 x86_64 for example with `./configure; make'. It PASSes with the fix. Tested only gdb.python/py-type.exp on x86_64-fedora14snapshot-linux-gnu. OK to check-in? Thanks, Jan gdb/ 2010-08-24 Jan Kratochvil * python/py-type.c (typy_richcompare): Initialize worklist. --- a/gdb/python/py-type.c +++ b/gdb/python/py-type.c @@ -892,7 +892,7 @@ typy_richcompare (PyObject *self, PyObject *other, int op) else { struct bcache *cache; - VEC (type_equality_entry_d) *worklist; + VEC (type_equality_entry_d) *worklist = NULL; struct type_equality_entry entry; cache = bcache_xmalloc ();