mpv crashes on latest git master

Created on 30 Oct 2016  ·  6Comments  ·  Source: mpv-player/mpv

mpv version and platform

mpv HEAD-90b968a_1, macOS Sierra 10.12.1

Reproduction steps

Play a video from the command line.

Expected behavior

Video plays normally.

Actual behavior

mpv crashes, saying symbol _gliCreateContextWithShared not found.

Log file

The log file ends just before the error message : http://sprunge.us/STbG
The actual error message :

dyld: lazy symbol binding failed: Symbol not found: _gliCreateContextWithShared
Referenced from: /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
Expected in: flat namespace

dyld: Symbol not found: _gliCreateContextWithShared
Referenced from: /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
Expected in: flat namespace

[1] 81430 abort mpv --log-file=output.txt

info-needed mac upstream

Most helpful comment

This appears to be a linking problem. Workaround:

export DYLD_INSERT_LIBRARIES='/System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine'

I have no idea about macOS. Could our build system be at fault or is it Homebrew?

All 6 comments

This is probably a broken build or a driver issue? Anyway, certainly not a mpv issue.

Forgot to mention this, but selecting mpv as default player and opening a file works fine. The problem is only in the command line.

Forgot to mention this, but selecting mpv as default player and opening a file works fine. The problem is only in the command line.

Are you sure you're selecting the same git master version to associate with files?

Yup, tried removing mpv completely and rebuild it, and set associations again. Same bug happens.

Same issue, just recompiled mpv and ffmpeg, any ideas?

This appears to be a linking problem. Workaround:

export DYLD_INSERT_LIBRARIES='/System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine'

I have no idea about macOS. Could our build system be at fault or is it Homebrew?

Was this page helpful?
0 / 5 - 0 ratings