You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by GitBox <gi...@apache.org> on 2020/04/25 09:16:00 UTC

[GitHub] [thrift] wyjwang commented on pull request #2064: THRIFT-5144: Fix memory leak when generate deserialize list element

wyjwang commented on pull request #2064:
URL: https://github.com/apache/thrift/pull/2064#issuecomment-619348568


   Yes, I found the problem with ASAN and checked it with ASAN after solving it.
   
   The problem of incomplete display of g_malloc can be solved by configuring this parameter.
   
   export G_DEBUG=gc-friendly
   export G_SLICE=always-malloc
   export ASAN_OPTIONS=halt_on_error=1:detect_leaks=1:log_path=/home/ubuntu/asan:fast_unwind_on_malloc=0:log_exe_name=true
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org