cortile icon indicating copy to clipboard operation
cortile copied to clipboard

Crash - integer divide by zero

Open nearwood opened this issue 1 year ago • 9 comments

Hello -- Love this tiling manager!

                   -`                    nick@thinkp15 
                  .o+`                   ------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: 20STCTO1WW ThinkPad P15 Gen 1 
               `+oooooo:                 Kernel: 6.9.1-arch1-2 
               -+oooooo+:                Uptime: 2 days, 9 hours, 51 mins 
             `/:-:++oooo+:               Packages: 1051 (pacman) 
            `/++++/+++++++:              Shell: zsh 5.9 
           `/++++++++++++++:             Resolution: 3440x1440 
          `/+++ooooooooooooo/`           DE: Xfce 4.18 
         ./ooosssso++osssssso+`          WM: Xfwm4 
        .oossssso-````/ossssss+`         WM Theme: Chicago95 
       -osssssso.      :ssssssso.        Theme: Chicago95 [GTK2], Adwaita [GTK3] 
      :osssssss/        osssso+++.       Icons: elementary [GTK2/3] 
     /ossssssss/        +ssssooo/-       Terminal: xfce4-terminal 
   `/ossssso+/:-        -:/+osssso+-     Terminal Font: Fira Code Medium 12 
  `+sso+:-`                 `.-/+oso:    CPU: Intel Xeon W-10885M (16) @ 5.300GHz 
 `++:.                           `-/+/   GPU: NVIDIA Quadro T1000 Mobile 
 .`                                 `/   Memory: 21019MiB / 128644MiB 

After customizing my config, the app crashes as soon as I try and drag a window (eg. a slave to the master spot to make it master).

cortile        
LOAD /home/nick/.config/cortile/config.toml [cortile v2.4.0-local, built on 20240522]
FATA[2024-06-04T10:47:01-05:00] runtime error: integer divide by zero
goroutine 1 [running, locked to thread]:
runtime/debug.Stack()
	runtime/debug/stack.go:24 +0x5e
main.run.func1()
	github.com/leukipp/cortile/v2/main.go:75 +0x38
panic({0x62e92583ff20?, 0x62e925b61eb0?})
	runtime/panic.go:770 +0x132
github.com/leukipp/cortile/v2/store.(*Manager).Visible(0x71c171b97b38?, 0xc0002fa0c0)
	github.com/leukipp/cortile/v2/store/manager.go:322 +0x1f9
github.com/leukipp/cortile/v2/store.(*Manager).Clients(0xc0002946f0, 0xe?)
	github.com/leukipp/cortile/v2/store/manager.go:333 +0xfa
github.com/leukipp/cortile/v2/desktop.(*Tracker).handleMoveClient(0xc0002fa000, 0xc0002926c0)
	github.com/leukipp/cortile/v2/desktop/tracker.go:331 +0x30a
github.com/leukipp/cortile/v2/desktop.(*Tracker).attachHandlers.func1(0x62e9253461fa?, {0x71c171b97b38?})
	github.com/leukipp/cortile/v2/desktop/tracker.go:509 +0xbc
github.com/BurntSushi/xgbutil/xevent.ConfigureNotifyFun.Run(0x62e92583ad20?, 0xc000419980?, {0x62e925868ea0?, 0xc00002e4a0?})
	github.com/BurntSushi/[email protected]/xevent/callback.go:245 +0x33
github.com/BurntSushi/xgbutil/xevent.runCallbacks(0xc0003d6780, {0x62e925868ea0, 0xc00002e4a0}, 0x16, 0x7800007)
	github.com/BurntSushi/[email protected]/xevent/xevent.go:203 +0xb9
github.com/BurntSushi/xgbutil/xevent.processEventQueue(0xc0003d6780, 0x0, 0x0)
	github.com/BurntSushi/[email protected]/xevent/eventloop.go:233 +0x46a
github.com/BurntSushi/xgbutil/xevent.mainEventLoop(0xc0003d6780, 0x0, 0x0, 0x0)
	github.com/BurntSushi/[email protected]/xevent/eventloop.go:108 +0x45
github.com/BurntSushi/xgbutil/xevent.Main(...)
	github.com/BurntSushi/[email protected]/xevent/eventloop.go:52
main.run()
	github.com/leukipp/cortile/v2/main.go:94 +0xd2
main.main()
	github.com/leukipp/cortile/v2/main.go:69 +0x174

My config (mainly changed window_ignore, corners, and keys):

################################################################################
#                                                                              #
#           https://github.com/leukipp/cortile/blob/main/config.toml           #
#                                                                              #
################################################################################

#################################### Tiling ####################################

# Tiling will be enabled on application start if set to true (true | false).
tiling_enabled = true

# Initial tiling layout ("fullscreen" | "vertical-left" | "vertical-right" | "horizontal-top" | "horizontal-bottom").
tiling_layout = "vertical-right"

# An overlay window is displayed for this time period [ms] when the layout was changed (0 = disabled).
tiling_gui = 1500

# Menu entries in systray which shows the tiling state as icon ([] = disabled).
# tiling_icon = [
#   ["ACTION", "TEXT"] = ["action strings from [keys] section", "text to show in the menu"],
#   ["", ""] = "show a separator line",
# ]
tiling_icon = [
    ["toggle", "Enabled"],
    ["", ""],
    ["master_increase", "Add Master"],
    ["master_decrease", "Remove Master"],
    ["", ""],
    ["slave_increase", "Add Slave"],
    ["slave_decrease", "Remove Slave"],
    ["", ""],
    ["reset", "Reset"],
    ["exit", "Exit"],
]

