public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/46000] New: runtime error in std::set python pretty printer
@ 2010-10-13  9:15 pluto at agmk dot net
  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
  0 siblings, 2 replies; 3+ messages in thread
From: pluto at agmk dot net @ 2010-10-13  9:15 UTC (permalink / raw)
  To: gcc-bugs

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.

}


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/46000] runtime error in std::set python pretty printer
  2010-10-13  9:15 [Bug libstdc++/46000] New: runtime error in std::set python pretty printer pluto at agmk dot net
@ 2010-10-13  9:32 ` redi at gcc dot gnu.org
  2010-10-13 10:05 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2010-10-13  9:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46000

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-10-13 09:31:57 UTC ---
Hmm, that looks like PR 44645, which is fixed


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/46000] runtime error in std::set python pretty printer
  2010-10-13  9:15 [Bug libstdc++/46000] New: runtime error in std::set python pretty printer pluto at agmk dot net
  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
  1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2010-10-13 10:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46000

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-10-13 10:04:35 UTC ---
works fine with 4.5.2 20101007

*** This bug has been marked as a duplicate of bug 43628 ***


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-13 10:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13  9:15 [Bug libstdc++/46000] New: runtime error in std::set python pretty printer pluto at agmk dot net
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

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).