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 595725 - Segfault when initialized array not "const"
Segfault when initialized array not "const"
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Arrays
0.7.x
Other Linux
: Normal critical
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-20 04:18 UTC by Michael Trausch
Modified: 2010-02-04 18:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Trausch 2009-09-20 04:18:36 UTC
When removing "const" from line 46 of http://bazaar.launchpad.net/~alltray-developers/alltray/trunk/annotate/head%3A/src/Debug.vala (in a failed attempt to silence a GCC warning caused an assignment Vala generates in the generated code for display_debug_list in the same file) causes valac to crash.  I have yet to collect additional information.  This is with Vala 0.7.6 on Ubuntu.
Comment 1 Michael Trausch 2009-09-20 04:19:28 UTC
The crash is a sig11 (segfault), can be reproduced 100% of the time, and I'll be able to provide additional information tomorrow.
Comment 2 Jürg Billeter 2010-02-04 18:29:58 UTC
commit 7d7b02d0ab3ec68246e7ef8c9fcdccf947d0b06b
Author: Jürg Billeter <j@bitron.ch>
Date:   Thu Feb 4 19:25:39 2010 +0100

    Fix crash on invalid field initializer
    
    Fixes bug 595725.