Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git ver r1776.d014394 sfwbar core dump, When I emptied the pcmanfm-qt trash can #319

Closed
knm100 opened this issue Jan 15, 2025 · 9 comments
Closed

Comments

@knm100
Copy link
Contributor

knm100 commented Jan 15, 2025

Sometimes, git ver r1776.d014394 sfwbar core dump, When I emptied the pcmanfm-qt trash can
please see the coredump file
coredump.txt

@knm100 knm100 changed the title git ver r1776.d014394 sfwbar core dump, When I emptied the pcmanfm-qt trash garbage can git ver r1776.d014394 sfwbar core dump, When I emptied the pcmanfm-qt trash can Jan 15, 2025
@knm100
Copy link
Contributor Author

knm100 commented Jan 15, 2025

The steps to reproduce this issue are:

  1. Reinstall or update the sfwbar (don't logout the session or restart the sfwbar)
  2. empty the pcmanfm-qt trash can

@LBCrion
Copy link
Owner

LBCrion commented Jan 16, 2025

Can you please check if this still happens in the latest git version?

@artix-arist
Copy link

On the latest commit I just had a crash while using the volume widget.
Also, since some commit early this week the volume widget shows a large number of audio devices, all in identical pairs of 2.
I'm not not sure this is related; if needed I can create a separate issue for this.

@LBCrion
Copy link
Owner

LBCrion commented Jan 17, 2025 via email

@artix-arist
Copy link

So far I have not been able to reprocude the crash.

@LBCrion
Copy link
Owner

LBCrion commented Jan 17, 2025 via email

@artix-arist
Copy link

This is the way to reproduce the crash - it might be related to using pipewire AND the multiple abnormal sound devices shown in the volume widget :

  • start a browser and play some media with audio
  • open the sfwbar volume widget; and let its popup stay open
  • close the browser that is playing audio

sfwbar then crashes with this being the last part of the debug output:

22:00:11.91 expr: '(null)' = 'audio-volume-muted', vstate: 1
22:00:11.91 scanner: $xvolumemutedicon = audio-volume-muted (vstate: 1)
22:00:11.91 expr: '(null)' = 'audio-volume-medium', vstate: 1
22:00:11.91 expr: '(null)' = 'Chromium', vstate: 1
22:00:11.91 expr: '(null)' = 'checkbox', vstate: 1
22:00:11.91 expr: '(null)' = 'hidden', vstate: 1
22:00:11.91 expr: '(null)' = 'volume_client_menu', vstate: 1
22:00:11.91 expr: '(null)' = '0.54998779296875', vstate: 1
22:00:11.91 expr: '(null)' = '0.54998779296875', vstate: 1
22:00:11.91 image: kitty @ 28 x 28
22:00:11.91 image: chromium @ 28 x 28
22:00:11.91 foreign toplevel state for 0x5a2c1d210b40: 
22:00:11.91 trigger: 'window_focus'
22:00:11.91 foreign toplevel state for 0x5a2c1cfb3b70: Activated, 
zsh: segmentation fault  sfwbar -d

About the multiple sound devices, which could very wel be related to the crashing issue; these are displayed after clicking on the right hand side hamburger menu for the clients part at the bottom.

Previously these were shown, exactly the same as in the pwvuvontrol program:
Plantronic Headset
Internal Audio

Currently these are shown:
PipeWire
PipeWire
@SINKDESC@
@SINKDESC@
@SINKDESC@
HDA Intel PCH
HDA Intel PCH
HDA Intel PCH
HDA Intel PCH
HDA Intel PCH
HDA Intel PCH
HDA Intel PCH
HDA Intel PCH
Plantronic Headset
Internal Audio

@LBCrion
Copy link
Owner

LBCrion commented Jan 18, 2025 via email

@artix-arist
Copy link

artix-arist commented Jan 18, 2025

A build from the latest commit shows that both issues have been fixed:

  • the sfwbar crash no longer reproduces
  • the list of displayed audio devices is correct now

Thank you very much!

FYI, I have added sfwbar to the official package repository of Artix Linux a few weeks ago, so you might want to add this to the Installation section of Readme.md:

Artix Linux: sudo pacman -Sy sfwbar

artist

@knm100 knm100 closed this as completed Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants