public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pluto at agmk dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/46000] New: runtime error in std::set python pretty printer Date: Wed, 13 Oct 2010 09:15:00 -0000 [thread overview] Message-ID: <bug-46000-4@http.gcc.gnu.org/bugzilla/> (raw) 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. }
next reply other threads:[~2010-10-13 9:15 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-10-13 9:15 pluto at agmk dot net [this message] 2010-10-13 9:32 ` [Bug libstdc++/46000] " redi at gcc dot gnu.org 2010-10-13 10:05 ` redi at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-46000-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).