#9082: Memory leak while trancoding on GPU
------------------------------------+-----------------------------------
             Reporter:  misko       |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by misko):

 Replying to [comment:7 Balling]:
 > Replying to [comment:5 misko]:
 > > Replying to [comment:4 mkver]:
 > > > Can you test with ASAN? It's way faster than Valgrind.
 > >
 > > I can try. Is it enough just to enable --toolchain=gcc-asan configure
 flag?
 > No, you need to use -fsanitize=address compiler flags (both CFLAGS and
 CXXFLAGS) and linker flags (LDFLAGS).

 In configure script I found this case statement:
 {{{
 case "$toolchain" in
     *-asan)
         cc_default="${toolchain%-asan}"
         add_cflags  -fsanitize=address
         add_ldflags -fsanitize=address
     ;;
 }}}

 So specifying --toolchain=gcc-asan does exactly what you said. It adds
 -fsanitize=address to both CFLAGS and LDFLAGS.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9082#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to