[Gpe-list] Issues with GTK+Extras w/ Open Embedded GPE Envronment

Florian Boor florian.boor at kernelconcepts.de
Tue Nov 21 19:34:44 CET 2006


Hi,

John Smith schrieb:
> I am attempting to use GTK+Extra gtk_plot functions on an ARM-9 system using 
> Open Embedded and GPE.
> 
> Build: Using the OpenZaurus 3.5.4.2 as a baseline on a Cirrus EDB9315A 
> evaluation board w/ 64 Mbytes of SDRAM.

oh nice...

> Gory Details - the testrealtime demo experiences a SEGV in /ib/libc.so.6 
> strtok() function called 'apparently' from XftInitFtLibrary() in 
> /usr/lib/libXft.so.2. This happens when the program calls the 
> gtk_plot_canvas_put_child function to put a text string with the title onto 
> the plot.
> 
> My intuition at the moment is that there may be some issue with fonts. The 
> Tiny-X (Xfbdev) system has lvery limited font spport and there may be some 
> 'undiscovered' hole in the system that these demos are falling into. Other 
> potential issues are memory limitations, and other resource limits on the 
> embedded platform.

I remember we had a problem with some version of libxft used in Familiar or OZ
some time ago. Does Xtscal work for you?
It might be worth checking if there is a more up to date library in
org.openembedded.dev.

> Experimenting with other GTK+Extra demos lead to SEGVs too. However the 
> testgtkfont program kinda, almost runs on the target platform.
> 
> 9315a:~# ./testgtkfont
> NEW FONT Nimbus Roman No9 L, Regular 2097151.9990234375 The program 
> 'testgtkfont' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadAlloc (insufficient resources for operation)'.

I'm not absolutely sure what happened here, but that looks like you ran out of
memory. Try to check where in this application this problem occurs - that might
give some indication if you ran out of resources of if it is a bug.

Greetings

Florian

-- 
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49 271-771091-14
and the reality of tomorrow.            Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904]        florian.boor at kernelconcepts.de

1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76



More information about the Gpe-list mailing list