nickguletskii / GLXOSD

GLXOSD is an extensible on-screen display (OSD)/overlay for OpenGL applications running on Linux with X11 which aims to provide similar functionality to MSI Afterburner/RivaTuner OSD. It can show FPS, frame timings, temperatures and more in OpenGL games and applications. It can also be used to benchmark games, much like voglperf.
https://glxosd.nickguletskii.com
MIT License
123 stars 20 forks source link

Crash due to libfontconfig #1

Closed TheOnlyJoey closed 11 years ago

TheOnlyJoey commented 11 years ago

Hello,

Whenever i run glxosd on Debian Sid (Updated 14 June 2013) i get the error: fcmatch.c:548: IA__FcFontMatch: Assertion `result != ((void *)0)' failed. I googled for the issue and it seems like a problem in libfontconfig that has been a problem since May 2012. I don't know if you can work around this issue, or that libfontconfig needs patching, but wanted to let you know.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672947 is a similar issue with mplayer

nickguletskii commented 11 years ago

Please try changing the font to something else in the config. It looks like it can't find the font.

Scratch that, the newer FcFontMatch doesn't accept NULL as the last argument. I will try to fix this today.

TheOnlyJoey commented 11 years ago

Same error, also tried on a Ubuntu 12.10 machine.

TheOnlyJoey commented 11 years ago

Your latest patch seems to have fixed the issue, thanks!

nickguletskii commented 11 years ago

Fix pushed, please confirm that it solves the problem.

EDIT: Hahaha, already! Thank you.