-
Notifications
You must be signed in to change notification settings - Fork 96
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
Disconnection of sound sink crashes GNOME shell #108
Comments
This prevents calling a C function with an old pointer from the JS timeout callback which then crashes the GNOME Shell. An upstream fix was also sent in which prevents the crash of GNOME Shell but still this bug here needs to be fixed. Fixes kgshank#110 kgshank#108
This prevents calling a C function with an old pointer from the JS timeout callback which then crashes the GNOME Shell. An upstream fix was also sent in which prevents the crash of GNOME Shell but still this bug here needs to be fixed. Fixes kgshank#110 kgshank#108
Fixes released |
In the latest version it's still crashing, or rather again. The pointers can't be simply taken and passed around as is and used at any time. The GObject system offers a ref counting mechanism which one can use but I don't know if it also applies to this case here which depends on how the gvc object is currently used and whether GJS exposes this function ( |
@pothos , can you provide more information about the crash. Journal messages, extension installation source etc. |
It was the same crash as usual, on the latest version from extensions.gnome.org. I've uninstalled it now and think that's the best to do until this fundamental design issue of how the C pointers are used is solved, sorry. |
@pothos , I understand your point. I need to rewrite the full extension again to achieve that. Let me see how soon it can be done |
@pothos I have removed references to C pointers within the extension. Give a try if you are still interested. |
Thanks for the notification, plan to try it soon :) |
Describe the bug
I have PulseAudio set up so I can reroute audio via my laptop over the network. Upon rebooting my laptop for updates, this extension triggered an error in GNOME that crashed the shell (and by extension, the Wayland session and everything in it). I was not using the network stream for audio at the time.
Extension Information
Error / Journal messages
The text was updated successfully, but these errors were encountered: