Re: libseed-list glib async_queue binding broken?



I can't test it right now (nor any of your other problems, which I'm less confident I can solve quickly), but for the second problem here:

the GIR has g_async_queue_push(queue, data) translated to GLib.async_queue_push(queue, data).

it seems the GLib.AsyncQueue type is busted (it's completely empty, in the GIR), but that appears to be a gobject-introspection issue, not a seed issue, as far as I can tell. Though I suppose it shouldn't crash like that :-)

I'll look into the third problem (the GLib.xyz functions should still work just fine, but they don't) here later this week after travel + homework, hopefully, but I make no promises.

On Nov 24, 2009, at 21:57, Jonatan Liljedahl wrote:

> Starting program: /usr/bin/seed
> [Thread debugging using libthread_db enabled]
> [New Thread 0xb7290b70 (LWP 2587)]
> > aq = new GLib.AsyncQueue();
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00133123 in g_function_info_get_flags ()
>   from /usr/lib/libgirepository-1.0.so.0
> (gdb) bt
> #0  0x00133123 in g_function_info_get_flags ()
>   from /usr/lib/libgirepository-1.0.so.0
> #1  0x0041c242 in seed_gobject_define_property_from_function_info ()
>   from /usr/lib/libseed.so.0
> #2  0x0041ece8 in seed_union_prototype () from /usr/lib/libseed.so.0
> #3  0x0041edbd in seed_make_union () from /usr/lib/libseed.so.0
> #4  0x0041f208 in seed_construct_struct_type_with_parameters ()
>   from /usr/lib/libseed.so.0
> #5  0x0041b21a in ?? () from /usr/lib/libseed.so.0
> #6  0x00fdad4b in ?? () from /usr/lib/libwebkit-1.0.so.2
> 
> 
> This didn't work either:
> 
> > aq = GLib.async_queue_new()
> [object seed_struct]
> > aq.push(42)
> TypeError Result of expression 'aq.push' [undefined] is not a function.
> > GLib.async_queue_push(aq,42)
> 
> (seed:2614): GLib-CRITICAL **: g_async_queue_push: assertion `data' failed
> > GLib.async_queue_push(aq,{x:42})
> 
> (seed:2614): GLib-CRITICAL **: g_async_queue_push: assertion `data' failed
> >
> 
> 
> /Jonatan
> _______________________________________________
> libseed-list mailing list
> libseed-list gnome org
> http://mail.gnome.org/mailman/listinfo/libseed-list



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