Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index



On Sun, 2012-09-09 at 00:45 +0200, Julien Nabet wrote:
So in 
http://wiki.documentfoundation.org/BugReport#How_to_get_valgrind_log_.28on_Linux.29 
page, should I add this:

export G_SLICE=always-malloc

before this:

valgrind --tool=memcheck --num-callers=50 --trace-children=yes ./soffice.bin 2>&1 | tee 
/tmp/valgrind.log

        Yes :-) that's critical.

        Having said that - since we now have a nice configure check for /
include valgrind.h already in:

jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx:#include <valgrind.h>

        I suspect we should (perhaps) do just the same thing in our code to
drop our custom allocator, and for good measure check before g_type_init
- and do a putenv("G_SLICE=1"); to clobber glib.

        Then we can remove that from the docs again I suppose :-) patches
welcome for that.

        ATB,

                Michael.

-- 
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.