[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Crash when executing gtk application
From: |
Rogério de Souza Moraes |
Subject: |
Re: [Ltib] Crash when executing gtk application |
Date: |
Tue, 15 Sep 2009 14:19:29 -0300 |
Hi Stuart,
thanks for helping, I tried to change the permission of
"/usr/share/icons" and "/usr/share/pixmaps" and it didn't worked. So
looking at the spec and analysing the patches that you put in
gtk.spec, I saw that your patches were changing files that are
responsible for the gtk icon cache. I remove the patches and compiled.
For my surprise the programs that was crashing, now are working.
Looking at the patches appear that you did them to handle some
problems when you build ltib in FC4 and FC5. That's right?
Another detail that now I am compiling GTK with X11. I didn't test
build gtk using just direct frame buffer but I think that even without
X11 it can works. For simple applications that use gtk, it does not
crash, but for applications that are more complex, it always crashes.
My build host is an ubuntu 9.04 and my target is an IMX27 freescale board.
Regards
Rogerio
2009/9/15 Stuart Hughes <address@hidden>:
> Hi Rogerio,
>
> I've not seen this, but have not used gtk much on the target boards. Make
> sure to check that you have the icons on the target and that they're
> readable etc.
>
> Regards, Stuart
>
>
> Rogério de Souza Moraes wrote:
>>
>> Hi,
>>
>> I am building LTIB in an Ubuntu 9.04. The boar that I use is an IMX27.
>> I tried to compile some pograms that use gtk
>> I am using gtk2-2.12.1 in an arm linux. In some gtk applications I get
>> the following segmentation fault:
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> find_image_offset (cache=0xf21c0, icon_name=0x679b8 "leafpad",
>> directory=0x402e1948 "16") at gtkiconcache.c:228
>> 228 n_buckets = GET_UINT32 (cache->buffer, hash_offset);
>>
>> Somebody already handled with this error or can give some help to solve
>> this?
>>
>> Thanks!
>>
>> Rogerio
>>
>