[Bf-committers] Quiet ASAN LeakSanitizer reports with debug builds

Campbell Barton ideasman42 at gmail.com
Thu Sep 24 07:02:01 CEST 2015


Note that disabling Python's custom allocator stops these leak messages too, eg:

  ./configure --prefix=/opt/py34 --with-pydebug --without-pymalloc
--enable-shared


@Jacob Merrill, if you find reproducible leaks in the BGE you can
report them to the tracker.
The Game-Engines LibLoad shouldn't be leaking memory - at least for
common usage,
Valgrind and Blender's guarded-alloc were used during its development
to ensure it wasn't leaking.

On Wed, Sep 23, 2015 at 1:14 AM, Jacob Merrill
<blueprintrandom1 at gmail.com> wrote:
> Hmm, I need to get the debug build and cycle libload/libFree,
> On Sep 22, 2015 8:11 AM, "Bastien Montagne" <montagne29 at wanadoo.fr> wrote:
>
>> It should, yes, since afaik BGE is built with same gcc options/settings
>> as Blender itself?
>>
>> Le 22/09/2015 17:05, Jacob Merrill a écrit :
>> > Would this tool report memory leaks in the game engine?
>> > On Sep 22, 2015 7:51 AM, "Bastien Montagne" <montagne29 at wanadoo.fr>
>> wrote:
>> >
>> >> Hey devs,
>> >>
>> >> Was annoyed with the amount of reports generated by asan’s mem leak
>> >> checking due to py in Blender, so searched for a way to silence those.
>> >> Please see
>> >>
>> >>
>> http://wiki.blender.org/index.php/Dev:Doc/Tools/Debugging/GCC_Address_Sanitizer#Quiet_LeakSanitizer
>> >> for how to do so. ;)
>> >>
>> >> Cheers,
>> >> Bastien
>> >>
>> >> _______________________________________________
>> >> Bf-committers mailing list
>> >> Bf-committers at blender.org
>> >> http://lists.blender.org/mailman/listinfo/bf-committers
>> >>
>> > _______________________________________________
>> > Bf-committers mailing list
>> > Bf-committers at blender.org
>> > http://lists.blender.org/mailman/listinfo/bf-committers
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



-- 
- Campbell


More information about the Bf-committers mailing list