mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 08:15:21 +01:00
[GH-ISSUE #675] [Tray] Segfaults when starting certain applications #7254
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#7254
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @donovanglover on GitHub (Jul 21, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/675
Describe the bug
Ironbar segfaults when starting Mullvad VPN with the tray module enabled
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No crash
System information:
github.com/JakeStanger/ironbar@58190ab079Additional context
Likely caused by one of the
unsafeblocks involving cairo since the segfault mentionslibcairo.so.2@donovanglover commented on GitHub (Aug 1, 2024):
Backtrace:
@JakeStanger commented on GitHub (Aug 4, 2024):
Thanks for reporting. It sounds like Mullvad is helpfully providing an empty byte array for its image, rather than null, which is...helpful.
I've just pushed up a fix that adds a quick check that should help. Are you able to give that a quick test for me and see if that gets it please?