public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/108107] New: FAIL: libstdc++-prettyprinters/debug.cc print sstream
@ 2022-12-14 17:11 danglin at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: danglin at gcc dot gnu.org @ 2022-12-14 17:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108107

            Bug ID: 108107
           Summary: FAIL: libstdc++-prettyprinters/debug.cc print sstream
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa*-*-linux*
            Target: hppa*-*-linux*
             Build: hppa*-*-linux*

PASS: libstdc++-prettyprinters/debug.cc execution test
Spawning: gdb -nw -nx -quiet -batch -ex "python print(gdb.type_printers)"
spawn gdb -nw -nx -quiet -batch -ex python print(gdb.type_printers)
[]
spawn gdb -nx -nw -quiet -batch -x debug.gdb
Breakpoint 1 at 0x14e60: file
/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/libstdc++-prettyprinters/debug.cc,
line 129.
skipping: Breakpoint 1 at 0x14e60: file
/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/libstdc++-prettyprinters/debug.cc,
line 129.
warning: Unable to find libthread_db matching inferior's thread library, thread
debugging will not be available.
skipping: warning: Unable to find libthread_db matching inferior's thread
library, thread debugging will not be available.


skipping:

Breakpoint 1, main () at
/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/libstdc++-prettyprinters/debug.cc:129
129       return 0;                     // Mark SPOT
skipping: Breakpoint 1, main () at
/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/libstdc++-prettyprinters/debug.cc:129
skipping: 129     return 0;                     // Mark SPOT
From        To          Syms Read   Shared Object Library
0xf994af90  0xf9970d14  Yes         /lib/ld.so.1
0xf9444080  0xf95994c0  Yes        
/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libstdc++-v3/src/.libs/libstdc++.so.6
0xf8d59744  0xf8d8e1d4  Yes         /lib/hppa-linux-gnu/libm.so.6
0xf8bb3fe0  0xf8bc52a8  Yes         /home/dave/gnu/gcc/objdir/gcc/libgcc_s.so.4
0xf8977950  0xf8acde14  Yes         /lib/hppa-linux-gnu/libc.so.6
skipping: From        To          Syms Read   Shared Object Library
skipping: 0xf994af90  0xf9970d14  Yes         /lib/ld.so.1
skipping: 0xf9444080  0xf95994c0  Yes        
/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libstdc++-v3/src/.libs/libstdc++.so.6
skipping: 0xf8d59744  0xf8d8e1d4  Yes         /lib/hppa-linux-gnu/libm.so.6
skipping: 0xf8bb3fe0  0xf8bc52a8  Yes        
/home/dave/gnu/gcc/objdir/gcc/libgcc_s.so.4
skipping: 0xf8977950  0xf8acde14  Yes         /lib/hppa-linux-gnu/libc.so.6
$1 = "zardoz"
$2 = std::__debug::bitset = {[0] = 1, [5] = 1, [7] = 1}
$3 = std::__debug::deque with 2 elements = {"one", "two"}
$4 = "one"
got: $1 = "zardoz"
PASS: libstdc++-prettyprinters/debug.cc print str
got: $2 = std::__debug::bitset = {[0] = 1, [5] = 1, [7] = 1}
PASS: libstdc++-prettyprinters/debug.cc print bs
got: $3 = std::__debug::deque with 2 elements = {"one", "two"}
PASS: libstdc++-prettyprinters/debug.cc print deq
got: $4 = "one"
PASS: libstdc++-prettyprinters/debug.cc print deqiter
$5 = std::__debug::list = {[0] = "one", [1] = "two"}
got: $5 = std::__debug::list = {[0] = "one", [1] = "two"}
PASS: libstdc++-prettyprinters/debug.cc print lst
$6 = "one"
got: $6 = "one"
PASS: libstdc++-prettyprinters/debug.cc print lstiter
$7 = "one"
got: $7 = "one"
PASS: libstdc++-prettyprinters/debug.cc print lstciter
$8 = std::__debug::map with 1 element = {["zardoz"] = 23}
got: $8 = std::__debug::map with 1 element = {["zardoz"] = 23}
PASS: libstdc++-prettyprinters/debug.cc print mp
$9 = {first = "zardoz", second = 23}
got: $9 = {first = "zardoz", second = 23}
PASS: libstdc++-prettyprinters/debug.cc print mpiter
$10 = std::__debug::set with 2 elements = {[0] = 2, [1] = 3}
got: $10 = std::__debug::set with 2 elements = {[0] = 2, [1] = 3}
PASS: libstdc++-prettyprinters/debug.cc print const_intset
$11 = std::__debug::set with 2 elements = {[0] = "barrel", [1] = "clownfish"}
got: $11 = std::__debug::set with 2 elements = {[0] = "barrel", [1] =
"clownfish"}
PASS: libstdc++-prettyprinters/debug.cc print sp
$12 = "barrel"
got: $12 = "barrel"
PASS: libstdc++-prettyprinters/debug.cc print spciter
$13 = __gnu_cxx::slist = {[0] = 47, [1] = 23}
got: $13 = __gnu_cxx::slist = {[0] = 47, [1] = 23}
PASS: libstdc++-prettyprinters/debug.cc print sll
$14 = non-dereferenceable iterator for std::vector
got: $14 = non-dereferenceable iterator for std::vector
PASS: libstdc++-prettyprinters/debug.cc print viter0
$15 = std::__debug::vector of length 1, capacity 2 = {2}
$16 = invalid iterator
$17 = invalid iterator
$18 = 2
got: $15 = std::__debug::vector of length 1, capacity 2 = {2}
PASS: libstdc++-prettyprinters/debug.cc print v
got: $16 = invalid iterator
PASS: libstdc++-prettyprinters/debug.cc print viter1
got: $17 = invalid iterator
PASS: libstdc++-prettyprinters/debug.cc print viter2
got: $18 = 2
PASS: libstdc++-prettyprinters/debug.cc print viter3
$19 = 47
got: $19 = 47
PASS: libstdc++-prettyprinters/debug.cc print slliter
$20 =
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
Python Exception <class 'gdb.error'>: The program being debugged was signaled
while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on".
Evaluation of the expression containing the function
(std::basic_ios<char, std::char_traits<char> >::rdbuf() const) will be
abandoned.
When the function is done executing, GDB will silently stop.
got: $20 =
FAIL: libstdc++-prettyprinters/debug.cc print sstream
skipping: Program received signal SIGSEGV, Segmentation fault.
skipping: 0x00000000 in ?? ()
skipping: Python Exception <class 'gdb.error'>: The program being debugged was
signaled while in a function called from GDB.
skipping: GDB remains in the frame where the signal was received.
skipping: To change this behavior use "set unwindonsignal on".
skipping: Evaluation of the expression containing the function
skipping: (std::basic_ios<char, std::char_traits<char> >::rdbuf() const) will
be abandoned.
skipping: When the function is done executing, GDB will silently stop.
<error reading variable: Cannot access memory at address
0x5c>{<std::basic_iostream<char, std::char_traits<char> >> =
{<std::basic_istream<char, std::char_traits<char> >> = {<std::basic_ios<char,
std::char_traits<char> >> = {<std::ios_base> = {_vptr.ios_base = 0xf95ff3b8
<vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>,
std::allocator<char> >+52>, static boolalpha = std::_S_boolalpha, static dec =
std::_S_dec, static fixed = std::_S_fixed, static hex = std::_S_hex, static
internal = std::_S_internal, static left = std::_S_left, static oct =
std::_S_oct, static right = std::_S_right, static scientific =
std::_S_scientific, static showbase = std::_S_showbase, static showpoint =
std::_S_showpoint, static showpos = std::_S_showpos, static skipws =
std::_S_skipws, static unitbuf = std::_S_unitbuf, static uppercase =
std::_S_uppercase, static adjustfield = std::_S_adjustfield, static basefield =
std::_S_basefield, static floatfield = std::_S_floatfield, static badbit =
std::_S_badbit, static eofbit = std::_S_eofbit, static failbit =
std::_S_failbit, static goodbit = std::_S_goodbit, static app = std::_S_app,
static ate = std::_S_ate, static binary = std::_S_bin, static in = std::_S_in,
static out = std::_S_out, static trunc = std::_S_trunc, static __noreplace =
std::_S_noreplace, static beg = std::_S_beg, static cur = std::_S_cur, static
end = std::_S_end, _M_precision = 6, _M_width = 0, _M_flags = 4098,
_M_exception = std::_S_goodbit, _M_streambuf_state = std::_S_goodbit,
_M_callbacks = 0x0, _M_word_zero = {_M_pword = 0x0, _M_iword = 0},
_M_local_word = {{_M_pword = 0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword =
0}, {_M_pword = 0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword = 0}, {_M_pword =
0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword =
0}, {_M_pword = 0x0, _M_iword = 0}}, _M_word_size = 8, _M_word = 0xf7b05afc,
_M_ios_locale = {static none = 0, static ctype = 1, static numeric = 2, static
collate = 4, static time = 8, static monetary = 16, static messages = 32,
static all = 63, _M_impl = 0xf9607da4 <(anonymous namespace)::c_locale_impl>}},
_M_tie = 0x0, _M_fill = 0 '\000', _M_fill_init = false, _M_streambuf =
0xf7b05a9c, _M_ctype = 0xf96079b8 <(anonymous namespace)::ctype_c>, _M_num_put
= 0xf9607990 <(anonymous namespace)::num_put_c>, _M_num_get = 0xf9607998
<(anonymous namespace)::num_get_c>}, _vptr.basic_istream = 0xf95ff390 <vtable
for std::__cxx11::basic_stringstream<char, std::char_traits<char>,
std::allocator<char> >+12>, _M_gcount = 0}, <std::basic_ostream<char,
std::char_traits<char> >> = {_vptr.basic_ostream = 0xf95ff3a4 <vtable for
std::__cxx11::basic_stringstream<char, std::char_traits<char>,
std::allocator<char> >+32>}, <No data fields>}, _M_stringbuf = "abc"}
skipping: <error reading variable: Cannot access memory at address
0x5c>{<std::basic_iostream<char, std::char_traits<char> >> =
{<std::basic_istream<char, std::char_traits<char> >> = {<std::basic_ios<char,
std::char_traits<char> >> = {<std::ios_base> = {_vptr.ios_base = 0xf95ff3b8
<vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>,
std::allocator<char> >+52>, static boolalpha = std::_S_boolalpha, static dec =
std::_S_dec, static fixed = std::_S_fixed, static hex = std::_S_hex, static
internal = std::_S_internal, static left = std::_S_left, static oct =
std::_S_oct, static right = std::_S_right, static scientific =
std::_S_scientific, static showbase = std::_S_showbase, static showpoint =
std::_S_showpoint, static showpos = std::_S_showpos, static skipws =
std::_S_skipws, static unitbuf = std::_S_unitbuf, static uppercase =
std::_S_uppercase, static adjustfield = std::_S_adjustfield, static basefield =
std::_S_basefield, static floatfield = std::_S_floatfield, static badbit =
std::_S_badbit, static eofbit = std::_S_eofbit, static failbit =
std::_S_failbit, static goodbit = std::_S_goodbit, static app = std::_S_app,
static ate = std::_S_ate, static binary = std::_S_bin, static in = std::_S_in,
static out = std::_S_out, static trunc = std::_S_trunc, static __noreplace =
std::_S_noreplace, static beg = std::_S_beg, static cur = std::_S_cur, static
end = std::_S_end, _M_precision = 6, _M_width = 0, _M_flags = 4098,
_M_exception = std::_S_goodbit, _M_streambuf_state = std::_S_goodbit,
_M_callbacks = 0x0, _M_word_zero = {_M_pword = 0x0, _M_iword = 0},
_M_local_word = {{_M_pword = 0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword =
0}, {_M_pword = 0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword = 0}, {_M_pword =
0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword =
0}, {_M_pword = 0x0, _M_iword = 0}}, _M_word_size = 8, _M_word = 0xf7b05afc,
_M_ios_locale = {static none = 0, static ctype = 1, static numeric = 2, static
collate = 4, static time = 8, static monetary = 16, static messages = 32,
static all = 63, _M_impl = 0xf9607da4 <(anonymous namespace)::c_locale_impl>}},
_M_tie = 0x0, _M_fill = 0 '\000', _M_fill_init = false, _M_streambuf =
0xf7b05a9c, _M_ctype = 0xf96079b8 <(anonymous namespace)::ctype_c>, _M_num_put
= 0xf9607990 <(anonymous namespace)::num_put_c>, _M_num_get = 0xf9607998
<(anonymous namespace)::num_get_c>}, _vptr.basic_istream = 0xf95ff390 <vtable
for std::__cxx11::basic_stringstream<char, std::char_traits<char>,
std::allocator<char> >+12>, _M_gcount = 0}, <std::basic_ostream<char,
std::char_traits<char> >> = {_vptr.basic_ostream = 0xf95ff3a4 <vtable for
std::__cxx11::basic_stringstream<char, std::char_traits<char>,
std::allocator<char> >+32>}, <No data fields>}, _M_stringbuf = "abc"}
debug.gdb:28: Error in sourced command file:
No symbol "ssin" in current context.
skipping: debug.gdb:28: Error in sourced command file:
skipping: No symbol "ssin" in current context.
UNSUPPORTED: libstdc++-prettyprinters/debug.cc
extra_tool_flags are:  -g -O0

Similar fails:
FAIL: libstdc++-prettyprinters/debug.cc print sstream
FAIL: libstdc++-prettyprinters/simple.cc print sstream
FAIL: libstdc++-prettyprinters/simple.cc print sstream
FAIL: libstdc++-prettyprinters/simple11.cc print sstream
FAIL: libstdc++-prettyprinters/simple11.cc print sstream

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-14 17:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 17:11 [Bug libstdc++/108107] New: FAIL: libstdc++-prettyprinters/debug.cc print sstream danglin 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).