scorpion-26 / gBar

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

Crash after using the bar for a couple minutes up to a couple hours #98

Closed Eken-beep closed 2 months ago

Eken-beep commented 2 months ago

Describe the bug Something i do causes the bar to crash. I don't interact with it using the mouse so it must be something other than that.

What doesn't work? Please be as precise as possible. The bar crashes randomly after a while's usage

Steps to Reproduce

What did you do, that triggered the issue?

  1. Open the bar from hyprland or manually
  2. gBar crashes

Expected behavior gBar shouldn't crash, but stay open

Screenshots/Error logs crashes with the following error: fish: Job 1, 'gBar bar 0' terminated by signal SIGSEGV (Address boundary error)

log file:

Set value for AmdGPUThermalZone: /device/hwmon/hwmon1/temp1_input
Set value for AudioInput: true
Set value for AudioMaxVolume: 6
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/BAT1
Set value for CPUThermalZone: /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
Set value for CenterTime: true
Warning: Legacy variable "CenterTime" used.
         Please consider switching to its new alias "CenterWidgets" instead!
Set value for DateTimeLocale: 
Set value for DateTimeStyle: %a %D %H:%M:%S
Set value for DefaultWorkspaceSymbol: 
Set value for DiskPartition: /home/
Set value for DrmAmdCard: card0
Set value for EnableSNI: false
Set value for ExitCommand: killall Hyprland
Set value for Location: T
Set value for LockCommand: swaylock
Set value for MaxDownloadBytes: 10485760
Set value for MaxUploadBytes: 5242880
Set value for MinDownloadBytes: 0
Set value for MinUploadBytes: 0
Set value for NetworkAdapter: enp0s31f6
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
Warning: Legacy variable "TimeSpace" used.
         Please consider switching to its new alias "CenterSpace" instead!
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 WorkspaceSymbol: 3,
Set value for WorkspaceSymbol: 4,
Set value for WorkspaceSymbol: 5,
Set value for WorkspaceSymbol: 6,
Set value for WorkspaceSymbol: 7,
Set value for WorkspaceSymbol: 8,
Set value for WorkspaceSymbol: 9,
Wayland: Register <pending> at ID 0
Wayland: Register <pending> at ID 1
Wayland: Monitor at ID 0 got name DP-1
Wayland: Monitor at ID 1 got name DP-2
NVML not found, disabling Nvidia GPU
PulseAudio: Context is ready!
PulseAudio: Update info
Cannot open network device! Disabling Network widget.
Warning: Couldn't open /home/edvin/.config/gBar/style.scss
Warning: Failed loading SCSS, falling back to CSS!
Info: Loading /home/edvin/.config/gBar/style.css
CSS found and loaded successfully!
Window: Create on monitor DP-2
Couldn't open battery charge files! Disabling battery widget.
GetOutdatedPackages: Invalid command. Disabling package widget!

Information about your system and gBar

scorpion-26 commented 2 months ago

Is it a one time crash, or does it happens often? If it happens often, can you recompile with "-g" and send me the crash backtrace?

Eken-beep commented 2 months ago

The crash is sometimes frequent and sometimes infrequent, one day it crashed twice the same morning. Hasn't even happened today yet. Will send you when it happens again.

Eken-beep commented 2 months ago

Ok so the issue seems to only happen with the nix build version, I'll close this as of now and open a pr if I figure that out.