From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13878 invoked by alias); 13 Oct 2010 09:15:50 -0000 Received: (qmail 13864 invoked by uid 22791); 13 Oct 2010 09:15:49 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Oct 2010 09:15:43 +0000 From: "pluto at agmk dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/46000] New: runtime error in std::set python pretty printer X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pluto at agmk dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 13 Oct 2010 09:15:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg01058.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46000 Summary: runtime error in std::set python pretty printer Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: pluto@agmk.net Host: x86_64-gnu-linux Target: x86_64-gnu-linux Build: x86_64-gnu-linux Created attachment 22027 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22027 reduced testcase. (gdb) r Starting program: /home/users/pawels/sandbox/src/gdb-printers-bugs/02/t Breakpoint 1, main () at t.cpp:13 13 Bus bus; (gdb) n 14 bus.c.insert( new Connection() ); (gdb) 15 bus.c.insert( new Connection() ); (gdb) p bus $1 = (Bus) { _vptr.Bus = 0x418050, c = std::set with 1 elements = { [0] = 0x633c20 } } (gdb) n 16 bus.c.insert( new Connection() ); (gdb) p bus $2 = (Bus) { _vptr.Bus = 0x418050, c = std::set with 2 elementsTraceback (most recent call last): File "/local/devel/toolchain45/x86_64-gnu-linux.mt_alloc/share/gcc-4.5.2/python/libstdcxx/v6/printers.py", line 395, in next item = self.rbiter.next() File "/local/devel/toolchain45/x86_64-gnu-linux.mt_alloc/share/gcc-4.5.2/python/libstdcxx/v6/printers.py", line 297, in next if node.dereference()['_M_right']: RuntimeError: Attempt to dereference a generic pointer. }