From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7798 invoked by alias); 31 Oct 2011 08:52:39 -0000 Received: (qmail 7789 invoked by uid 22791); 31 Oct 2011 08:52:38 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_NX X-Spam-Check-By: sourceware.org Received: from mail-gy0-f169.google.com (HELO mail-gy0-f169.google.com) (209.85.160.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 31 Oct 2011 08:52:22 +0000 Received: by gyg8 with SMTP id 8so972649gyg.0 for ; Mon, 31 Oct 2011 01:52:21 -0700 (PDT) Received: by 10.68.33.42 with SMTP id o10mr21933517pbi.52.1320051140952; Mon, 31 Oct 2011 01:52:20 -0700 (PDT) Received: from [192.168.1.3] ([112.94.187.167]) by mx.google.com with ESMTPS id y6sm37530429pbi.5.2011.10.31.01.52.17 (version=SSLv3 cipher=OTHER); Mon, 31 Oct 2011 01:52:19 -0700 (PDT) Message-ID: <4EAE61BC.2060007@gmail.com> Date: Mon, 31 Oct 2011 09:42:00 -0000 From: xunxun User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20110929 Thunderbird/7.0 MIME-Version: 1.0 To: asmwarrior , 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> In-Reply-To: <20111031084035.GA40553@cs.nctu.edu.tw> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: 2011-10/txt/msg00235.txt.bz2 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. -- Best Regards, xunxun