This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19317] [4.1 Regression] removing a temporary return value when we cannot
- From: "kev dot gilbert at cdu dot edu dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Sep 2005 23:17:56 -0000
- Subject: [Bug c++/19317] [4.1 Regression] removing a temporary return value when we cannot
- References: <20050107191510.19317.mueller@kde.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kev dot gilbert at cdu dot edu dot au 2005-09-26 23:17 -------
Whilst this bug has been marked as resolved, I am still experiencing the same
problems (with arts-1.4.91 - the version shipped with KDE 35. Beta 1).
My gcc version info : gcc (GCC) 4.1.0 20050924 (experimental)
The following is the stack dump for the problem:
-------------------------------
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1209124384 (LWP 31570)]
[KCrash handler]
#4 0x0034ffe3 in __gnu_cxx::__pool<true>::_M_reclaim_block (this=0xa91b20,
__p=0x84e6378 "\234�\b�\b�N\b", __bytes=4)
at ../../.././libstdc++-v3/src/mt_allocator.cc:254
#5 0x00a71f37 in __gnu_cxx::__mt_alloc<std::string,
__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >::deallocate
(this=0xbfc15838, __p=0x84e6378, __n=1)
at /usr/local/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/ext/mt_allocator.h:711
#6 0x00a71f71 in std::_Vector_base<std::string, std::allocator<std::string>
>::_M_deallocate (this=0xbfc15838, __p=0x84e6378, __n=1)
at /usr/local/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/stl_vector.h:129
#7 0x00a71fae in ~_Vector_base (this=0xbfc15838)
at /usr/local/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/stl_vector.h:115
#8 0x00a72017 in ~vector (this=0xbfc15838)
at /usr/local/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/stl_vector.h:268
#9 0x00a7204a in ~ObjectReference (this=0xbfc1582c) at ../mcop/core.h:117
#10 0x00a5adc7 in Arts::SoundServerStartup_base::_fromString (
objectref=@0xbfc158d0) at soundserver.cc:2545
#11 0x08067572 in SoundServerStartup (this=0xbfc158b0, r=@0xbfc158b8)
at soundserver.h:1376
#12 0x08066b83 in Arts::SoundServerStartup_impl::cleanReference (
this=0x853e6f8) at soundserverstartup_impl.cc:54
#13 0x08066cc1 in Arts::SoundServerStartup_impl::lock (this=0x853e6f8)
at soundserverstartup_impl.cc:78
#14 0x08062bf9 in Arts::SoundServerStartup::lock (this=0xbfc15a58)
at soundserver.h:2082
#15 0x080624ac in main (argc=14, argv=0xbfc15b74) at artsd.cc:293
-------------------------------
My gcc was installed by:
-------------------------------
export CVS_RSH=ssh
export CVSROOT=":ext:anoncvs@savannah.gnu.org:/cvsroot/gcc"
cvs -z9 checkout -P gcc wwwdocs
cd gcc
./configure
make -j 2
make install
-------------------------------
I have peformed a random check of the patches in Remark #42 below and they seem
to be in the source I've downloaded.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19317