scorpion-26 / gBar

Blazingly fast status bar written with GTK
MIT License
478 stars 17 forks source link

Crash:Too many levels of symbolic links [/usr/share/icons/Bibata_Ghost/cursors/diamond_cross] #51

Closed dedguy21 closed 1 year ago

dedguy21 commented 1 year ago

Please fill out this form and delete the defaults(everything not in bold font), so I can help you better Describe the bug What doesn't work? Please be as precise as possible. gBar crashes on loading

Steps to Reproduce What did you do, that triggered the issue? e.g.:

  1. Open the bar

Expected behavior What do you expect should happen? e.g.: gBar shouldn't crash, but stay open

Screenshots/Error logs

Information about your system and gBar

Failed opening config!
Wayland: Registering monitor DP-3 at ID 0
Wayland: Registering monitor DP-5 at ID 1
NVML not found, disabling Nvidia GPU
PulseAudio: Context is ready!
PulseAudio: Update info
Cannot open network device! Disabling Network widget.

(gBar:11469): Gtk-WARNING **: 17:34:25.639: Theme parsing error: gtk-dark.css:5822:26: '-shadow' is not a valid color name

(gBar:11469): Gtk-WARNING **: 17:34:25.639: Theme parsing error: gtk-dark.css:5825:14: not a number

(gBar:11469): Gtk-WARNING **: 17:34:25.639: Theme parsing error: gtk-dark.css:5826:13: not a number

(gBar:11469): Gtk-WARNING **: 17:34:25.639: Theme parsing error: gtk-dark.css:5827:11: Expected a length
Info: No CSS found in /home/air/.config
Info: No CSS found in /home/air/.local/share
Info: No CSS found in /usr/local/share
CSS found and loaded successfully!
SNI: Clearing old children
Invalid child!

(gBar:11469): Gtk-CRITICAL **: 17:34:25.657: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed

(gBar:11469): Gtk-CRITICAL **: 17:34:25.657: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
SNI: Registered Item org.kde.StatusNotifierItem-2448-1 /StatusNotifierItem
SNI: Registered Item org.kde.StatusNotifierItem-2646-1 /StatusNotifierItem
SNI: Registered Item :1.43 /org/ayatana/NotificationItem/Skype1
SNI: Registered Item :1.77 /org/blueman/sni
SNI: Creating Item :1.43 /org/ayatana/NotificationItem/Skype1
SNI: Menu object path: /org/ayatana/NotificationItem/Skype1/Menu
SNI: Allocating static name buffer for :1.43
SNI: Creating Item :1.77 /org/blueman/sni
SNI: Searching icon blueman-tray in /usr/share/icons
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: status: Too many levels of symbolic links [/usr/share/icons/Bibata_Ghost/cursors/diamond_cross]
Aborted (core dumped)
scorpion-26 commented 1 year ago

This is an issue with your filesystem structure. That error seems to indicate a circular/broken symlink at the faulting directory. You can check if ls -s /usr/share/icons/Bibata_Ghost/cursors outputs, that diamand_cross symlinks to itself or something similar. If that is the case, unlink the directory and it should work. If you haven't set up the symlink yourself, consider creating a bug report about the circular synlink on the package, which owns these directories. Apart from this there is not much I can do, as gBar has to recursively search /usr/share/icons/ to find the icons associated with the tray elements.

dedguy21 commented 1 year ago

Removing all the Bibata theme cursor solved the issue, thanks