focus icon indicating copy to clipboard operation
focus copied to clipboard

Crash (sigabrt or sigsegv) on timer ends

Open GrinlexGH opened this issue 4 months ago • 0 comments

Tick this box to confirm you have reviewed the above.

  • [x] I've discovered a new issue with Focus.

What version of Focus are you using?

focus version v1.4.2

How did you install Focus?

yay -S focus-timer-bin or go install github.com/ayoisaiah/focus/cmd/focus@latest

What operating system are you using Focus on?

Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.16.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 ГиБ of RAM (15.5 ГиБ usable)
Graphics Processor: NVIDIA GeForce RTX 3060
Manufacturer: Micro-Star International Co., Ltd
Product Name: MS-7C02
System Version: 1.0

What is your Focus configuration?

auto_start_break: true
auto_start_work: false
break_sound: bell
dark_theme: true
long_break_duration: 15m
long_break_interval: 4
long_break_msg: Take a long break
notify: true
session_cmd: ""
short_break_duration: 5m
short_break_msg: Take a breather
sound: ""
sound_on_break: false
strict: false
work_duration: 1s
work_msg: Focus on your task
work_sound: loud_bell

Describe your bug.

Not always, but it can often crash when the timer ends. I was getting sigabrt or sigsegv The same behavior when downloading via go install, and when downloading via AUR

PIPEWIRE_DEBUG=4 focus &> focus.log: focus.log

focus &> focus.log: focus.log

What are the steps to reproduce the behavior?

Run focus on my system.

What behaviour did you observe?

sigsegv or sigabrt on timer ends

What is the expected behaviour?

not sigsegv or sigabrt on timer ends

GrinlexGH avatar Sep 06 '25 15:09 GrinlexGH