Bug#672947: fcmatch.c:548: IA__FcFontMatch: Assertion `result != ((void *)0)' failed.

Fabian Greffrath fabian at greffrath.com
Wed May 16 11:07:11 UTC 2012


Am Montag, den 14.05.2012, 23:23 +0200 schrieb Alex Wilk:
> mplayer: fcmatch.c:548: IA__FcFontMatch: Assertion `result != ((void *)0)' failed.

In line 1163 in file sub/font_load_ft.c of the mplayer2 source code the
following code is called:

	fc_pattern = FcFontMatch(0, fc_pattern, 0);

The third argument passed to FcFontMatch() is the *result pointer, which
is 0 in this case. Newer versions of fontconfig seem to include an
assertion that this may never be 0, so it fails. Simply passing
"&result" instead of 0 (as in line 1153) should solve the problem here.

I think the same applies to #672706 reported against mplayer.

 - Fabian






More information about the pkg-multimedia-maintainers mailing list