This is the mail archive of the gcc@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]

Re: SIGSEGVs with g++3.2


On Fri, Aug 02, 2002 at 03:44:38PM +0200, Richard Guenther wrote:
> Hi!
> 
> I just tried todays gcc 3.2 branch and encountered SIGSEGVs in many
> programs which look like
> 
> (gdb) run
> Starting program: /net/bellatrix/home/rguenth/src/pooma-work/rhalk/Shock1d
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x080d4fa4 in std::basic_ios<char, std::char_traits<char>
> >::_M_cache_facets(std::locale const&) (this=0x81402e4, __loc=@0x1) at
> basic_ios.tcc:171
> 171           if (has_facet<__ctype_type>(__loc))
> (gdb) bt
> #0  0x080d4fa4 in std::basic_ios<char, std::char_traits<char>
> >::_M_cache_facets(std::locale const&) (this=0x81402e4, __loc=@0x1) at
> basic_ios.tcc:171
> #1  0x080d4a73 in std::basic_ios<char, std::char_traits<char>
> >::init(std::basic_streambuf<char, std::char_traits<char> >*)
> (this=0x81402e4, __sb=0x1)
>     at basic_ios.tcc:144
> #2  0x08099a51 in std::ios_base::Init::_S_ios_create(bool) (__sync=72)
>     at ostream:72
> #3  0x08099e73 in Init (this=0x8140b24)
>     at /home/rguenth/src/gcc/gcc3.2/libstdc++-v3/src/ios.cc:205
> #4  0x080a4067 in __static_initialization_and_destruction_0
> (__initialize_p=1,
>     __priority=65535) at iostream:62
> #5  0x080a408a in
> _GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev_home_rguenth_src_gcc_gcc3.2_libstdc___v3_src_io_inst.ccACBnhb
> ()
>     at locale_facets.h:107
> #6  0x08099845 in __do_global_ctors_aux ()
>     at
> /net/bellatrix/home/rguenth/src/pooma-work/r2/src/Utilities/Unique.cmpl.cpp:118
> #7  0x0804a7fe in _init ()
> #8  0x40154c24 in __libc_start_main () from /lib/libc.so.6
> (gdb)
> 
> Does this look familiar to anybody?

According to Gwenole Beauchesne this is the case with 3.1.0 and 3.1.1 too,
ie. IMHO not a show stopper for 3.2.

	Jakub


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