This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: Seg in _IO_wdoallocbuf
- To: "Dr. David Gilbert" <dg at px dot uk dot com>
- Subject: Re: Seg in _IO_wdoallocbuf
- From: Levente Farkas <lfarkas at mindmaker dot hu>
- Date: Fri, 03 Nov 2000 11:52:02 +0100
- Cc: libstdc++ at sources dot redhat dot com
- Organization: Mindmaker Ltd.
- References: <Pine.LNX.4.21.0011031039420.24579-100000@springhead.px.uk.com>
- Reply-To: lfarkas at mindmaker dot hu
hooops it seems to me the same bug as "my" dlopen bug!!!
"Dr. David Gilbert" wrote:
>
> 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
-- Levente http://petition.eurolinux.org/index_html
"The only thing worse than not knowing the truth is
ruining the bliss of ignorance."