User forums > Help
Intermittant crash on Ubuntu Dapper
mandrav:
What ubuntu version are you using?
This was a bug in libcairo which was fixed almost a year ago (nothing to do with our sources).
luochong:
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)
--- Code: ---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
--- End code ---
mandrav:
--- Quote from: luochong on July 14, 2006, 09:09:50 pm ---Actually I'm using Debian Sid.
--- End quote ---
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 ;)
luochong:
--- Quote ---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 ;)
--- End quote ---
--- Code: ---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
--- End code ---
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.
luochong:
Since cairo-ft-font.c:680 is the trouble-maker, so I commented out this line and re-packaged libcairo2. Now codeblocks is very stable now! :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version