#################################### Window ####################################

# Regex RE2 syntax to ignore windows (WM_CLASS string can be found by running `xprop WM_CLASS`).
# window_ignore = [
#   ["WM_CLASS", "WM_NAME"] = ["ignore all windows with this class", "but allow those with this name"]
# ]
window_ignore = [
    ["nm.*", ""],
    ["gcr.*", ""],
    ["polkit.*", ""],
    ["wrapper.*", ""],
    ["lightdm.*", ""],
    ["blueman.*", ""],
    ["pavucontrol.*", ""],
    ["firefox.*", ".*Mozilla Firefox"],
    ["keepassxc", ""],
    ["chromium.*", ".*Chromium"]
]

# Maximum number of allowed master windows (0 - 5).
window_masters_max = 3

# Maximum number of allowed slave windows (1 - 5).
window_slaves_max = 3

# How much space should be left between windows (0 - 100).
window_gap_size = 8

# Window decorations will be removed if set to false (true | false).
window_decoration = true

################################## Proportion ##################################

# How much to increment/decrement master-slave area (0.0 - 1.0).
proportion_step = 0.05

# Minimum window width/height in proportion to workspace (0.0 - 1.0).
proportion_min = 0.2

##################################### Edge #####################################

# Margin of the tiling area ([top, right, bottom, left]).
edge_margin = [0, 0, 0, 0]

# Margin of the tiling area on primary screen ([top, right, bottom, left]).
edge_margin_primary = [0, 0, 0, 0]

# Width and height of a hot-corner area within the edge corners (0 - 100).
edge_corner_size = 8

# Width or height of a hot-corner area within the edge centers (0 - 100).
edge_center_size = 100

################################################################################
[colors]                             # RGBA color values used for ui elements. #
################################################################################

# Layout window text color.
gui_text = [255, 255, 255, 255]

# Layout window background color.
gui_background = [30, 30, 40, 255]

# Layout slave client rectangle color.
gui_client_slave = [58, 58, 78, 255]

# Layout master client rectangle color.
gui_client_master = [98, 98, 128, 255]

# Systray icon background color.
icon_background = [0, 0, 0, 0]

# Systray icon foreground color.
icon_foreground = [255, 255, 255, 255]

################################################################################
[keys]                            # Key symbols can be found by running `xev`. #
################################################################################

# Enable tiling on the current screen (Home = Fn_Left).
#enable = "Control-Shift-Home"

# Disable tiling on the current screen (End = Fn_Right).
#disable = "Control-Shift-End"

# Disable tiling and restore windows on the current screen.
#restore = "Control-Shift-R"

# Toggle between enable and disable on the current screen.
#toggle = "Control-Shift-T"

# Reset layouts to default proportions (BackSpace = Delete_Left)
#reset = "Control-Shift-BackSpace"

# Cycles through next layouts (Next = Page_Down).
#cycle_next = "Control-Shift-Next"

# Cycles through previous layouts (Prior = Page_Up).
#cycle_previous = "Control-Shift-Prior"

# Activates the fullscreen layout (Space = Blank).
#layout_fullscreen = "Control-Shift-Space"

# Activates the vertical-left layout (Left = Arrow_Left).
#layout_vertical_left = "Control-Shift-Left"

# Activates the vertical-right layout (Right = Arrow_Right).
#layout_vertical_right = "Control-Shift-Right"

# Activates the horizontal-top layout (Up = Arrow_Up).
#layout_horizontal_top = "Control-Shift-Up"

# Activates the horizontal-bottom layout (Down = Arrow_Down).
#layout_horizontal_bottom = "Control-Shift-Down"

# Make the active window a master (KP_5 = Num_5).
#master_make = "Control-Shift-KP_5"

# Make the next window a master (KP_6 = Num_6).
#master_make_next = "Control-Shift-KP_6"

# Make the previous window a master (KP_4 = Num_4).
#master_make_previous = "Control-Shift-KP_4"

# Increase the number of masters (KP_Add = Num_+).
#master_increase = "Control-Shift-KP_Add"

# Decrease the number of masters (KP_Subtract = Num_-).
#master_decrease = "Control-Shift-KP_Subtract"

# Increase the number of slaves (Plus = +).
#slave_increase = "Control-Shift-Plus"

# Decrease the number of slaves (Minus = -).
#slave_decrease = "Control-Shift-Minus"

# Increase the proportion of master-slave area (KP_3 = Num_3).
#proportion_increase = "Control-Shift-KP_3"

# Decrease the proportion of master-slave area (KP_1 = Num_1).
#proportion_decrease = "Control-Shift-KP_1"

# Moves focus to the next window (KP_2 = Num_2).
#window_next = "Control-Shift-KP_2"

# Moves focus to the previous window (KP_8 = Num_8).
#window_previous = "Control-Shift-KP_8"

# The commands above will affect all screens if this key is pressed in addition (Mod1 = Alt_L).
mod_screens = "Mod1"

# The commands above will affect all workspaces if this key is pressed in addition (Mod4 = Super_L).
mod_workspaces = "Mod4"

################################################################################
[corners]                   # Action strings from [keys] or external commands. #
################################################################################

