[Bug c++/20949] [4.0 Regression] misscompilation of konqueror, artsd, STLport, libstdc++, ...

pluto at pld-linux dot org gcc-bugzilla@gcc.gnu.org
Mon Apr 11 15:58:00 GMT 2005


------- Additional Comments From pluto at pld-linux dot org  2005-04-11 15:58 -------
(In reply to comment #1) 
> Well without a test, there is still nothing we can do anyways because they 
could be invoking undefined  
> behavior :). 
> Also do they fail when compiled with -O0? 
 
arts crashes with -O0. 
 
Program received signal SIGSEGV, Segmentation fault. 
0x406fc405 in __gnu_cxx::__pool<true>::_M_reclaim_block () 
from /usr/lib/libstdc++.so.6 
 
(gdb) bt 
#0  0x406fc405 in __gnu_cxx::__pool<true>::_M_reclaim_block () 
    from /usr/lib/libstdc++.so.6 
#1  0xbffff538 in ?? () 
#2  0x40014280 in _dl_runtime_resolve () from /lib/ld-linux.so.2 
#3  0x40063efd in __gnu_cxx::__mt_alloc<std::string, 
                  __gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> > 
               ::deallocate (this=0xbffff2ac, __p=0x81058d8, __n=1) 
               at mt_allocator.h:746 
#4  0x40063f36 in std::_Vector_base<std::string, std::allocator<std::string> > 
               ::_M_deallocate (this=0xbffff2ac, __p=0x81058d8, __n=1) 
               at stl_vector.h:123 
#5  0x40063f71 in ~_Vector_base (this=0xbffff2ac) at stl_vector.h:109 
#6  0x40063fe1 in ~vector (this=0xbffff2ac) at stl_vector.h:273 
#7  0x40064013 in ~ObjectReference (this=0xbffff2a0) at reference.h:48 
#8  0x40055244 in Arts::SoundServerStartup_base::_fromString 
               (objectref=@0xbffff334) at soundserver.cc:2545 
#9  0x080644d4 in SoundServerStartup (this=0xbffff314, r=@0xbffff31c) 
               at soundserver.h:1376 
#10 0x0805585b in Arts::SoundServerStartup_impl::cleanReference 
               (this=0x8164cf0)  at soundserverstartup_impl.cc:54 
#11 0x080559a1 in Arts::SoundServerStartup_impl::lock (this=0x8164cf0) 
               at soundserverstartup_impl.cc:78 
#12 0x0805e080 in Arts::SoundServerStartup::lock (this=0xbffff4a8) 
               at soundserver.h:2082 
#13 0x080561d2 in main (argc=65, argv=0x8614c381) at artsd.cc:293 
 
kdebase and stlport not recompiled yet. 
 

-- 


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



More information about the Gcc-bugs mailing list