This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/10081] basic_ios constructor fails to initialize variables


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia@physics.uc.edu  2003-05-27 18:47 -------
On the mainline (20030527) I get an exception thrown:
terminate called after throwing an instance of 'std::bad_cast'
  what():  St8bad_cast
(gdb) bt
#0  0x420292d1 in kill () from /lib/i686/libc.so.6
#1  0x420290ba in raise () from /lib/i686/libc.so.6
#2  0x4202a862 in abort () from /lib/i686/libc.so.6
#3  0x400aa4e3 in __gnu_cxx::__verbose_terminate_handler() () at /home/gates/
pinskia/src/gnu/gcc/src/libstdc++-v3/libsupc++/vterminate.cc:96
#4  0x400a8055 in __cxxabiv1::__terminate(void (*)()) (handler=0x400aa3f0 <
__gnu_cxx::__verbose_terminate_handler()>) at /home/gates/pinskia/src/gnu/gcc/src/
libstdc++-v3/libsupc++/eh_terminate.cc:43
#5  0x400a8092 in std::terminate() () at /home/gates/pinskia/src/gnu/gcc/src/libstdc++-v3/
libsupc++/eh_terminate.cc:53
#6  0x400a8212 in __cxa_throw (obj=0x400ad2db, tinfo=0x0, dest=0) at /home/gates/
pinskia/src/gnu/gcc/src/libstdc++-v3/libsupc++/eh_throw.cc:80
#7  0x40061c45 in std::__throw_bad_cast() () at typeinfo:138
#8  0x0804a97b in __check_facet<std::ctype<__gnu_cxx_test::pod_char> > (__f=0x0) at 
localefwd.h:187
#9  0x0804a504 in sentry (this=0xbffec13b, __in=@0xbffec180, __noskipws=false) at 
istream.tcc:56
#10 0x080494e4 in std::basic_istream<__gnu_cxx_test::pod_char, std::char_traits<
__gnu_cxx_test::pod_char> >& std::operator>><__gnu_cxx_test::pod_char, 
std::char_traits<__gnu_cxx_test::pod_char>, std::allocator<__gnu_cxx_test::pod_char> >
(std::basic_istream<__gnu_cxx_test::pod_char, std::char_traits<
__gnu_cxx_test::pod_char> >&, std::basic_string<__gnu_cxx_test::pod_char, 
std::char_traits<__gnu_cxx_test::pod_char>, std::allocator<__gnu_cxx_test::pod_char> >
&) (__in=@0xbffec180, __str=@0xbffec170) at istream.tcc:1102
#11 0x0804921a in main () at pr10081.cc:266



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]