Hi,
I'm developing a GUI for a Philips PNX8550 MIPS processor.
This processor has an on-chip graphics accelerator and supports DirectFB
0.24.
DirectFB 0.24 alone works perfectly. I can even play video streamings
using the DirectFB API directly.
Since I need a decent GUI, I would like to use GTK over DirectFB.
I cross-compiled and installed it, but when running a simple program
that needs to render some text it crashes with the following msg:
(vgui:1028): Pango-CRITICAL **: pango_cairo_font_map_create_context:
assertion `PANGO_IS_CAIRO_FONT_MAP (fontmap)' failed
(vgui:1028): Pango-CRITICAL **: pango_cairo_context_set_font_options:
assertion `PANGO_IS_CONTEXT (context)' failed
(!) [ 1028: 1.312] --> Caught signal 11 (at 0x8, invalid address) <--
(!) Direct/Thread: Killing 'Fusion Dispatch' (1030)!
Killed
Every time I call funcs like gtk_button_new_with_label() I get this
crash. If I use gtk_button_new() there's no problem.
It crashes too if I load an image and try to put its widget inside a
box:
image = gtk_image_new_from_file("image.png");
gtk_box_pack_start(GTK_BOX(box1), image, FALSE, FALSE, 0);
gtk_widget_show (image);
The crash msg is the following:
(!) [ 1111: 220.025] --> Caught signal 11 (at 0x1100e4b8, invalid
address) <--
(!) Direct/Thread: Killing 'Fusion Dispatch' (1113)!
Here's the order and versions I'm using:
GLib: 2.11.0
ATK: 1.10.3
Fontconfig: 2.3.95
Freetype: 2.1.9
Libxml2: 2.6.23
Cairo: 1.0.4
Pango: 1.13.0
GTK+: CVS downloaded 25/05/06
I know that font rendering is still under development and some GTK
functionality is not yet supported, but I would like to know if the
problems I have are because of this or because a
compilation/installation issue.
Do you have any ideas/hints for solving these issues?
Thanks!
Pedro Aguilar
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev