Fwd: Problems with Glib 2.30.2 using the Blackfin processor




Hello everyone,

First of all sorry if you receive 2 copies of this email (I thought I was registered to the mailing list, but I wasn't)

My problem:
I'm trying to use the Glib 2.30.2 in the blackfin processor, but I'm having some issues (the same example running in the x86 works fine):

I'm using an example that can be downloaded using the following link:
http://dl.dropbox.com/u/7795730/example.tar.gz

The output of the example is:
root:/tmp> ./example_test
** (process:310): DEBUG: dgt_example_init: [0x2dc4000] instance initialized

(process:310): GLib-GObject-CRITICAL **: g_object_notify_queue_thaw: assertion `nqueue->freeze_count > 0' failed
** (process:310): DEBUG: dgt_example_init: [0x2dc4070] instance initialized
** (process:310): DEBUG: main: example1 (defined on constructor) mock[7] example2 (default value) mock[777]
** (process:310): DEBUG: main: example2 mock now is [144000]
** (process:310): DEBUG: main: lets connect on the signals
** (process:310): DEBUG: main: calling add method
** (process:310): DEBUG: dgt_example_add: emiting a signal to inform that i am about to perform a sum
** (process:310): DEBUG: example_callback: example[0x2dc4000] is going to sum a[5] + b[5]
** (process:310): DEBUG: example_callback: udata is [Example 1 Userdata]
** (process:310): DEBUG: dgt_example_do_sum: doing sum, a[5] + b[5]
** (process:310): DEBUG: dgt_example_add: result is [10]
** (process:310): DEBUG: main: res[10]
** (process:310): DEBUG: dgt_example_add: emiting a signal to inform that i am about to perform a sum
** (process:310): DEBUG: example_callback: example[0x2dc4070] is going to sum a[7] + b[13]
** (process:310): DEBUG: example_callback: udata is [Example 2 Userdata]
** (process:310): DEBUG: dgt_example_do_sum: doing sum, a[7] + b[13]
** (process:310): DEBUG: dgt_example_add: result is [20]
** (process:310): DEBUG: main: res[20]
** (process:310): DEBUG: main: unreffing examples
SEGV


I've debugged the problem and aparently in the object creation (g_object_newv) the queue it's freezed once and thawed twice (this sometimes happens in the initialization of the first object(like this output), and sometimes in the latter), and thus failing the assert, and later it gives a segfault when destroying the objects.

My main question is: what can be the root of this problems?
I believe no one tried to use this version of Glib in the Blackfin processor (because the libffi doesn't have a port for this processor(I made my own port of libffi)).

Thanks for the attention, any help will be appreciated
Alexandre Mendonça




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]