Re: vdr-1.5.10, segfault on startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mario Ivankovits <mario@xxxxxxxxx> 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

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux