[Libreoffice] [SOLVED] Debug-mode getline-using sal unittest crashes, triggered by _GLIBCXX_DEBUG

Caolán McNamara caolanm at redhat.com
Fri Jun 24 05:19:49 PDT 2011


On Thu, 2011-06-23 at 19:57 +0100, serv serva wrote:
> Your theory was right, I commented out all that concerns _GLIBCXX_DEBUG in :
> - sal/inc/unxgcc.mk
> - sal/gbuild/platform/unxgcc.mk
> 
> Then remove sal/unxlng* and build again.
> Everything is ok.

Excellent, so...

We don't want anyone else to get hung up on that, so ideally we want a
bug filed against your distros libstdc++ about this. So could you see if
the test-case at
http://lists.apple.com/archives/cocoa-dev/2009/Sep/msg01096.html

when compiled with g++ -D_GLIBCXX_DEBUG crashes when you do
echo hello world | ./a.out and file a bug against whatever version of
libstdc++ you have about it.

C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cxx
Type: text/x-c++src
Size: 397 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110624/a97a6175/attachment.cxx>


More information about the LibreOffice mailing list