#11479: Segfault with LTO - MacOS M4
-------------------------------------+-------------------------------------
             Reporter:  Levon        |                     Type:  defect
  Gevorgyan                          |
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:  git-
             Keywords:  SEGFAULT     |  master
  macos arm                          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Any build of ffmpeg/ffprobe from e504247db6edb1cb47a9c562277f6e671f4bde1d
 or onwards results in segfault 11 when LTO is enabled on MacOS arm64 (M4
 base model). Specific commit using git bisect. Big buck bunny is used as
 an example, but I can confirm the segfault occurs on a wide range of media
 types and codecs (including mp3 audio).

 How to reproduce:
 {{{
 $ ./configure --enable-lto --disable-doc --disable-htmlpages --disable-
 podpages --disable-txtpages
 $ make
 $ ./ffprobe big-buck-bunny.mp4
 Segmentation fault: 11

 # environment
 $ clang --version
 Apple clang version 16.0.0 (clang-1600.0.26.6)
 Target: arm64-apple-darwin24.3.0
 Thread model: posix

 $ uname -mrs
 Darwin 24.3.0 arm64
 24.3.0 Darwin Kernel Version 24.3.0
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11479>
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