看板 DFBSD_bugs 關於我們 聯絡資訊
--KuLpqunXa7jZSBt+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 24, 2011 at 10:00:59AM +0100, Magliano Andre' wrote: > Hi Peter, >=20 > it seems to me (if i don't see ghosts) that the problem is at: >=20 > #6 0x2ac85455 in operator delete (ptr=3D0x0) >=20 > but if i look in > /usr/src/contrib/gcc-4.4/libstdc++-v3/libsupc++/del_op.cc:44 > i see: >=20 > _GLIBCXX_WEAK_DEFINITION void > operator delete(void* ptr) throw () > { > if (ptr) > std::free(ptr); > } >=20 > i.e. checking against NULL pointer is done, so it should'nt happen. >=20 I'm not sure what's going on there... #5 0x2821bd7b in free (ptr=3D0x2abd81bc) at /usr/src/lib/libc/../libc/stdl= ib/nmalloc.c:774 #6 0x2ac93455 in operator delete (ptr=3D0x0) at /usr/src/gnu/lib/gcc44/libstdc++/../../../usr.bin/cc44/cc_tools/../.= =2E/../../contrib/gcc-4.4/libstdc++-v3/libsupc++/del_op.cc:44 #7 0x2ac27385 in __gnu_cxx::new_allocator<char>::deallocate (this=3D0x2abd= 81bc, __a=3D...) at /usr/obj/usr/src/world_i386/usr/include/c++/4.4/ext/new= _allocator.h:95 Notice that in #7, you have this=3D0x2abd81bc and in #5 you have ptr=3D0x2abd81bc. Not sure how to explain that... > What happens if you recompile vlc with gcc 4.4? >=20 I can't compile vlc any more. It fails during the build. The 2nd backtrace is when I attempt to build vlc (it tries to run some program as part of the build that winds up hitting the assertion). --KuLpqunXa7jZSBt+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (DragonFly) iEYEARECAAYFAk2LHTEACgkQKjaxugguz8UMGgCeP3/itPSd6ibz3PjtGlXLtSaE PEUAn1CmApxy6ULvw4Ma5euOHuj9aOyH =llSl -----END PGP SIGNATURE----- --KuLpqunXa7jZSBt+--