mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
26.79k stars 2.84k forks source link

Mingw Runtime Assertion Fontconfig Failed mpv git-0cce8fe (Windows) #980

Closed alive4ever closed 9 years ago

alive4ever commented 9 years ago

I found a strange error with mpv windows 64 built by @lachs0r on some mkv video. The error message title is MinGW Runtime Assertion. Here is the error text.

Assertion failed!
Program: C:\Apps\mpv-x86_64-latest\mpv.exe
File: /home/lachs0r/mingw-w64-cmake/build64/packages/fontconfig-prefix/src/fontconfig/src/fcweight.c, Line 48
Expression: dx > 0 && dy > 0 && x1 <= x && x <= x2

Here is error screenshot. mpv-error2

There are three buttons on the error message, Abort, Retry, Ignore. Clicking Ignore will redisplay the same error. Clicking ignore again results video being played fine.

C:\Apps\mpv-x86_64-latest>mpv --version
mpv git-0cce8fe (C) 2000-2014 mpv/MPlayer/mplayer2 projects
 built on 2014-07-31T07:19:16
ffmpeg library versions:
   libavutil       52.94.100
   libavcodec      55.71.100
   libavformat     55.50.100
   libswscale      2.6.100
   libavfilter     4.11.102
   libavresample   1.3.0

For additional information, the played mkv file has two embedded subtitles in two different languages. I hope it'll be fixed.

mia-0 commented 9 years ago

Could you extract all the fonts used in that file and upload them? You can use http://pomf.se

alive4ever commented 9 years ago

Here is attached fonts in the mkv file. I hope they'll be useful to troubleshoot this issue. http://a.pomf.se/lvaqqs.7z

steffen678 commented 9 years ago

I am also having this bug on the latest build:

mpv git-913b49f (C) 2000-2014 mpv/MPlayer/mplayer2 projects built on 2014-08-04T02:16:02
ffmpeg library versions:
   libavutil       52.94.100
   libavcodec      55.72.100
   libavformat     55.50.100
   libswscale      2.6.100
   libavfilter     4.11.102
   libavresample   1.3.0

Fonts can be found here: http://a.pomf.se/ispcwm.7z

mia-0 commented 9 years ago

https://bugs.freedesktop.org/show_bug.cgi?id=82220

Divetoxx commented 9 years ago

This bug appears not only with fontconfig! If file config include these two lines:

vo=direct3d_shaders fullscreen=yes

then I see this message: ass

This behaviour I see since release mpv-x86_64-20140731.7z Release mpv-x86_64-20140630.7z is good - bug is absent.

Or is it another bug?

mia-0 commented 9 years ago

That’s a different problem.

Anyway, the fontconfig bug has been fixed upstream; new builds soon. Please open a new issue if the bug affecting d3d is still present with the upcoming build (this will replace today’s earlier build).