Opened 6 months ago

Closed 6 months ago

Last modified 5 months ago

#8110 closed defect (invalid)

MacBook Pro 2018/19 consistent hard system crashing

Reported by: genericptr Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

We've upgraded to newer MacBook? Pro's and found that FFMpeg is now crashing the entire system after recording video for a few minutes. This isn't just an FFMpeg crash, it's an entire system crash, i.e. the screen goes black and the computer restarts. The crash is consistent and happens every single time without exception, rendering ffmpeg unusable for our team.

Here are the systems I've tested on. The previous 2 MacBooks? we were using don't have this crash (regardless of ffmpeg version). Any suggestions to fix this? FFMpeg is totally broken an not usable for Mac users currently.

Crashes:

Macbook Pro 13" 2019 Macbook Pro 13" 2018

Doesn't crash:

Macbook Pro 13" Early 2015 Macbook Air 2018

How to reproduce:

% ffmpeg -y -thread_queue_size 512 -f avfoundation -framerate 30 -async 1 -i "1" -thread_queue_size 512 -f avfoundation -framerate 30 -i "0":"0" -s 640x400 -b:v 356k -aq 64k -filter:a "volume=1.0"  -filter_complex "[0]scale=128:80 [pip]; [1][pip] overlay=main_w-overlay_w-10:main_h-overlay_h-10" -vcodec libx264 -pix_fmt yuv420p -r 30 -movflags +faststart "test.mp4"
ffmpeg 4.2
built on MacOS 10.14.6

Change History (2)

comment:1 Changed 6 months ago by cehoyos

  • Resolution set to invalid
  • Status changed from new to closed

Unrelated: Please understand that only current FFmpeg git head is supported on this bug tracker.

There may be a bug in FFmpeg (after all, we know of a lot) but no bug in a user application must ever crash the system, so what you see is either an issue with osx or (more likely) with your hardware.

comment:2 Changed 5 months ago by genericptr

Please note that the 10.14.6 *supplemental* update and the Catalina beta have fixed the crashing. This suggests there was a bug in macOS causing the crashing in AVFoundation.

Note: See TracTickets for help on using tickets.