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
Latest nightly Flatpak builds fail with "Broken pipe" error #5893
Comments
From what I can find, this error
indicates that the app is attempting to access gnome-keyring-daemon and it's not present. I have no idea why HandBrake would be doing this. Perhaps it's something embedded in libgtk4 (which we just upgraded to). Could you confirm if gnome-keyring-daemon is installed and running (it would normally start automatically on boot). If not, could you try installing it to see if the problem goes away? |
Thanks for the quick response @jstebbins! I checked, and see that Anything else I can try?? |
I think the application is probably crashing, but the error message isn't shown due to Flatpak. If you run |
@robxnano Yes, that's exactly the error I get! What should I do next?? |
I can't reproduce the crash on my end, so what I'd really need is a backtrace with debug symbols, but unfortunately the nightly builds don't include them. Would you be able to build the Flatpak yourself? I've just added a rule for creating the debug package, so it should just be a case of installing the right packages and running a few commands. Then you would just have to run HandBrake under the debugger and copy the backtrace information. If you're okay with that I'll give you the instructions, otherwise I'll try and find another solution. |
Thanks @robxnano, I only have experience building code with the However, if you can give me specific instructions, I'm happy to give it a try. |
Okay, here are the instructions. I tested them on a Rocky Linux VM but they should also work on Fedora. Just enter the commands below in a terminal, and press Y or Enter at all the confirmation prompts. Enable optional repositories (Not needed on Fedora):
Install prerequisites:
Clone the repository and build:
Install the Flatpak bundles:
Once you've done this, you should be ready to debug.
You should now be in a terminal in the Flatpak environment, with a prompt that says
You will now see a prompt that says
Press Enter again and HandBrake will run. When it reaches the point where the crash occurs, it will freeze and the
Press Enter again until you can see the full backtrace. Then copy the whole thing and post it here. When you've finished, enter |
Wow thanks for the detailed instructions @robxnano! I copied and pasted the commands exactly into my terminal, and reached the point when the crash occurs. This time, I see a prompt asking if I want to force quite Handbrake or keep waiting: I can see in my terminal that the
Is this information helpful???? |
Thanks, although I was hoping for a bit more information to go on. But nevertheless, it might just be enough, as there are only two direct uses of |
@robxnano: Yes! My
I tried removing Anything else I can try? |
Could you try debugging again without |
Thanks. I tried removing only However, now when I force quit, my terminal window shows:
And now when I run Did I do something wrong when debugging??? |
No, you've been a great help. One last thing you could try is to move the |
@robxnano Thanks. I tried moving Anything else to try? |
Problem Description
I've been successfully running the nightly Flatpak Linux builds on Rocky Linux 9.3 (Linux kernel 5.14 and GNOME 40.4.0) for a while with no problems. I install with with this command:
flatpak install fr.handbrake.ghb-20240323140926-e337e98de-master-x86_64.flatpak
However, since approximately last week, the builds fail to start at all.
For example, I just installed
fr.handbrake.ghb-20240323140926-e337e98de-master-x86_64.flatpak
nightly build from March 25, 2024. If I start this Handbrake build from GNOME, I see the GUI briefly flash before my eyes and disappear.I also try to start from the commandline with this command:
flatpak run fr.handbrake.ghb
I then get an error message saying:
** (process:50180): WARNING **: 13:17:46.800: Error writing credentials to socket: Error sending message: Broken pipe
I have no idea what this error means.
Can anyone provide some guidance on how I may troubleshoot this? Thank you!
P.S. The same thing happens on my Fedora 39 system.
Activity Log, Crash Log or any other details
There is also an empty
ghb.pid.2
file.The text was updated successfully, but these errors were encountered: