List Info

Thread: GTK+ over DirectFB on MIPS processor




GTK+ over DirectFB on MIPS processor
user name
2006-05-26 10:45:02
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
directfb-devdirectfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
GTK+ over DirectFB on MIPS processor
user name
2006-05-26 17:04:38
First file a bug report over at

http://bugzilla.gnome.org/


Next if you can attach gdb and get a trace I might be able
to fix it.
You should also test on X86 if you can and see if you crash
the same
way with your test code.

If so it will be easy to fix and is not mips specific.


Mike


On 5/26/06, Pedro Aguilar <pedro.aguilarvisionee.com> wrote:
> 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
> directfb-devdirectfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
>

_______________________________________________
directfb-dev mailing list
directfb-devdirectfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )