public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/64632] New: runtime error: member call on address 0x0000004318a8 which does not point to an object of type 'ios_base'
@ 2015-01-16 16:10 trippels at gcc dot gnu.org
  2015-01-19 17:43 ` [Bug libstdc++/64632] " burnus at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-01-16 16:10 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64632
           Summary: runtime error: member call on address 0x0000004318a8
                    which does not point to an object of type 'ios_base'
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org

Created attachment 34465
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34465&action=edit
testcase

markus@x4 ~ % g++ -fsanitize=undefined -O2 bench.cpp
markus@x4 ~ % ./a.out
size            array   vector_point    vector_iters            deque          
list            set             multiset
/usr/lib/gcc/x86_64-pc-linux-gnu/5.0.0/include/g++-v5/bits/ios_base.h:1037:16:
runtime error: member call on address 0x0000004318a8 which does not point to an
object of type 'ios_base'
0x0000004318a0: note: object is base class subobject at offset 8 within object
of type 'std::ostream'
 00 00 00 00  a8 17 ce 25 ca 7f 00 00  d0 17 ce 25 ca 7f 00 00  06 00 00 00 00
00 00 00  00 00 00 00
              ^                        ~~~~~~~~~~~~~~~~~~~~~~~
                                       vptr for '<unknown>' base class of
'std::ostream'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.0.0/include/g++-v5/iomanip:210:7: runtime
error: member call on address 0x0000004318a8 which does not point to an object
of type 'ios_base'
0x0000004318a0: note: object is base class subobject at offset 8 within object
of type 'std::ostream'
 00 00 00 00  a8 17 ce 25 ca 7f 00 00  d0 17 ce 25 ca 7f 00 00  06 00 00 00 00
00 00 00  00 00 00 00
              ^                        ~~~~~~~~~~~~~~~~~~~~~~~
                                       vptr for '<unknown>' base class of
'std::ostream'
10              0.23            0.23            0.41            0.77           
1.57            0.97            1.44
^C


markus@x4 ~ % clang++ -fsanitize=undefined -O2 bench.cpp
markus@x4 ~ % ./a.out
size            array   vector_point    vector_iters            deque          
list            set             multiset
/usr/lib64/gcc/x86_64-pc-linux-gnu/5.0.0/include/g++-v5/bits/ios_base.h:102:24:
runtime error: load of value 4294967035, which is not a valid value for type
'std::_Ios_Fmtflags'
/usr/lib64/gcc/x86_64-pc-linux-gnu/5.0.0/include/g++-v5/bits/ios_base.h:82:67:
runtime error: load of value 4294967035, which is not a valid value for type
'std::_Ios_Fmtflags'
10              0.26            0.28            0.51            2.13           
3.81            1.26            2.04
^C


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

end of thread, other threads:[~2015-01-20 21:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-16 16:10 [Bug libstdc++/64632] New: runtime error: member call on address 0x0000004318a8 which does not point to an object of type 'ios_base' trippels at gcc dot gnu.org
2015-01-19 17:43 ` [Bug libstdc++/64632] " burnus at gcc dot gnu.org
2015-01-19 18:15 ` redi at gcc dot gnu.org
2015-01-20 15:28 ` jakub at gcc dot gnu.org
2015-01-20 15:58 ` [Bug sanitizer/64632] " jakub at gcc dot gnu.org
2015-01-20 20:40 ` jakub at gcc dot gnu.org
2015-01-20 21:09 ` jakub 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).