Hi,

ext Jakov wrote:
> Yeah, it's the same to the N800 device. When I clicked on the button,
> the app exited at once. I used only ARMEL target for testing
> (simulation) and made .deb and installed on N800 device.

I guess in that case there's a bug in your application.  Was it
also a segfault like with Qemu?

Does it output any Glib asserts to syslog (on device) or to console
(on x86 Sbox)?  If you Valgrind it on x86 sbox, does it output any
errors from your application?


        - Eero

> On 2/18/08, Eero Tamminen <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> ext Jakov wrote:
>>> I have a simple app with socket communication. In Maemo 3.x it worked
>> well.
>>> But the problem comes when I use Maemo 4.0
>>>
>>> This line is ok when initializing:
>>>
>>> gtk_label_set_text (GTK_LABEL(communication_tab->label_connect),
>> "Connect");
>>>
>>> The label has text "Connect";
>>>
>>> When I click a button, I want to change its text, to "Reconnect", for
>>> example. A callback func is invoked, you know. But in this func, an error
>>> occurs:
>>>
>>> "qemu: uncaught target signal 11 (Segmentation fault) - exiting"
>>>
>>> It didn't happen in Maemo 3.x.
>>>
>>> Please tell me what's wrong. Thanks very much.
>> Does it work on the target device?
>>
>> (ARM scratchbox target is really meant for building, use x86 target
>> if you want to do testing in addition to the device.  On x86 you have
>> also tools like Valgrind for finding errors in your code better.)

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to