svn trunk segmentation faults
Mark Clarkson
mark.clarkson at smorg.co.uk
Mon Jan 14 13:35:25 PST 2008
On Mon, 2008-01-14 at 11:06 +0100, Vadim Zeitlin wrote:
> It seems like there is a heap corruption somewhere in your program.
> This could be or not be related to wxVector but it's impossible to say
> without being able to reproduce it. Please run your program under
> valgrind to debug it yourself.
I've run my program through Valgrind and it seems to be fairly happy
until it gets to the wxHtmlListBox code, which I now see uses the
wxVector. I'd be happy to send the Valgrind output as I may be reading
it wrong but I'm having a real hard time trying to debug the wxHtml..
and wxString.. code. My program can run for days with the old vector.h
but I still may be doing something stupid!
I get lots of these:
Invalid write of size 4
at wxStringIteratorNode::DoSet (string.h:3134)
wxStringIteratorNode::wxStringIteratorNode (string.h:370)
wxString::const_iterator::const_iterator
wxString::const_iterator::operator++
wxHtmlTagsCache::wxHtmlTagsCache
wxHtmlParser::CreateDOMTree
wxHtmlParser::SetSource
wxHtmlParser::InitParser
wxHtmlWinParser::InitParser
wxHtmlParser::Parse
wxHtmlListBox::CacheItem
wxHtmlListBox::OnMeasureItem
Address 0x681f1b4 is 868 bytes inside a block of size 1,280 free'd
at 0x04024b8e: realloc
wxVector<wxHtmlCacheItem>::reserve
wxVector<wxHtmlCacheItem>::push_back
wxHtmlTagsCache::wxHtmlTagsCache
wxHtmlParser::CreateDOMTree
wxHtmlParser::SetSource
wxHtmlParser::InitParser
wxHtmlWinParser::InitParser
wxHtmlParser::Parse
wxHtmlListBox::CacheItem
wxHtmlListBox::OnMeasureItem
wxVListBox::OnGetRowHeight
Cheers
Mark.
More information about the wx-users
mailing list