Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
vala
vala
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 701
    • Issues 701
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 39
    • Merge Requests 39
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • GNOME
  • valavala
  • Issues
  • #911

Closed
Open
Opened Feb 19, 2020 by Daniel Espinosa Ortiz@esodanDeveloper

LSP: Remove warnings at runtime

When used with GVls, there parsing and checks, for diagnostics, fails making the server crash with an error:

GLib-GObject-WARNING **: 17:34:36.634: invalid cast from 'ValaInvalidType' to 'ValaErrorType'

This is reproducible using GNOME Builder Nightly, with support for GVls and open Vala as project.

There are room to improve checks and act on time, before call a method.

Full, almost, messages are:

(.:915): vala-CRITICAL **: 17:34:36.632: vala_method_get_closure: assertion 'self != NULL' failed

(.:915): vala-CRITICAL **: 17:34:36.634: vala_phi_function_construct: assertion 'variable != NULL' failed

(.:915): vala-CRITICAL **: 17:34:36.634: vala_basic_block_add_phi_function: assertion 'phi != NULL' failed

(.:915): vala-CRITICAL **: 17:34:36.634: vala_phi_function_construct: assertion 'variable != NULL' failed

(.:915): vala-CRITICAL **: 17:34:36.634: vala_basic_block_add_phi_function: assertion 'phi != NULL' failed

(.:915): vala-CRITICAL **: 17:34:36.634: vala_flow_analyzer_process_assignment: assertion 'var_symbol != NULL' failed

(.:915): vala-CRITICAL **: 17:34:36.634: vala_collection_get_size: assertion 'self != NULL' failed

(.:915): vala-CRITICAL **: 17:34:36.634: vala_list_remove_at: assertion 'self != NULL' failed

(.:915): GLib-GObject-WARNING **: 17:34:36.634: invalid cast from 'ValaInvalidType' to 'ValaErrorType'
Edited Feb 19, 2020 by Rico Tzschichholz
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
0.48
Milestone
0.48
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/vala#911