Comments (13)
@lyasm Could you please share what caused/fixed this for you? The bar should not segfault under any condition.
from ironbar.
just a reboot
from ironbar.
But after a few minutes I get a coredump again
from ironbar.
Could you please provide some more info, ie your software versions, config, etc...
The issue template exists for a reason, as it makes it a lot easier for me to track down issues. Can you please use that in future?
from ironbar.
Sorry didn‘t find it at first:
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- boot
- wait some Time
- start ironbar
- get a Segfault
Expected behavior
It starting normally
System information:
- Archlinux
- Hyprland
- Ironbar version: 0.10.0
Configuration
Style sheet is the example from the repo config is: config.corn:
let {
$workspaces = {
type = "workspaces"
all_monitors = false
name_map = {
1 = "ﭮ"
2 = "icon:firefox"
3 = ""
Games = "icon:steam"
Code = ""
}
}
$focused = { type = "focused" }
$launcher = {
type = "launcher"
favorites = ["firefox" "discord" "Steam"]
show_names = false
show_icons = true
}
$sys_info = {
type = "sys_info"
interval.memory = 30
interval.cpu = 1
interval.temps = 5
interval.disks = 300
interval.networks = 3
format = [
" {cpu_percent}% | {temp_c:k10temp_Tccd1}°C"
" {memory_used} / {memory_total} GB ({memory_percent}%)"
"| {swap_used} / {swap_total} GB ({swap_percent}%)"
" {disk_used:/} / {disk_total:/} GB ({disk_percent:/}%)"
"李 {net_down:enp39s0} / {net_up:enp39s0} Mbps"
"猪 {load_average:1} | {load_average:5} | {load_average:15}"
" {uptime}"
]
}
$tray = { type = "tray" }
$clock = { type = "clock" }
// -- begin custom --
$button = { type = "button" name="power-btn" label = "" on_click = "popup:toggle" }
$popup = {
type = "box"
orientation = "vertical"
widgets = [
{ type = "label" name = "header" label = "Power menu" }
{
type = "box"
widgets = [
{ type = "button" class="power-btn" label = "<span font-size='40pt'></span>" on_click = "!shutdown now" }
{ type = "button" class="power-btn" label = "<span font-size='40pt'></span>" on_click = "!reboot" }
]
}
{ type = "label" name = "uptime" label = "Uptime: {{30000:uptime -p | cut -d ' ' -f2-}}" }
]
}
$power_menu = {
type = "custom"
class = "power-menu"
bar = [ $button ]
popup = [ $popup ]
tooltip = "Up: {{30000:uptime -p | cut -d ' ' -f2-}}"
}
// -- end custom --
$left = [ $workspaces $launcher ]
$right = [ $sys_info $power_menu $clock ]
}
in {
anchor_to_edges = true
position = "top"
start = $left end = $right
}
Styles
the example in the Repo
Additional context
Using a Laptop with Intel iGPU also Waybar was running when it Segfaulted
from ironbar.
Thanks for the additional info. Could you let me know what version of Hyprland and Wlroots please?
pacman -Q hyprland wlroots
It may also be worth running with trace logging. Could you try running with IRONBAR_LOG=trace
and re-sharing the log file please? This might give me some more info to go on.
from ironbar.
hyprland-git r2166.e1d7a13-1
wlroots 0.16.2-1
Will try with trace logging once it crashes again
from ironbar.
Cheers.
Running a -git
compositor without wlroots-git
is not recommended, as the two tend to update in tandem. Wlroots has also had quite a few changes recently, which have caused at least one other Wayland related bug that cause the bar to crash in a similar manner. The launcher
and focused
(and upcoming clipboard
) modules interact with Wayland directly so are more susceptible to these crashes.
I notice you are also running a build of Hyprland from a few months ago so it might pay to update that.
I would recommend a few things to try:
- Update
hyprland-git
to the latest version, and replacewlroots
withwlroots-git
. - Replace
hyprland-git
with the stable package. - If you still get a crash, try removing
launcher
orfocused
from your config.
from ironbar.
So it doesn’t seem to crash anymore, and also Hyprland has wlroots bundled into itself
from ironbar.
What did you change please (if anything), in case anybody else encounters this?
from ironbar.
Didn’t change anything, but it also worked before expect that it would start crashing at a seemingly random time
from ironbar.
@lyasm have you had any crashes since?
from ironbar.
No seems to be fixed
from ironbar.
Related Issues (20)
- Auto-hide bar HOT 2
- Rotate widgets HOT 1
- Add official Nix package install info
- Hot reload don't work when file is edited using Vim HOT 1
- [Sys Info] Add used memory to be shown in MiB HOT 3
- Styling Question: How to set a different font size in a popup window? HOT 5
- Use cmd exit value for show_if HOT 2
- Use module value as argument in `show_if` HOT 1
- Respect interval in show_if or add show_if_interval HOT 2
- Last app is displayed in focused module when no app is available on Hyprland HOT 2
- Last app from previous workspace is displayed in focused module when you switch to empty workspace on Hyprland HOT 2
- Feature request: workspaces default icon HOT 8
- Tray icons only show text HOT 7
- Startup on Hyprland HOT 6
- Allow customizing the format of numbers in certain modules HOT 1
- Screenshot not available HOT 8
- Workspaces not closing/switching properly on Hyprland HOT 2
- Crash on hyprland when use tray HOT 1
- `focused` and `launcher` widgets should only be displayed on the currently focused screen HOT 1
- workspaces: favorites are missing .inactive unless switched to HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ironbar.