[vdr] vdr-1.5.10, segfault on startup

Clemens Kirchgatterer clemens at 1541.org
Sun Nov 4 11:18:12 CET 2007


Mario Ivankovits <mario at ops.co.at> wrote:

> Now, that I still got this exception I tried to track it down using
> gdb: I've come to cFont::GetFontFilename where FcFontSort returns
> "null".

i had the same, but on my system i simply had no fonts installed at all.

> I simple check (if fontset != null) fixed the segfault:
> 
>      FcFontSet *fontset = FcFontSort(NULL, pat, FcFalse, NULL, NULL);
> if (fontset != NULL)
> {
>    // ...
> }

an "else" would be nice here so the user gets at least some hint
what's the problem:

} else {
	esyslog(ERROR: no usable fonts found.);
}

best regards ...
clemens



More information about the vdr mailing list