# Corner at top left.
top_left = "proportion_decrease"

# Corner at top center.
top_center = ""

# Corner at top right.
top_right = "proportion_increase"

# Corner at center right.
center_right = ""

# Corner at bottom right.
bottom_right = ""

# Corner at bottom center.
bottom_center = ""

# Corner at bottom left.
bottom_left = ""

# Corner at center left.
center_left = ""

################################################################################
[systray]                   # Action strings from [keys] or external commands. #
################################################################################

# Icon left click with pointer.
click_left = ""

# Icon middle click with pointer.
click_middle = "toggle"

# Icon right click with pointer.
click_right = ""

# Icon vertical scroll up with pointer.
scroll_up = "cycle_previous"

# Icon vertical scroll down with pointer.
scroll_down = "cycle_next"

# Icon horizontal scroll left with pointer.
scroll_left = ""

# Icon horizontal scroll right with pointer.
scroll_right = ""

nearwood avatar Jun 04 '24 16:06 nearwood

Seems to be this visible[mg.Index(windows, c)%windows.MaxAllowed] = c in Manager.go:322.

nearwood avatar Jun 04 '24 16:06 nearwood

Ok, after troubleshooting a bit more, I believe the calling return append(mg.Visible(mg.Masters), mg.Visible(mg.Slaves)...) line on 333 had an empty mg.Masters array or whatever that is.

This is because instead of trying to drag on startup, I right-clicked the systray icon and clicked "Add Slave", which reorganized my slave windows to take up 100% of the screen, like if there were no masters. Not sure how it got to that state.

nearwood avatar Jun 04 '24 17:06 nearwood

Please try this:

  • Stop cortile
  • Delete the /home/nick/.cache/cortile/2.4.0/ cache folder
  • Restart cortile

leukipp avatar Jun 04 '24 17:06 leukipp

I added a master and it seemed to fix it too.

nearwood avatar Jun 04 '24 19:06 nearwood

Ooh, I'm able to reproduce the crash. Docked laptop, with only external widescreen enabled. I have two virtual workspaces. tiling is enabled on 1, but not on 2. When I switch to workspace 2 and move a Firefox window around, it crashes cortile. FF windows are open on both 1 and 2, if that makes a difference.

nearwood avatar Jun 06 '24 00:06 nearwood

It's any window on workspace 2 (that has tiling disabled). After it crashes, on startup the cache seems to be corrupted a little, it shows just a single master/slave area in the layout UI (but doesn't change my actual layout):

image

Should be this: image

Adding/removing slaves or masters fixes it.

Here's debug output of startup, switching workspaces, trying to move a window:

➜  ~ cortile --vvv
LOAD /home/nick/.config/cortile/config.toml [cortile v2.4.0-local, built on 20240522]
INFO[2024-06-06T08:47:40-05:00] Starting [cortile v2.4.0-local, built on 20240522] 
INFO[2024-06-06T08:47:40-05:00] Connected to X server [Xfwm4]                
INFO[2024-06-06T08:47:40-05:00] Screens [{540 DP-0.1 true [(0, 0) 3440x1440]}] 
INFO[2024-06-06T08:47:40-05:00] Desktops [{540 DP-0.1 true [(0, 0) 3440x1407]}] 
DEBU[2024-06-06T08:47:40-05:00] Read workspace cache data 37d3941b09e2f8c9287bef0b7d3fef286c06d295.json [workspace-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Read workspace cache data b22844cab2603778cba2e6e27bcc3847d7c852dc.json [workspace-1-0] 
DEBU[2024-06-06T08:47:40-05:00] NameLost from dbus interface org.freedesktop.DBus [:1.2369] 
DEBU[2024-06-06T08:47:40-05:00] GetLayout from dbus interface com.canonical.dbusmenu [0 -1 [type label visible enabled children-display accessible-desc]] 
DEBU[2024-06-06T08:47:40-05:00] GetGroupProperties from dbus interface com.canonical.dbusmenu [[0 1 2 3 4 5 6 7 8 9 10 11 12] []] 
INFO[2024-06-06T08:47:40-05:00] State event _NET_CLIENT_LIST_STACKING        
DEBU[2024-06-06T08:47:40-05:00] Update trackable clients [0/11]              
INFO[2024-06-06T08:47:40-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DESKTOP [Xfdesktop] 
INFO[2024-06-06T08:47:40-05:00] Ignore window with keepassxc from config [KeePassXC] 
INFO[2024-06-06T08:47:40-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DOCK [Xfce4-panel] 
INFO[2024-06-06T08:47:40-05:00] Ignore internal window [cortile]             
DEBU[2024-06-06T08:47:40-05:00] Read client cache data 3eaf4b3e144fa0036ac13fd89a91d6bb760defb8.json [firefox] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [firefox]                 
INFO[2024-06-06T08:47:40-05:00] Add client for each layout [firefox]         
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [firefox, manager-1-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [firefox, manager-1-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [firefox, manager-1-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [firefox, manager-1-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [firefox, manager-1-0] 
DEBU[2024-06-06T08:47:40-05:00] Read client cache data 40544dc41193564918d759209d882efd2cfaa0df.json [Slack] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [Slack]                   
INFO[2024-06-06T08:47:40-05:00] Add client for each layout [Slack]           
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Slack, manager-0-0]  
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Slack, manager-0-0]  
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Slack, manager-0-0]  
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Slack, manager-0-0]  
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Slack, manager-0-0]  
INFO[2024-06-06T08:47:40-05:00] Tile 1 windows with vertical-left layout [workspace-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [Slack]                   
DEBU[2024-06-06T08:47:40-05:00] Read client cache data ea76e5288dcc021069122655eb31220e182cf857.json [firefox] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [firefox]                 
INFO[2024-06-06T08:47:40-05:00] Add client for each layout [firefox]         
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [firefox, manager-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [firefox, manager-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [firefox, manager-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [firefox, manager-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [firefox, manager-0-0] 
INFO[2024-06-06T08:47:40-05:00] Tile 2 windows with vertical-left layout [workspace-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [Slack]                   
DEBU[2024-06-06T08:47:40-05:00] Update client info [firefox]                 
DEBU[2024-06-06T08:47:40-05:00] Read client cache data 48d384c89b62bfc19dfa693033529a07c16a87b1.json [Hexchat] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [Hexchat]                 
INFO[2024-06-06T08:47:40-05:00] Add client for each layout [Hexchat]         
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Hexchat, manager-1-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Hexchat, manager-1-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Hexchat, manager-1-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Hexchat, manager-1-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Hexchat, manager-1-0] 
DEBU[2024-06-06T08:47:40-05:00] Read client cache data 9a323e119f28b6db85ac0867da66a31c6edb8278.json [Microsoft-edge] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [Microsoft-edge]          
INFO[2024-06-06T08:47:40-05:00] Add client for each layout [Microsoft-edge]  
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Microsoft-edge, manager-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Microsoft-edge, manager-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Microsoft-edge, manager-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Microsoft-edge, manager-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Microsoft-edge, manager-0-0] 
INFO[2024-06-06T08:47:40-05:00] Tile 3 windows with vertical-left layout [workspace-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [Slack]                   
DEBU[2024-06-06T08:47:40-05:00] Update client info [Microsoft-edge]          
DEBU[2024-06-06T08:47:40-05:00] Update client info [firefox]                 
DEBU[2024-06-06T08:47:40-05:00] Read client cache data cfc128a727a1708da34e788b624685ea267fe8bf.json [Code] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [Code]                    
INFO[2024-06-06T08:47:40-05:00] Add client for each layout [Code]            
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Code, manager-0-0]   
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Code, manager-0-0]   
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Code, manager-0-0]   
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Code, manager-0-0]   
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Code, manager-0-0]   
INFO[2024-06-06T08:47:40-05:00] Tile 4 windows with vertical-left layout [workspace-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [Slack]                   
DEBU[2024-06-06T08:47:40-05:00] Update client info [Code]                    
DEBU[2024-06-06T08:47:40-05:00] Update client info [Microsoft-edge]          
DEBU[2024-06-06T08:47:40-05:00] Update client info [firefox]                 
DEBU[2024-06-06T08:47:40-05:00] Read client cache data cbe66b817c2ee13aab7ea47a2b7bfe157e8d95b6.json [Xfce4-terminal] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [Xfce4-terminal]          
INFO[2024-06-06T08:47:40-05:00] Add client for each layout [Xfce4-terminal]  
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Xfce4-terminal, manager-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Xfce4-terminal, manager-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Xfce4-terminal, manager-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Xfce4-terminal, manager-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Add client for manager [Xfce4-terminal, manager-0-0] 
INFO[2024-06-06T08:47:40-05:00] Tile 5 windows with vertical-left layout [workspace-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [Slack]                   
DEBU[2024-06-06T08:47:40-05:00] Update client info [Xfce4-terminal]          
DEBU[2024-06-06T08:47:40-05:00] Update client info [Code]                    
DEBU[2024-06-06T08:47:40-05:00] Update client info [Microsoft-edge]          
DEBU[2024-06-06T08:47:40-05:00] Update client info [firefox]                 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data 3eaf4b3e144fa0036ac13fd89a91d6bb760defb8.json [firefox] 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data 40544dc41193564918d759209d882efd2cfaa0df.json [Slack] 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data ea76e5288dcc021069122655eb31220e182cf857.json [firefox] 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data 48d384c89b62bfc19dfa693033529a07c16a87b1.json [Hexchat] 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data 9a323e119f28b6db85ac0867da66a31c6edb8278.json [Microsoft-edge] 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data cfc128a727a1708da34e788b624685ea267fe8bf.json [Code] 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data cbe66b817c2ee13aab7ea47a2b7bfe157e8d95b6.json [Xfce4-terminal] 
DEBU[2024-06-06T08:47:40-05:00] Write workspace cache data 37d3941b09e2f8c9287bef0b7d3fef286c06d295.json [workspace-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Write workspace cache data b22844cab2603778cba2e6e27bcc3847d7c852dc.json [workspace-1-0] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Slack] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Slack] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Slack] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Microsoft-edge] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Slack] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Code] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Microsoft-edge] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Slack] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Xfce4-terminal] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Code] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Microsoft-edge] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_STATE [Xfce4-terminal] 
INFO[2024-06-06T08:47:40-05:00] State event _NET_ACTIVE_WINDOW               
DEBU[2024-06-06T08:47:40-05:00] Update trackable clients [7/11]              
INFO[2024-06-06T08:47:40-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DESKTOP [Xfdesktop] 
INFO[2024-06-06T08:47:40-05:00] Ignore window with keepassxc from config [KeePassXC] 
INFO[2024-06-06T08:47:40-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DOCK [Xfce4-panel] 
INFO[2024-06-06T08:47:40-05:00] Ignore internal window [cortile]             
DEBU[2024-06-06T08:47:40-05:00] Write client cache data 3eaf4b3e144fa0036ac13fd89a91d6bb760defb8.json [firefox] 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data 40544dc41193564918d759209d882efd2cfaa0df.json [Slack] 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data ea76e5288dcc021069122655eb31220e182cf857.json [firefox] 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data 48d384c89b62bfc19dfa693033529a07c16a87b1.json [Hexchat] 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data 9a323e119f28b6db85ac0867da66a31c6edb8278.json [Microsoft-edge] 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data cfc128a727a1708da34e788b624685ea267fe8bf.json [Code] 
DEBU[2024-06-06T08:47:40-05:00] Write client cache data cbe66b817c2ee13aab7ea47a2b7bfe157e8d95b6.json [Xfce4-terminal] 
DEBU[2024-06-06T08:47:40-05:00] Write workspace cache data b22844cab2603778cba2e6e27bcc3847d7c852dc.json [workspace-1-0] 
DEBU[2024-06-06T08:47:40-05:00] Write workspace cache data 37d3941b09e2f8c9287bef0b7d3fef286c06d295.json [workspace-0-0] 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [firefox]             
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Slack]               
DEBU[2024-06-06T08:47:40-05:00] Client resize handler fired [Slack]          
INFO[2024-06-06T08:47:40-05:00] Tile 5 windows with vertical-left layout [workspace-0-0] 
DEBU[2024-06-06T08:47:40-05:00] Update client info [Slack]                   
DEBU[2024-06-06T08:47:40-05:00] Update client info [Xfce4-terminal]          
DEBU[2024-06-06T08:47:40-05:00] Update client info [Code]                    
DEBU[2024-06-06T08:47:40-05:00] Update client info [Microsoft-edge]          
DEBU[2024-06-06T08:47:40-05:00] Update client info [firefox]                 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Slack]               
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Slack]               
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_FRAME_EXTENTS [Slack] 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Slack]               
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Slack]               
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Slack]               
TRAC[2024-06-06T08:47:40-05:00] Client structure event [firefox]             
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_FRAME_EXTENTS [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [firefox]             
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Slack]               
TRAC[2024-06-06T08:47:40-05:00] Client structure event [firefox]             
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Hexchat]             
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_FRAME_EXTENTS [Hexchat] 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Hexchat]             
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Microsoft-edge]      
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_FRAME_EXTENTS [Microsoft-edge] 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Microsoft-edge]      
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Slack]               
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Microsoft-edge]      
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Microsoft-edge]      
TRAC[2024-06-06T08:47:40-05:00] Client structure event [firefox]             
TRAC[2024-06-06T08:47:40-05:00] Client structure event [firefox]             
TRAC[2024-06-06T08:47:40-05:00] Client property event _GTK_FRAME_EXTENTS [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Code]                
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_FRAME_EXTENTS [Code] 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Code]                
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [Microsoft-edge] 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Slack]               
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Code]                
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Code]                
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Microsoft-edge]      
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Microsoft-edge]      
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _GTK_FRAME_EXTENTS [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [firefox]             
TRAC[2024-06-06T08:47:40-05:00] Client structure event [firefox]             
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [Microsoft-edge] 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Xfce4-terminal]      
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_FRAME_EXTENTS [Xfce4-terminal] 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Xfce4-terminal]      
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Slack]               
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Xfce4-terminal]      
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Code]                
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Code]                
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Microsoft-edge]      
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Microsoft-edge]      
TRAC[2024-06-06T08:47:40-05:00] Client structure event [firefox]             
TRAC[2024-06-06T08:47:40-05:00] Client structure event [firefox]             
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [Microsoft-edge] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _GTK_FRAME_EXTENTS [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _GTK_FRAME_EXTENTS [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _GTK_FRAME_EXTENTS [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event _NET_WM_OPAQUE_REGION [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Slack] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Xfce4-terminal] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Code] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [Microsoft-edge] 
TRAC[2024-06-06T08:47:40-05:00] Client property event WM_NORMAL_HINTS [firefox] 
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Slack]               
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Xfce4-terminal]      
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Code]                
TRAC[2024-06-06T08:47:40-05:00] Client structure event [Microsoft-edge]      
TRAC[2024-06-06T08:47:40-05:00] Client structure event [firefox]             
TRAC[2024-06-06T08:47:41-05:00] Client focus in event [Xfce4-terminal]       
TRAC[2024-06-06T08:47:41-05:00] Client focus out event [Xfce4-terminal]      
TRAC[2024-06-06T08:47:41-05:00] Client focus in event [Xfce4-terminal]       
INFO[2024-06-06T08:47:41-05:00] State event _NET_CLIENT_LIST_STACKING        
DEBU[2024-06-06T08:47:41-05:00] Update trackable clients [7/10]              
INFO[2024-06-06T08:47:41-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DESKTOP [Xfdesktop] 
INFO[2024-06-06T08:47:41-05:00] Ignore window with keepassxc from config [KeePassXC] 
INFO[2024-06-06T08:47:41-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DOCK [Xfce4-panel] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data cbe66b817c2ee13aab7ea47a2b7bfe157e8d95b6.json [Xfce4-terminal] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data 3eaf4b3e144fa0036ac13fd89a91d6bb760defb8.json [firefox] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data 40544dc41193564918d759209d882efd2cfaa0df.json [Slack] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data ea76e5288dcc021069122655eb31220e182cf857.json [firefox] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data 48d384c89b62bfc19dfa693033529a07c16a87b1.json [Hexchat] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data 9a323e119f28b6db85ac0867da66a31c6edb8278.json [Microsoft-edge] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data cfc128a727a1708da34e788b624685ea267fe8bf.json [Code] 
DEBU[2024-06-06T08:47:41-05:00] Write workspace cache data 37d3941b09e2f8c9287bef0b7d3fef286c06d295.json [workspace-0-0] 
DEBU[2024-06-06T08:47:41-05:00] Write workspace cache data b22844cab2603778cba2e6e27bcc3847d7c852dc.json [workspace-1-0] 
TRAC[2024-06-06T08:47:41-05:00] Client property event _NET_WM_STATE [Xfce4-terminal] 
INFO[2024-06-06T08:47:41-05:00] State event _NET_ACTIVE_WINDOW               
DEBU[2024-06-06T08:47:41-05:00] Update trackable clients [7/10]              
INFO[2024-06-06T08:47:41-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DESKTOP [Xfdesktop] 
INFO[2024-06-06T08:47:41-05:00] Ignore window with keepassxc from config [KeePassXC] 
INFO[2024-06-06T08:47:41-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DOCK [Xfce4-panel] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data 3eaf4b3e144fa0036ac13fd89a91d6bb760defb8.json [firefox] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data 40544dc41193564918d759209d882efd2cfaa0df.json [Slack] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data ea76e5288dcc021069122655eb31220e182cf857.json [firefox] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data 48d384c89b62bfc19dfa693033529a07c16a87b1.json [Hexchat] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data 9a323e119f28b6db85ac0867da66a31c6edb8278.json [Microsoft-edge] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data cfc128a727a1708da34e788b624685ea267fe8bf.json [Code] 
DEBU[2024-06-06T08:47:41-05:00] Write client cache data cbe66b817c2ee13aab7ea47a2b7bfe157e8d95b6.json [Xfce4-terminal] 
DEBU[2024-06-06T08:47:41-05:00] Write workspace cache data 37d3941b09e2f8c9287bef0b7d3fef286c06d295.json [workspace-0-0] 
DEBU[2024-06-06T08:47:41-05:00] Write workspace cache data b22844cab2603778cba2e6e27bcc3847d7c852dc.json [workspace-1-0] 
TRAC[2024-06-06T08:47:41-05:00] Client focus out event [Xfce4-terminal]      
INFO[2024-06-06T08:47:44-05:00] State event _NET_CLIENT_LIST_STACKING        
DEBU[2024-06-06T08:47:44-05:00] Update trackable clients [7/10]              
INFO[2024-06-06T08:47:44-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DESKTOP [Xfdesktop] 
INFO[2024-06-06T08:47:44-05:00] Ignore window with keepassxc from config [KeePassXC] 
INFO[2024-06-06T08:47:44-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DOCK [Xfce4-panel] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data cfc128a727a1708da34e788b624685ea267fe8bf.json [Code] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data cbe66b817c2ee13aab7ea47a2b7bfe157e8d95b6.json [Xfce4-terminal] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 3eaf4b3e144fa0036ac13fd89a91d6bb760defb8.json [firefox] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 40544dc41193564918d759209d882efd2cfaa0df.json [Slack] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data ea76e5288dcc021069122655eb31220e182cf857.json [firefox] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 48d384c89b62bfc19dfa693033529a07c16a87b1.json [Hexchat] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 9a323e119f28b6db85ac0867da66a31c6edb8278.json [Microsoft-edge] 
DEBU[2024-06-06T08:47:44-05:00] Write workspace cache data 37d3941b09e2f8c9287bef0b7d3fef286c06d295.json [workspace-0-0] 
DEBU[2024-06-06T08:47:44-05:00] Write workspace cache data b22844cab2603778cba2e6e27bcc3847d7c852dc.json [workspace-1-0] 
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_ALLOWED_ACTIONS [Hexchat] 
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_STATE [Hexchat] 
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_ALLOWED_ACTIONS [firefox] 
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_STATE [firefox] 
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_ALLOWED_ACTIONS [Slack] 
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_STATE [Slack]  
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_ALLOWED_ACTIONS [firefox] 
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_STATE [firefox] 
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_ALLOWED_ACTIONS [Microsoft-edge] 
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_STATE [Microsoft-edge] 
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_ALLOWED_ACTIONS [Code] 
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_STATE [Code]   
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_STATE [Xfce4-terminal] 
INFO[2024-06-06T08:47:44-05:00] State event _NET_ACTIVE_WINDOW               
DEBU[2024-06-06T08:47:44-05:00] Update trackable clients [7/10]              
INFO[2024-06-06T08:47:44-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DESKTOP [Xfdesktop] 
INFO[2024-06-06T08:47:44-05:00] Ignore window with keepassxc from config [KeePassXC] 
INFO[2024-06-06T08:47:44-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DOCK [Xfce4-panel] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data cbe66b817c2ee13aab7ea47a2b7bfe157e8d95b6.json [Xfce4-terminal] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 3eaf4b3e144fa0036ac13fd89a91d6bb760defb8.json [firefox] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 40544dc41193564918d759209d882efd2cfaa0df.json [Slack] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data ea76e5288dcc021069122655eb31220e182cf857.json [firefox] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 48d384c89b62bfc19dfa693033529a07c16a87b1.json [Hexchat] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 9a323e119f28b6db85ac0867da66a31c6edb8278.json [Microsoft-edge] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data cfc128a727a1708da34e788b624685ea267fe8bf.json [Code] 
DEBU[2024-06-06T08:47:44-05:00] Write workspace cache data 37d3941b09e2f8c9287bef0b7d3fef286c06d295.json [workspace-0-0] 
DEBU[2024-06-06T08:47:44-05:00] Write workspace cache data b22844cab2603778cba2e6e27bcc3847d7c852dc.json [workspace-1-0] 
TRAC[2024-06-06T08:47:44-05:00] Client focus out event [Xfce4-terminal]      
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_ALLOWED_ACTIONS [Xfce4-terminal] 
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_STATE [Xfce4-terminal] 
INFO[2024-06-06T08:47:44-05:00] Screens [{540 DP-0.1 true [(0, 0) 3440x1440]}] 
INFO[2024-06-06T08:47:44-05:00] Desktops [{540 DP-0.1 true [(0, 0) 3440x1407]}] 
INFO[2024-06-06T08:47:44-05:00] State event _NET_DESKTOP_VIEWPORT            
DEBU[2024-06-06T08:47:44-05:00] Update trackable clients [7/10]              
INFO[2024-06-06T08:47:44-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DESKTOP [Xfdesktop] 
INFO[2024-06-06T08:47:44-05:00] Ignore window with keepassxc from config [KeePassXC] 
INFO[2024-06-06T08:47:44-05:00] Ignore window with type _NET_WM_WINDOW_TYPE_DOCK [Xfce4-panel] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data ea76e5288dcc021069122655eb31220e182cf857.json [firefox] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 48d384c89b62bfc19dfa693033529a07c16a87b1.json [Hexchat] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 9a323e119f28b6db85ac0867da66a31c6edb8278.json [Microsoft-edge] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data cfc128a727a1708da34e788b624685ea267fe8bf.json [Code] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data cbe66b817c2ee13aab7ea47a2b7bfe157e8d95b6.json [Xfce4-terminal] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 3eaf4b3e144fa0036ac13fd89a91d6bb760defb8.json [firefox] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 40544dc41193564918d759209d882efd2cfaa0df.json [Slack] 
DEBU[2024-06-06T08:47:44-05:00] Write workspace cache data 37d3941b09e2f8c9287bef0b7d3fef286c06d295.json [workspace-0-0] 
DEBU[2024-06-06T08:47:44-05:00] Write workspace cache data b22844cab2603778cba2e6e27bcc3847d7c852dc.json [workspace-1-0] 
INFO[2024-06-06T08:47:44-05:00] State event _NET_CURRENT_DESKTOP             
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 48d384c89b62bfc19dfa693033529a07c16a87b1.json [Hexchat] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 9a323e119f28b6db85ac0867da66a31c6edb8278.json [Microsoft-edge] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data cfc128a727a1708da34e788b624685ea267fe8bf.json [Code] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data cbe66b817c2ee13aab7ea47a2b7bfe157e8d95b6.json [Xfce4-terminal] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 3eaf4b3e144fa0036ac13fd89a91d6bb760defb8.json [firefox] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 40544dc41193564918d759209d882efd2cfaa0df.json [Slack] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data ea76e5288dcc021069122655eb31220e182cf857.json [firefox] 
DEBU[2024-06-06T08:47:44-05:00] Write workspace cache data 37d3941b09e2f8c9287bef0b7d3fef286c06d295.json [workspace-0-0] 
DEBU[2024-06-06T08:47:44-05:00] Write workspace cache data b22844cab2603778cba2e6e27bcc3847d7c852dc.json [workspace-1-0] 
TRAC[2024-06-06T08:47:44-05:00] Client focus in event [Hexchat]              
TRAC[2024-06-06T08:47:44-05:00] Client property event _NET_WM_STATE [Hexchat] 
INFO[2024-06-06T08:47:44-05:00] State event _NET_ACTIVE_WINDOW               
DEBU[2024-06-06T08:47:44-05:00] Write client cache data cfc128a727a1708da34e788b624685ea267fe8bf.json [Code] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data cbe66b817c2ee13aab7ea47a2b7bfe157e8d95b6.json [Xfce4-terminal] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 3eaf4b3e144fa0036ac13fd89a91d6bb760defb8.json [firefox] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 40544dc41193564918d759209d882efd2cfaa0df.json [Slack] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data ea76e5288dcc021069122655eb31220e182cf857.json [firefox] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 48d384c89b62bfc19dfa693033529a07c16a87b1.json [Hexchat] 
DEBU[2024-06-06T08:47:44-05:00] Write client cache data 9a323e119f28b6db85ac0867da66a31c6edb8278.json [Microsoft-edge] 
DEBU[2024-06-06T08:47:44-05:00] Write workspace cache data 37d3941b09e2f8c9287bef0b7d3fef286c06d295.json [workspace-0-0] 
DEBU[2024-06-06T08:47:44-05:00] Write workspace cache data b22844cab2603778cba2e6e27bcc3847d7c852dc.json [workspace-1-0] 
INFO[2024-06-06T08:47:46-05:00] State event _NET_CLIENT_LIST_STACKING        
DEBU[2024-06-06T08:47:46-05:00] Write client cache data 3eaf4b3e144fa0036ac13fd89a91d6bb760defb8.json [firefox] 
DEBU[2024-06-06T08:47:46-05:00] Write client cache data 40544dc41193564918d759209d882efd2cfaa0df.json [Slack] 
DEBU[2024-06-06T08:47:46-05:00] Write client cache data ea76e5288dcc021069122655eb31220e182cf857.json [firefox] 
DEBU[2024-06-06T08:47:46-05:00] Write client cache data 48d384c89b62bfc19dfa693033529a07c16a87b1.json [Hexchat] 
DEBU[2024-06-06T08:47:46-05:00] Write client cache data 9a323e119f28b6db85ac0867da66a31c6edb8278.json [Microsoft-edge] 
DEBU[2024-06-06T08:47:46-05:00] Write client cache data cfc128a727a1708da34e788b624685ea267fe8bf.json [Code] 
DEBU[2024-06-06T08:47:46-05:00] Write client cache data cbe66b817c2ee13aab7ea47a2b7bfe157e8d95b6.json [Xfce4-terminal] 
DEBU[2024-06-06T08:47:46-05:00] Write workspace cache data 37d3941b09e2f8c9287bef0b7d3fef286c06d295.json [workspace-0-0] 
DEBU[2024-06-06T08:47:46-05:00] Write workspace cache data b22844cab2603778cba2e6e27bcc3847d7c852dc.json [workspace-1-0] 
INFO[2024-06-06T08:47:46-05:00] Pointer event 256                            
TRAC[2024-06-06T08:47:46-05:00] Client focus out event [Hexchat]             
TRAC[2024-06-06T08:47:46-05:00] Client structure event [Hexchat]             
DEBU[2024-06-06T08:47:46-05:00] Client move handler fired [Hexchat]          
FATA[2024-06-06T08:47:46-05:00] runtime error: integer divide by zero
goroutine 1 [running, locked to thread]:
runtime/debug.Stack()
	runtime/debug/stack.go:24 +0x5e
main.run.func1()
	github.com/leukipp/cortile/v2/main.go:75 +0x38
panic({0x5ef4cf860f20?, 0x5ef4cfb82eb0?})
	runtime/panic.go:770 +0x132
github.com/leukipp/cortile/v2/store.(*Manager).Visible(0x5ef4cf3ce56a?, 0xc0003719a0)
	github.com/leukipp/cortile/v2/store/manager.go:322 +0x1f9
github.com/leukipp/cortile/v2/store.(*Manager).Clients(0xc000294ab0, 0x5?)
	github.com/leukipp/cortile/v2/store/manager.go:333 +0xfa
github.com/leukipp/cortile/v2/desktop.(*Tracker).handleMoveClient(0xc000371280, 0xc000162480)
	github.com/leukipp/cortile/v2/desktop/tracker.go:331 +0x30a
github.com/leukipp/cortile/v2/desktop.(*Tracker).attachHandlers.func1(0x5ef4cf3671fa?, {0x7929a168b5b8?})
	github.com/leukipp/cortile/v2/desktop/tracker.go:509 +0xbc
github.com/BurntSushi/xgbutil/xevent.ConfigureNotifyFun.Run(0x5ef4cf85bd20?, 0xc000229440?, {0x5ef4cf889ea0?, 0xc0003d4540?})
	github.com/BurntSushi/[email protected]/xevent/callback.go:245 +0x33
github.com/BurntSushi/xgbutil/xevent.runCallbacks(0xc0003cc780, {0x5ef4cf889ea0, 0xc0003d4540}, 0x16, 0x7600003)
	github.com/BurntSushi/[email protected]/xevent/xevent.go:203 +0xb9
github.com/BurntSushi/xgbutil/xevent.processEventQueue(0xc0003cc780, 0x0, 0x0)
	github.com/BurntSushi/[email protected]/xevent/eventloop.go:233 +0x46a
github.com/BurntSushi/xgbutil/xevent.mainEventLoop(0xc0003cc780, 0x0, 0x0, 0x0)
	github.com/BurntSushi/[email protected]/xevent/eventloop.go:108 +0x45
github.com/BurntSushi/xgbutil/xevent.Main(...)
	github.com/BurntSushi/[email protected]/xevent/eventloop.go:52
main.run()
	github.com/leukipp/cortile/v2/main.go:94 +0xd2
main.main()
	github.com/leukipp/cortile/v2/main.go:69 +0x174 

nearwood avatar Jun 06 '24 13:06 nearwood

Thanks for your efforts and detailed logs, I will have a look into it.

In the meantime, can you confirm that the issue still exists on the latest develop branch?

What happens if you ran cortile with caching disabled?

  • Disable the internal cache by running cortile -vvv -cache 0.

leukipp avatar Jun 06 '24 17:06 leukipp

Been running the development version for about a day now and it has not crashed. It did not pickup my config quite right though.

nearwood avatar Jun 11 '24 19:06 nearwood

Please test the latest v2.5.0 release and let me know if the crash still occurs.

leukipp avatar Jun 12 '24 17:06 leukipp

Confirmed this no longer occurs. Thanks!

nearwood avatar Jul 16 '24 01:07 nearwood