Re: Crash caused by hardening flags

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

 



Whoops, chess-scene is not part of the convenience library, so that has
nothing to do with this issue. Totally wrong about that, sorry.

On Wed, 2016-01-27 at 08:39 +0100, Florian Weimer wrote:
> It seems that g_cclosure_user_marshal_ENUM__VOID invokes the callback
> with an int return value, but the registered callback
> (_chess_application_show_promotion_type_selector_chess_scene_choose_p
> romotion_type)
> has a return type of PieceType *.

Thank you Florian! I will move the upstream bug report to Vala. The
signal declaration in Vala is:

public signal PieceType? choose_promotion_type ();

I guess Vala got confused by the nullability of the return value. It
needs to use a different marshaller, or pass NULL to allow GLib to pick
the best marshaller.

https://bugzilla.gnome.org/show_bug.cgi?id=758816

Michael
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux