From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6803 invoked by alias); 1 Nov 2011 01:46:06 -0000 Received: (qmail 6794 invoked by uid 22791); 1 Nov 2011 01:46:03 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_DB,TW_NX X-Spam-Check-By: sourceware.org Received: from mail-iy0-f169.google.com (HELO mail-iy0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Nov 2011 01:45:47 +0000 Received: by iagf6 with SMTP id f6so10248608iag.0 for ; Mon, 31 Oct 2011 18:45:46 -0700 (PDT) Received: by 10.231.25.92 with SMTP id y28mr6119312ibb.42.1320111945915; Mon, 31 Oct 2011 18:45:45 -0700 (PDT) Received: from [222.205.27.244] ([222.205.27.244]) by mx.google.com with ESMTPS id jm11sm28648113ibb.1.2011.10.31.18.45.41 (version=SSLv3 cipher=OTHER); Mon, 31 Oct 2011 18:45:43 -0700 (PDT) Message-ID: <4EAF4DEC.8020900@gmail.com> Date: Tue, 01 Nov 2011 01:46:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: xunxun CC: gdb@sourceware.org Subject: Re: gdb crash when I try to print a std::queue (Windows) References: <4EAD4FE7.9050102@gmail.com> <4EAD56D4.5020709@gmail.com> <20111031084035.GA40553@cs.nctu.edu.tw> <4EAE61BC.2060007@gmail.com> In-Reply-To: <4EAE61BC.2060007@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: 2011-11/txt/msg00000.txt.bz2 On 2011-10-31 16:52, xunxun wrote: > I think it's caused by > > CVSROOT: /cvs/src > Module name: src > Changes by: pmuldoon@sourceware.org 2011-10-27 09:14:27 > > Modified files: > gdb : ChangeLog > gdb/python : py-breakpoint.c py-frame.c py-lazy-string.c > py-symbol.c py-type.c > > Log message: > 2011-10-27 Phil Muldoon > > * python/py-breakpoint.c (bppy_set_enabled): Use TRY_CATCH. > (bppy_set_task): Ditto. > (bppy_delete_breakpoint): Ditto. > * python/py-symbol.c (gdbpy_lookup_symbol): Ditto. > (gdbpy_lookup_global_symbol): Ditto. > * python/py-lazy-string.c (stpy_convert_to_value): Ditto. > * python/py-frame.c (frapy_is_valid): Ditto. > (frame_info_to_frame_object): Ditto. > * python/py-type.c (typy_lookup_type): Ditto. > (typy_getitem): Ditto. > (typy_has_key): Ditto. > (typy_richcompare): Use TRY_CATCH. Do not return Py_NE on error. > > Patches: > http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13463&r2=1.13464 > > http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-breakpoint.c.diff?cvsroot=src&r1=1.27&r2=1.28 > > http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-frame.c.diff?cvsroot=src&r1=1.20&r2=1.21 > > http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-lazy-string.c.diff?cvsroot=src&r1=1.9&r2=1.10 > > http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-symbol.c.diff?cvsroot=src&r1=1.9&r2=1.10 > > http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-type.c.diff?cvsroot=src&r1=1.26&r2=1.27 > > > > Before the commit, my gdb works well. > But I have no time to find out the problem now. > > You can open a bug report. > > > I did test to check whether this commit introduce the crash problem, then the result is YES. see the details in: http://sourceware.org/bugzilla/show_bug.cgi?id=13363#c5 I'm not quite familiar with gdb's source code, so I can't dig into it further. asmwarrior ollydbg from codeblocks' forum