|
From: Vojtech F. <voj...@se...> - 2008-03-28 09:48:59
|
> Vojtech, > > Could you please try HGDEV branch? > > svn co svn://svn.valgrind.org/valgrind/branches/HGDEV valgrind && \ > cd valgrind && \ > ./autogen.sh && \ > ./configure --prefix=`pwd`/Inst && \ > make && \ > make install > > --kcc I tried and the result is ... quite different. There showed up a problem with Python allocator and memory recycling in Python. I will try to disable it a see what happens. There are still errors that seem to be related with STLPort T4: Possible data race during write of size 4 at 0xB843010 at 0x766FE0E: void _STL::_Construct<...>(...*, ... const&) (_construct.h:97) by 0x766C1BF: _STL::vector<..., _STL::allocator<...> >:: push_back(... const&) (_vector.h:333) by 0x766A6C4: ...our code... (layout_buffer_impl.cxx:473) old state: a0083ed000000000 R #SS=1 #LS=0 S33773/T2 new state: c0094eb000000000 W #SS=2 #LS=0 S33746/T4 S33773/T2 Location 0xB843010 has never been protected by any lock Location 0xB843010 is 432 bytes inside a block of size 512 alloc'd at 0x4023099: operator new(unsigned) (vg_replace_malloc.c:224) by 0x5AD3BA9: _STL::__stl_new(unsigned) (_new.h:86) by 0x5AC31DD: _STL::__new_alloc::allocate(unsigned) (_alloc.h:134) by 0x766FFCF: _STL::allocator<...>::allocate(unsigned, void const*) (_alloc.h:355) by 0x766FE89: _STL::vector<..., _STL::allocator<...> >:: _M_insert_overflow(...*, ... const&, _STL::__false_type const&, unsigned, bool) (_vector.h:130) by 0x766C1E7: _STL::vector<..., _STL::allocator<...> >::push_back(... const&) (_vector.h:337) by 0x766A6C4: ...our code... (layout_buffer_impl.cxx:473) And no there are no global data in layout_buffer_impl.cxx:473. By the way: how shall I interpret "new state: c0094eb000000000 W #SS=2 #LS=0 S33746/T4 S33773/T2"? And there were also some warning: parse_type_DIE: confused by: <2><149be1>: DW_TAG_structure_type DW_AT_abstract_ori: <149a77> --28862-- WARNING: Serious error when reading debug info --28862-- When reading debug info from .../libpython2.5.so.1.0: --28862-- parse_type_DIE: confused by the above DIE --28862-- WARNING: Serious error when reading debug info --28862-- When reading debug info from .../libicudata.so.36.0: --28862-- Can't make sense of .text section mapping Vojtech |