Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
bitmask-vpn
bitmask-vpn
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 141
    • Issues 141
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • leap
  • bitmask-vpnbitmask-vpn
  • Issues
  • #77

Closed
Open
Opened Oct 17, 2018 by Boskote@boskote

gdk-pixbuf loaders.cache path difference causing crash in arch-based distro (manjaro)

It would crash around every hour with an a logged error that began like this:

ct 12 01:30:44 tt43 riseup-vpn_riseup-vpn.desktop[14397]: Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Oct 12 01:30:44 tt43 riseup-vpn_riseup-vpn.desktop[14397]: SIGABRT: abort

The crash would always be preceded by this error:

Oct 01 16:13:31 tt43 bitmask-systray[1227]: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
                                            
                                            This likely means that your installation is broken.
                                            Try running the command
                                              gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
                                            to make things work again for the time being.
Oct 01 16:13:31 tt43 bitmask-systray[1227]: Could not load a pixbuf from icon theme.

The problem was because bitmask-systray was looking for the loaders.cache file in /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0 which is presumably the debian path to this file. In arch there is no "x86_64-linux-gnu" directory, so the required path is /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache

Once it became clear that the path difference was the problem, this a symlink made a good workaround: ln -sr /usr/lib /usr/lib/x86_64-linux-gnu

Since creating this symlink it has not crashed at all. I understand that this project is being developed on debian and probably isn't intending to support arch-based distos. I primarily post this here so that anyone else having the same problem will find it.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: leap/bitmask-vpn#77