Re: [gtk-vnc-devel] Error on GLib



Jonh Wendell wrote:
On Sáb, 2008-01-26 at 13:52 -0600, Anthony Liguori wrote:
Jonh Wendell wrote:
Hi, folks.

I'm getting an glib error when connecting to a host that needs password:

(vinagre:8641): GLib-GObject-CRITICAL **: g_value_get_param: assertion
`G_VALUE_HOLDS_PARAM (value)' failed

This error (on vinagre, actually it's a warning, on gvncviewer it's a
fatal error) happens when vncDisplay emits the signal
VNC_AUTH_CREDENTIAL (vncdisplay.c:618).

I'm running Ubuntu Hardy (GNOME 2.21 and deps). So, perhaps it's
something new in GLib? On Gutsy I didn't notice that.
Can you try the following patch. The memory location for the data may be changing which is causing garbage to be passed to emit. We probably haven't run into this before because of the fact that we prealloc enough storage for the operations that are performed.

Hi, Anthony. I didn't work. Same message here :(

Yeah, I've reproduced the problem and am working on it right now. It doesn't make a whole lot of sense. gtk is insisting that we pass a GParamSpec * to g_signal_emit but that doesn't seem at all right to me.

Regards,

Anthony Liguori






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