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 633218 - va_list in abstract/virtual methods generates segementation faults in valac
va_list in abstract/virtual methods generates segementation faults in valac
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Code Generator
0.10.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-26 20:36 UTC by Pontus Östlund
Modified: 2011-01-15 09:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example code that makes valac segfault (223 bytes, text/x-vala)
2010-10-26 20:36 UTC, Pontus Östlund
  Details
Fix base class method compatibility check with the ellipsis parameter. (1.35 KB, patch)
2011-01-10 09:53 UTC, Luca Bruno
none Details | Review

Description Pontus Östlund 2010-10-26 20:36:16 UTC
Created attachment 173287 [details]
Example code that makes valac segfault

If an abstract/virtual methods contains a variable length argument valac segfaults. The attached example will generate a segfault: valac -o test va-list-abstract.vala
Comment 1 Luca Bruno 2011-01-10 09:53:08 UTC
Created attachment 177916 [details] [review]
Fix base class method compatibility check with the ellipsis parameter.

Fixes bug 633218.
Comment 2 Jürg Billeter 2011-01-15 09:24:18 UTC
commit 51a150aac330b7b96a14e2ac8e4f8fdbf9b0b847
Author: Luca Bruno <lucabru@src.gnome.org>
Date:   Mon Jan 10 10:50:48 2011 +0100

    Fix base class method compatibility check with the ellipsis parameter
    
    Fixes bug 633218.