[FFmpeg-trac] #10694(avfilter:closed): hb_font_destroy exception on multi thread

FFmpeg trac at avcodec.org
Sun Nov 26 22:11:02 EET 2023


#10694: hb_font_destroy exception on multi thread
----------------------------------+------------------------------------
             Reporter:  harf      |                    Owner:  (none)
                 Type:  defect    |                   Status:  closed
             Priority:  minor     |                Component:  avfilter
              Version:  6.0       |               Resolution:  invalid
             Keywords:  harfbuzz  |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+------------------------------------
Comment (by harf):

 To fix the issue you need:
 pthread_mutex_lock(&lock);
 av_buffersink_get_frame_flags(...);
 pthread_mutex_unlock(&lock);

 ffmpeg version 6.0 uses harfbuzz lib, which uses freetype lib which has an
 issue on multithead access.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10694#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list