From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22810 invoked by alias); 23 Nov 2013 07:20:02 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 22766 invoked by uid 48); 23 Nov 2013 07:20:01 -0000 From: "asmwarrior at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug python/16196] lazy string vs "print elements" Date: Sat, 23 Nov 2013 07:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asmwarrior at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q4/txt/msg00379.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16196 asmwarrior changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asmwarrior at gmail dot com --- Comment #4 from asmwarrior --- I'm not sure this bug is related to the bug I reported long time ago: https://sourceware.org/bugzilla/show_bug.cgi?id=12127 In the bug #12127, I see GDB crash because xmalloc failed if we pass a large random value as its argument, this mostly happens on GDB try to show an un-initiliazed local variable (like std::vector), I have a crash backtrace in https://sourceware.org/bugzilla/attachment.cgi?id=7017, my workaround is a hard-coded patch here: https://sourceware.org/bugzilla/show_bug.cgi?id=12127#c5 Thanks. Yuanhui Zhang -- You are receiving this mail because: You are on the CC list for the bug.