scorpion-26 / gBar

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

Crashing on latest main (via home-manager) #57

Closed dit7ya closed 9 months ago

dit7ya commented 9 months ago

Describe the bug Crashes on startup.

Steps to Reproduce

  1. gBar bar 0

Expected behavior

Screenshots/Error logs

...

(gBar:68873): Gtk-CRITICAL **: 08:16:36.784: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
Destroy widget

(gBar:68873): Gtk-CRITICAL **: 08:16:36.785: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget

(gBar:68873): Gtk-CRITICAL **: 08:16:36.785: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget

(gBar:68873): Gtk-CRITICAL **: 08:16:36.785: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget

(gBar:68873): Gtk-CRITICAL **: 08:16:36.785: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget

(gBar:68873): Gtk-CRITICAL **: 08:16:36.798: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
fish: Job 1, 'gBar bar 0' terminated by signal SIGSEGV (Address boundary error)

Information about your system and gBar

scorpion-26 commented 9 months ago

What's your configuration (You can either paste ~/.config/gBar/config or include the whole log)? If possible, can you include a crash trace? (i.e. via systemd-coredump and journalctl)

dit7ya commented 9 months ago

This is my config

# Generated by Home Manager
AudioInput: false
AudioMaxVolume: 100
AudioMinVolume: 0
AudioNumbers: false
AudioRevealer: false
AudioScrollSpeed: 5
BatteryFolder: /sys/class/power_supply/BAT0
CPUThermalZone: /sys/class/thermal/thermal_zone/
CenterTime: true
DateTimeLocale: en_US.utf8
DateTimeStyle: %a %D - %H:%M:%S %Z
DefaultWorkspaceSymbol: 
DiskPartition: /
EnableSNI: false
ExitCommand: killall Hyprland
Location: T
LockCommand: ~/.config/scripts/sys.sh lock
MaxDownloadBytes: 10485760
MaxUploadBytes: 5242880
MinDownloadBytes: 0
MinUploadBytes: 0
NetworkAdapter: wlan0
NetworkWidget: true
NumWorkspaces: 9
SensorTooltips: true
SuspendCommand: systemctl suspend
TimeSpace: 300
UseHyprlandIPC: true
WorkspaceScrollInvert: false
WorkspaceScrollOnMonitor: true
WorkspaceSymbol: 1, 
WorkspaceSymbol: 2, 
SNIIconSize: Discord, 26
SNIIconSize: OBS, 23

And this is the entire log when I try gBar bar 0

➜ gBar bar 0
Set value for AudioInput: false
Set value for AudioMaxVolume: 100
Set value for AudioMinVolume: 0
Set value for AudioNumbers: false
Set value for AudioRevealer: false
Set value for AudioScrollSpeed: 5
Set value for BatteryFolder: /sys/class/power_supply/BAT0
Set value for CPUThermalZone: /sys/class/thermal/thermal_zone/
Set value for CenterTime: true
Set value for DateTimeLocale: en_US.utf8
Set value for DateTimeStyle: %a %D - %H:%M:%S %Z
Set value for DefaultWorkspaceSymbol: 
Set value for DiskPartition: /
Set value for EnableSNI: false
Set value for ExitCommand: killall Hyprland
Set value for Location: T
Set value for LockCommand: ~/.config/scripts/sys.sh lock
Set value for MaxDownloadBytes: 10485760
Set value for MaxUploadBytes: 5242880
Set value for MinDownloadBytes: 0
Set value for MinUploadBytes: 0
Set value for NetworkAdapter: wlan0
Set value for NetworkWidget: true
Set value for NumWorkspaces: 9
Set value for SensorTooltips: true
Set value for SuspendCommand: systemctl suspend
Set value for TimeSpace: 300
Set value for UseHyprlandIPC: true
Set value for WorkspaceScrollInvert: false
Set value for WorkspaceScrollOnMonitor: true
Set value for WorkspaceSymbol: 1,
Set value for WorkspaceSymbol: 2,
Set value for SNIIconSize: Discord, 26
Set value for SNIIconSize: OBS, 23
Wayland: Registering monitor eDP-1 at ID 0
NVML not found, disabling Nvidia GPU
AMD GPU not found, disabling AMD GPU
PulseAudio: Context is ready!
PulseAudio: Update info
/nix/store/ayg065nw0xi1zsyi8glfh5pn4sfqd8xg-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/hxbb4pfxnw186hb56rbb5w8z3h0grgd7-gvfs-1.50.6/lib/gio/modules/libgvfsdbus.so)
Failed to load module: /nix/store/hxbb4pfxnw186hb56rbb5w8z3h0grgd7-gvfs-1.50.6/lib/gio/modules/libgvfsdbus.so
CSS found and loaded successfully!

(gBar:177496): Gtk-CRITICAL **: 08:53:25.800: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
Destroy widget

(gBar:177496): Gtk-CRITICAL **: 08:53:25.801: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget

(gBar:177496): Gtk-CRITICAL **: 08:53:25.801: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget

(gBar:177496): Gtk-CRITICAL **: 08:53:25.801: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget

(gBar:177496): Gtk-CRITICAL **: 08:53:25.801: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Destroy widget

(gBar:177496): Gtk-CRITICAL **: 08:53:25.814: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
fish: Job 1, 'gBar bar 0' terminated by signal SIGSEGV (Address boundary error)
dit7ya commented 9 months ago

I just updated my system and the issue seems to be fixed now. Closing the issue.