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 760624 - possible null delegate parent_symbol
possible null delegate parent_symbol
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Parser
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks: 759714
 
 
Reported: 2016-01-14 15:23 UTC by Corentin Noël
Modified: 2016-01-30 17:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Vala: Check for null parent symbol (858 bytes, patch)
2016-01-14 15:24 UTC, Corentin Noël
none Details | Review

Description Corentin Noël 2016-01-14 15:23:52 UTC
When I compile the camel library (from https://git.gnome.org/browse/evolution-data-server/ ) I get a critical message from vapigen. Backtracing the error, it seems that Vala.DelegateType.to_qualified_string doesn't check for a possible null global_symbol.parent_symbol before getting its name.
Comment 1 Corentin Noël 2016-01-14 15:24:27 UTC
Created attachment 319012 [details] [review]
Vala: Check for null parent symbol
Comment 2 Ben 2016-01-29 05:10:52 UTC
pushed
Comment 3 Jürg Billeter 2016-01-30 17:46:43 UTC
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.