public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/45999] New: runtime error in std::vector python pretty printer.
@ 2010-10-13  8:54 pluto at agmk dot net
  2010-10-13  9:16 ` [Bug libstdc++/45999] " redi at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: pluto at agmk dot net @ 2010-10-13  8:54 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: runtime error in std::vector 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 22026
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22026
reduced testcase.

Breakpoint 1, main () at t.cpp:156
156             bidir_graph_t g ( 5 );
(gdb) n
157             g.add_edge ( bdir_edge_t ( 3, 2 ) );
(gdb) p g
$1 = {
  <au::graph::BidirectionalGraph<int>> = {<No data fields>},
  members of au::graph::adjacency_matrix<int, au::graph::BidirectionalGraph>:
  static npos = <optimized out>,
  size_ = 5,
  verticles_ = std::vector of length 0, capacity 5,
  adjacency_matrix_ = std::vector of length 5, capacity 5 = {
    Traceback (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 186, in to_string
    % (self.typename, int (finish - start), int (end - start)))
RuntimeError: Argument to arithmetic operation not a number or boolean.
Traceback (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 169, in next
    elt = self.item.dereference()
RuntimeError: Attempt to take contents of a non-pointer value.
(...)


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

end of thread, other threads:[~2010-11-01 21:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13  8:54 [Bug libstdc++/45999] New: runtime error in std::vector python pretty printer pluto at agmk dot net
2010-10-13  9:16 ` [Bug libstdc++/45999] " redi at gcc dot gnu.org
2010-10-13  9:43 ` redi at gcc dot gnu.org
2010-10-14 10:53 ` pluto at agmk dot net
2010-10-18 19:16 ` redi at gcc dot gnu.org
2010-10-26 10:27 ` pluto at agmk dot net
2010-10-26 10:48 ` redi at gcc dot gnu.org
2010-10-26 11:30 ` pluto at agmk dot net
2010-11-01 21:28 ` redi at gcc dot gnu.org
2010-11-01 21:32 ` redi at gcc dot gnu.org
2010-11-01 21:33 ` 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).