I am running bspwm 0.9.10 on OpenBSD 7.8 on an amd64 architecture.
I currently have malloc configured with guard pages and canaries, and to check for use-after-free, double-free, etc. man malloc. With these settings, I am seeing significant stability issues with bspwm.
When opening a new application, bspwm will frequently SIGSEGV and dump core. The core dump is always the same, crashing in apply_rules():
Core file '/home/user/bspwm.core' (x86_64) was loaded.
(lldb) bt
thread #1, stop reason = signal SIGSEGV
frame #0: 0x000004c92b88d240 libc.so.102.0strlen at strlen.S:125 frame #1: 0x000004c92b8ffc96 libc.so.102.0__vfprintf(fp=0x000079c83610be8
frame #2: 0x000004c92b8a2524 libc.so.102.0_libc_snprintf(str=<unavailable frame #3: 0x000004c67c801de8 bspwmapply_rules + 456
frame #4: 0x000004c67c7f04e2 bspwmschedule_window + 162 frame #5: 0x000004c67c7e09e8 bspwmmain + 1608
frame #6: 0x000004c67c7e01bb bspwm`__start + 267
My bspwmrc is very simple, there are no rules actually:
#!/bin/sh
bspc config border_width 1
bspc config pointer_follows_focus true
bspc config top_padding 1
bspc config bottom_padding 1
bspc config split_ratio 0.5
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config focus_follows_pointer true
bspc config focused_border_color "#999999" #"#11809E"
bspc config active_border_color "#999999"
bspc config normal_border_color "#000000" #"#3F3E3B"
bspc monitor -d
"Desktop 1" "Desktop 2" "Desktop 3" "Desktop 4"
"Desktop 5" "Desktop 6" "Desktop 7" "Desktop 8"
"Desktop 9" "Desktop 10"
I'm wondering if anyone has tried running bspwm on Linux with canaries and guard pages and if they see a similar issue.
FWIW, I have already reached out to the OpenBSD package maintainer for the bspwm binary package. I haven't heard anything back.
I am running bspwm 0.9.10 on OpenBSD 7.8 on an amd64 architecture.
I currently have malloc configured with guard pages and canaries, and to check for use-after-free, double-free, etc. man malloc. With these settings, I am seeing significant stability issues with bspwm.
When opening a new application, bspwm will frequently SIGSEGV and dump core. The core dump is always the same, crashing in
apply_rules():My bspwmrc is very simple, there are no rules actually:
I'm wondering if anyone has tried running bspwm on Linux with canaries and guard pages and if they see a similar issue.
FWIW, I have already reached out to the OpenBSD package maintainer for the bspwm binary package. I haven't heard anything back.