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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed May 16 13:37:08 UTC 2012


On Wed, May 16, 2012 at 01:07:11PM +0200, Fabian Greffrath wrote:
> 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.

Really funny of them to add an assertion for an argument they don't even
have any documentation on.
At least nothing that I could find describes what the meaning of it is,
nor whether NULL is supposed to be valid or not...





More information about the pkg-multimedia-maintainers mailing list