Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#59308 closed defect (fixed)

ffmpeg-devel: Segmentation Fault on Catalina

Reported by: llamafilm Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: ffmpeg

Description

I'm running macOS 10.15 with MacPorts 2.6.1. Installing ffmpeg-devel @4.2.git-20191004 completes with no errors or warnings, but running ffmpeg causes a segmentation fault. I tried -loglevel trace but there is no output because it crashes instantly. Is there any way to trace this down?

I installed the latest from FFmpeg GitHub master branch with default options and it works fine. So I tried compiling git master with all the options MacPorts uses, with the default gpl2 variant plus extra-ldflags and different mandir and it also works fine.

--enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --disable-securetransport --mandir=/usr/local/share/man --enable-shared --enable-pthreads --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --extra-ldflags="-L/opt/local/lib"

Attachments (1)

ffmpeg_2019-10-13-222353_fifteen.crash (61.0 KB) - added by llamafilm 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by llamafilm

With dtruss I see this is the error right before the crash:

1597/0x66b9: stat64("/opt/local/etc/gnutls/default-priorities\0", 0x7FFEECE64A20, 0x0) = -1 Err#2

I tried installing gnutls from MacPorts but that directory still does not exist.

Version 0, edited 5 years ago by llamafilm (next)

comment:2 Changed 5 years ago by jmroot (Joshua Root)

Cc: jeremyhu added
Owner: set to dbevans
Port: ffmpeg added
Status: newassigned

Please attach the crash log.

comment:3 Changed 5 years ago by jmroot (Joshua Root)

Likely a duplicate of #59246.

Changed 5 years ago by llamafilm

comment:4 Changed 5 years ago by llamafilm

Crash log attached. You're right, this does seem to be the same issue, but with ffmpeg-devel.

comment:5 Changed 5 years ago by Chris Jones <jonesc@…>

Resolution: fixed
Status: assignedclosed

In 5d1883ca26c09a0b4951971b7410f01860e56329/macports-ports (master):

ffmpeg-devel: Blacklist Xcode 11 clang due to 'stack-check; issues
Closes: #59308

comment:6 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Since this is a runtime error, not a build error, a revbump is needed to rebuild the port for those who already installed it.

Note: See TracTickets for help on using tickets.