Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#9 SEGFAULTs using stlport

open
nobody
None
5
2002-05-29
2002-05-29
Adam Birnbaum
No

My group of applications all use the stlport
implementation of STL. I get a SEGFAULT as soon as I
run any of them. I think it may be a namespace
conflict between STL and FunctionCheck. Here's a gdb
backtrace:

#0 0x400398df in fc_com_enter () from
/home/abe/lib/libfc.so.0
#1 0x40038a27 in __cyg_profile_func_enter () from
/home/abe/lib/libfc.so.0
#2 0x08085c0f in _STL::basic_string<char,
_STL::char_traits<char>, _STL::allocator<char>
>::basic_string (this=0x40156b48, __s=0x40135822 "C",
__a=@0xbffff2cc) at
/home/abe/include/stlport/stl/_string.c:547
#3 0x400d2503 in _STL::_Locale_impl::_Locale_impl ()
from /home/abe/lib/libstlport_gcc.so
#4 0x400d2790 in
_STL::_Locale_impl::make_classic_locale ()
from /home/abe/lib/libstlport_gcc.so
#5 0x400d430f in _STL::locale::_S_initialize ()
from /home/abe/lib/libstlport_gcc.so
#6 0x400d42a8 in _STL::ios_base::_Loc_init::_Loc_init ()
from /home/abe/lib/libstlport_gcc.so
#7 0x400d5353 in
__static_initialization_and_destruction_0 ()
from /home/abe/lib/libstlport_gcc.so
#8 0x400d5392 in _STL::_Locale::_Locale ()
from /home/abe/lib/libstlport_gcc.so
#9 0x400e5f45 in __do_global_ctors_aux () from
/home/abe/lib/libstlport_gcc.so
#10 0x400c501a in _init () from
/home/abe/lib/libstlport_gcc.so
#11 0x4000da97 in _dl_init (main_map=0x40016c00,
argc=1, argv=0xbffff464,
env=0xbffff46c) at dl-init.c:70

Discussion