svn trunk segmentation faults
Mark Clarkson
mark.clarkson at smorg.co.uk
Sun Jan 13 16:04:56 PST 2008
On Sun, 2008-01-13 at 21:35 +0100, Vadim Zeitlin wrote:
> This assert is harmless but I think it should be removed because you often
> pass wxHtmlWindow HTML taken from external location (e.g. a web site or
> maybe HTML email message text) and you can't ensure that the tags are
> balanced in it and so can do nothing about this assert anyhow.
Thanks for the info.
>
> MC> [Debug] 15:28:35: ../src/common/stringimpl.cpp(187): assert
> MC> "wxAssertFailure" failed in wxStringImpl(): first must be before
> last
>
> I've never seen this one however. It's also probably harmless (the string
> will just remain empty) but this shouldn't happen. Do you have example of
> HTML which provokes the latter assert?
Thanks, I'll try to get the HTML if I come across this again.
I think I've found the general area of the problem now. I replaced
include/wx/vector.h in revision 51203 with the revision from 50995 and
now my app works again, i.e. no segfaults or asserts.
Revision 50996 onwards of include/wx/vector.h completely breaks my app.
Cheers
Mark.
More information about the wx-users
mailing list