[ANN] --enable-dbgutil: everyone gets a Debug STL!

Michael Stahl mstahl at redhat.com
Thu Apr 18 11:52:16 PDT 2013


On 15/04/13 16:43, Terrence Enger wrote:

>> since we have this enabled on other GCC platforms for years i'm not much
>> concerned about breakage on MacOSX;

    ^^^ "famous last words" :)

> I have submitted a couple of bug reports where the problem seems to
> manifest itself because I am using debug STL.  The most recent of these
> is fdo#61688 "SIGABRT with debug build in VclBuilder::handleChild"
> <https://bugs.freedesktop.org/show_bug.cgi?id=61688>.

thanks for your work!

> But Julien Nabet reports
> <https://bugs.freedesktop.org/show_bug.cgi?id=61688#c9> that he too
> uses --enable-dbgutil without seeing the crash.  Do you know a reason
> why our results should be different?

it may be that there is something non-deterministic about certain
instances of problems, especially in sort/ordering cases when pointers
are compared which may happen to be ordered differently on different
systems.  but of course correct code should never trigger an assertion.

> FWIW, I suspect that wide use of debug STL will result in a flurry of
> bug reports.

i hope not, given that we're already using it on Linux; it should only
find "new" problems in Mac/WNT-only code.   well, WNT-only code at this
point, since Stephan already reverted it on Mac.




More information about the LibreOffice mailing list