Hi
I'm getting this error when either saving a file (CTRL+S) or building (CTRL+F9)
codeblocks: cairo-ft-font.c:678: _cairo_ft_unscaled_font_set_scale: Assertion `error == 0' failed.
codeblocks: cairo-ft-font.c:678: _cairo_ft_unscaled_font_set_scale: Assertion `error == 0' failed.
Aborted
It only happens every so often, but three times in the last three hours. It's easy to restart, and the save has actually happened.
I'm using Version 1.0 revision 2573 - compiled on my machine.
Cheers
Hello,
May be you can try with an other font and see if you still have the same problems.
Best wishes,
Michael
Nope - same error - this time using <CTRL+F9> to build my project.
I changed the font I'm using in the editor to courier 11 pt.
-------------- Build: default in SDL Application ---------------
codeblocks: cairo-ft-font.c:678: _cairo_ft_unscaled_font_set_scale: Assertion `error == 0' failed.
codeblocks: cairo-ft-font.c:678: _cairo_ft_unscaled_font_set_scale: Assertion `error == 0' failed.
Aborted
Cheers
Yes, I also have that problem. Codeblocks (nightly build 20060629 on Ubuntu) keeps on crashing because of this same error.
codeblocks: /home/dajobe/dev/debian/cairo/libcairo-1.2.0/src/cairo-ft-font.c:680: _cairo_ft_unscaled_font_set_scale: Assertion `error == 0' failed.
Especially when I add the source file "Student_info.cpp" (in the attachment) to the project, it always crashes. Codeblocks crashes at other moments also, very often.
Ps: I use the same font setting as Michael, but the problem persists.
[attachment deleted by admin]
Actually I'm using Debian Sid. I was glad that the one built on Ubuntu can also run at Sid, however, it crashes so often that it's not usable at all.
I checked and found that the related libraries on my computer are (the newest ones in Sid)
root@XXX:~# ldd `which codeblocks` | grep cairo
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6c28000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb6bc8000)
root@XXX:~# dpkg -l libpango1.0-0
ii libpango1.0-0 1.12.3-1 Layout and rendering of internationalized text
root@XXX:~# dpkg -l libcairo2
ii libcairo2 1.2.0-3 The Cairo 2D vector graphics library
That explains why it crashes for you very often, as you said.
I 'd suggest building C::B from source. It's pretty easy, well documented and the results are guaranteed ;)
XXX@XXX:/f/workspace$ codeblocks
(codeblocks:25197): Gtk-CRITICAL **: gtk_window_realize_icon: assertion `info->icon_pixmap == NULL' failed
codeblocks: /home/dajobe/dev/debian/cairo/libcairo-1.2.0/src/cairo-ft-font.c:680: _cairo_ft_unscaled_font_set_scale: Assertion `error == 0' failed.
codeblocks: /home/dajobe/dev/debian/cairo/libcairo-1.2.0/src/cairo-ft-font.c:680: _cairo_ft_unscaled_font_set_scale: Assertion `error == 0' failed.
Aborted
I'm sorry, but the same error still persists after I checked out the source code using svn, and rebuilt the package on my Debian Sid.