为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox (flatpak) is crashing when trying to print a document

more options

I am running Firefox (Flatpak) on Debian 12 and I use a Nelko thermal label printer. I had installed nelko-printer-driver previously and had no issues printing on Firefox but, due to an issue with Debian, I had to reinstall Debian 12. Now, when I try to print a document then Firefox immediately crashes. I have tried:

  • Uninstalling the Flatpak and deleting app data
  • Help > More Troubleshooting... > Clear Saved Print Settings
  • about:config > Reset modified printer settings
  • Uninstalled/reinstalled nelko-printer-driver
  • Restarted
I am running Firefox (Flatpak) on Debian 12 and I use a Nelko thermal label printer. I had installed nelko-printer-driver previously and had no issues printing on Firefox but, due to an issue with Debian, I had to reinstall Debian 12. Now, when I try to print a document then Firefox immediately crashes. I have tried: * Uninstalling the Flatpak and deleting app data * Help > More Troubleshooting... > Clear Saved Print Settings * about:config > Reset modified printer settings * Uninstalled/reinstalled nelko-printer-driver * Restarted

被采纳的解决方案

Printing crash is now fixed in org.freedesktop.Platform 22.08.15. Ensure you have this version or do upgrade.

定位到答案原位置 👍 0

所有回复 (13)

more options
more options

Try Firefox from Mozilla. Download, unzip, and run firefox-bin from the folder and see if you have the same issue.

https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

What desktop? X11 or Wayland? Have you tried testing on a VM or usb live stick?

more options

Okay, it looks like the issue is down to the Flatpak because the .deb worked just fine.

more options

The crash is inside the printer library (libcups). Make sure all your system and flatpak packages are up to date:

sudo apt update sudo apt upgrade flatpak update

Flatpak needs a portal for printing:

sudo apt install xdg-desktop-portal

more options

Apt and Flatpak are both up-to-date. xdg-desktop-portal was also already installed:

xdg-desktop-portal is already the newest version (1.16.0-2).

由user319298449999468066908867859266460515316于修改

more options

I have the same problem as well. Both the Flathub flatpak of Thunderbird and Firefox crash when you select "Print" from the menu or use the keyboard shortcut "Ctrl + P". No error is given, I can't find much in the system logs either. Wasn't a problem a month back, if I remember correctly.

Thunderbird: 115.1.1 Firefox: 116.0.3 (64-bit) Operating System: Fedora Linux 38 (Kinoite) KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 Kernel Version: 6.4.10-200.fc38.x86_64 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-4690K CPU @ 3.50GHz Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX 480 Graphics

more options

I don't encounter this crash with flatpak on Ubuntu 23.04 using the default or system print dialog.

I have the following portal packages installed:

xdg-dbus-proxy xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-user-dirs xdg-user-dirs-gtk xdg-utils

Does it still happen when there are no physical printers connected?

more options

Yes, it does. It looks like this is a known issue.

more options

ChrisHRD said

I have the same problem as well. Both the Flathub flatpak of Thunderbird and Firefox crash when you select "Print" from the menu or use the keyboard shortcut "Ctrl + P". No error is given, I can't find much in the system logs either. Wasn't a problem a month back, if I remember correctly. Thunderbird: 115.1.1 Firefox: 116.0.3 (64-bit) Operating System: Fedora Linux 38 (Kinoite) KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 Kernel Version: 6.4.10-200.fc38.x86_64 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-4690K CPU @ 3.50GHz Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX 480 Graphics

What happens in X11?


Operating System: openSUSE Tumbleweed 20230818 KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 Kernel Version: 6.4.9-1-default (64-bit) Graphics Platform: X11 Processors: 12 × Intel® Core™ i7-9850H CPU @ 2.60GHz Memory: 125.1 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 Manufacturer: HP Product Name: HP ZBook 17 G6

more options

I use X11 (due to my NVIDIA drivers), and it crashes just the same.

more options

Let me install the flatpak and see what happens.

more options

I had no issues printing with the Flatpak version. see screenshot Sounds like a job for strace to see what's happening when Firefox goes boom.

more options

选择的解决方案

Printing crash is now fixed in org.freedesktop.Platform 22.08.15. Ensure you have this version or do upgrade.