This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Seg in _IO_wdoallocbuf
- To: libstdc++ at sources dot redhat dot com
- Subject: Seg in _IO_wdoallocbuf
- From: "Dr. David Gilbert" <dg at px dot uk dot com>
- Date: Fri, 3 Nov 2000 10:41:26 +0000 (GMT)
Hi,
CVS as of yesterday; I now have everything compiling - however on both
the programs I'm testing it on (both shared libraries which get loaded
into the Tcl Wish binary) I'm getting a segfault at startup in:
#0 0x402cb5c6 in _IO_wdoallocbuf (fp=0x807dc88) at wgenops.c:406
#1 0x40595732 in std::__basic_file<wchar_t>::__basic_file
(this=0x807dc88,
__lock=0x807dc78) at c++io.cc:367
#2 0x405bc4e9 in std::basic_filebuf<wchar_t, std::char_traits<wchar_t>
>::_M_filebuf_init (this=0x807dc10)
at ../../../../gcc/libstdc++-v3/include/bits/fstream.tcc:47
#3 0x405bbee0 in std::basic_filebuf<wchar_t, std::char_traits<wchar_t>
>::basic_filebuf (this=0x807dc10, __fd=1, __mode=2)
at ../../../../gcc/libstdc++-v3/include/bits/fstream.tcc:93
#4 0x40595b37 in std::ios_base::Init::Init (this=0x40608d38)
at ../../../../gcc/libstdc++-v3/src/ios.cc:141
#5 0x40596804 in __static_initialization_and_destruction_0
(__initialize_p=1,
__priority=65535)
at ../../../../gcc/libstdc++-v3/include/bits/std_fstream.h:55
#6 0x40596822 in global constructors keyed to
std::__ios_flags::_S_boolalpha
() at ../../../../gcc/libstdc++-v3/include/bits/std_fstream.h:94
#7 0x40594357 in __do_global_ctors_aux ()
at ../../../../gcc/libstdc++-v3/src/string-inst.cc:216
#8 0x4058ab62 in _init () from
/usr/local/gcc-cvs02112000/lib/libstdc++.so.3
#9 0x4000de87 in _dl_init (main_map=0x80a9530, argc=2, argv=0xbffff964,
env=0xbffff970) at dl-init.c:111
#10 0x4036531d in dl_open_worker (a=0xbfffe860) at dl-open.c:231
Dave
--
/------------------------------------------------------------------\
| Dr. David Alan Gilbert | Work:dg@px.uk.com +44-161-286-2000 Ex258|
| -------- G7FHJ --------|---------------------------------------- |
| Home: dave@treblig.org http://www.treblig.org |
\------------------------------------------------------------------/