After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729517 - Critcal when compiling DBus inteface with non-serializable types
Critcal when compiling DBus inteface with non-serializable types
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Code Generator
unspecified
Other Linux
: Normal normal
: 1.0
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-04 16:47 UTC by Jens Georg
Modified: 2018-05-16 15:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample (108 bytes, text/x-vala)
2014-05-04 16:47 UTC, Jens Georg
  Details
codegen: Avoid critical in get_basic_type_info() when there is no signature (1.21 KB, patch)
2018-05-16 06:00 UTC, Rico Tzschichholz
committed Details | Review

Description Jens Georg 2014-05-04 16:47:03 UTC
Created attachment 275822 [details]
sample

jens@laptop-jge: ~ $ valac -C dbus-crtical.vala 

** (valac:14215): CRITICAL **: vala_gvariant_module_get_basic_type_info: assertion 'signature != NULL' failed
dbus-crtical.vala:3.30-3.35: error: GVariant serialization of type `GLib.Object' is not supported
    public abstract void foo(Object bar);
                             ^^^^^^

** (valac:14215): CRITICAL **: vala_gvariant_module_get_basic_type_info: assertion 'signature != NULL' failed
dbus-crtical.vala:3.30-3.35: error: GVariant deserialization of type `GLib.Object' is not supported
    public abstract void foo(Object bar);
                             ^^^^^^
Compilation failed: 2 error(s), 0 warning(s)
Comment 1 Rico Tzschichholz 2018-05-16 06:00:25 UTC
Created attachment 372107 [details] [review]
codegen: Avoid critical in get_basic_type_info() when there is no signature
Comment 2 Rico Tzschichholz 2018-05-16 15:24:22 UTC
Attachment 372107 [details] pushed as bc17dd4 - codegen: Avoid critical in get_basic_type_info() when there is no signature