Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Files Files
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 409
    • Issues 409
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 64
    • Merge requests 64
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • FilesFiles
  • Merge requests
  • !1093

directory: Prevent usage of uninitialized hash table

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ondrej Holy requested to merge wip/oholy/directory-criticals into master Jan 11, 2023
  • Overview 10
  • Commits 3
  • Pipelines 7
  • Changes 2

I see regularly the following debug print on Nautilus startup: GLib-CRITICAL **: 10:52:52.992: g_hash_table_foreach: assertion 'hash_table != NULL' failed. This is because the emit_change_signals_for_all_files_in_all_directories function is called before the directories hash table is initialzed. Let's return early to prevent usage of the uninitialized hash table.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/oholy/directory-criticals