getsolus / packages

Solus Package Monorepo & Issue Tracker
66 stars 85 forks source link

Papers SIGSEGV when try printing #4240

Open malfisya opened 3 weeks ago

malfisya commented 3 weeks ago

Please confirm there isn't an existing open bug report

Summary

papers (the new gnome pdf viewer crash when printing menu is selected.

Steps to reproduce

  1. Open pdf file
  2. Select print

Expected result

Printing menu opened

Actual result

program crash

 alfisya   main  …  packages  p  papers  G_MESSAGES_DEBUG=all papers                                                                                             
(process:23790): GLib-GIO-DEBUG: 13:24:56.654: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(process:23790): dconf-DEBUG: 13:24:56.654: watch_fast: "/org/gnome/desktop/interface/" (establishing: 0, active: 0)
(process:23790): dconf-DEBUG: 13:24:56.654: watch_fast: "/org/gnome/desktop/peripherals/mouse/" (establishing: 0, active: 0)
(process:23790): dconf-DEBUG: 13:24:56.655: watch_fast: "/org/gnome/desktop/sound/" (establishing: 0, active: 0)
(process:23790): dconf-DEBUG: 13:24:56.655: watch_fast: "/org/gnome/desktop/privacy/" (establishing: 0, active: 0)
(process:23790): dconf-DEBUG: 13:24:56.655: watch_fast: "/org/gnome/desktop/wm/preferences/" (establishing: 0, active: 0)
(process:23790): dconf-DEBUG: 13:24:56.655: watch_fast: "/org/gnome/settings-daemon/plugins/xsettings/" (establishing: 0, active: 0)
(process:23790): dconf-DEBUG: 13:24:56.655: watch_fast: "/org/gnome/desktop/a11y/" (establishing: 0, active: 0)
(process:23790): dconf-DEBUG: 13:24:56.655: watch_fast: "/org/gnome/desktop/a11y/interface/" (establishing: 0, active: 0)
(process:23790): GLib-GIO-DEBUG: 13:24:56.655: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(process:23790): dconf-DEBUG: 13:24:56.656: watch_established: "/org/gnome/desktop/interface/" (establishing: 1)
(process:23790): dconf-DEBUG: 13:24:56.656: watch_established: "/org/gnome/desktop/peripherals/mouse/" (establishing: 1)
(process:23790): dconf-DEBUG: 13:24:56.656: watch_established: "/org/gnome/desktop/sound/" (establishing: 1)
(process:23790): dconf-DEBUG: 13:24:56.656: watch_established: "/org/gnome/desktop/privacy/" (establishing: 1)
(process:23790): dconf-DEBUG: 13:24:56.656: watch_established: "/org/gnome/desktop/wm/preferences/" (establishing: 1)
(process:23790): dconf-DEBUG: 13:24:56.656: watch_established: "/org/gnome/settings-daemon/plugins/xsettings/" (establishing: 1)
(process:23790): dconf-DEBUG: 13:24:56.656: watch_established: "/org/gnome/desktop/a11y/" (establishing: 1)
(process:23790): dconf-DEBUG: 13:24:56.656: watch_established: "/org/gnome/desktop/a11y/interface/" (establishing: 1)
(papers:23790): Gtk-DEBUG: 13:24:56.659: Connecting to session manager
(papers:23790): Gtk-DEBUG: 13:24:56.660: Registering client 'org.gnome.Papers' ''
(papers:23790): Gtk-DEBUG: 13:24:56.661: Registered client at '/org/gnome/SessionManager/Client36'
(papers:23790): GLib-GIO-DEBUG: 13:24:56.664: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(papers:23790): dconf-DEBUG: 13:24:56.744: watch_fast: "/org/gnome/papers/" (establishing: 0, active: 0)
(papers:23790): dconf-DEBUG: 13:24:56.744: watch_fast: "/org/gnome/papers/default/" (establishing: 0, active: 0)
(papers:23790): dconf-DEBUG: 13:24:56.744: watch_established: "/org/gnome/papers/" (establishing: 1)
(papers:23790): dconf-DEBUG: 13:24:56.744: watch_established: "/org/gnome/papers/default/" (establishing: 1)
(papers:23790): dconf-DEBUG: 13:24:56.749: watch_fast: "/org/gnome/papers/default/" (establishing: 0, active: 1)
(papers:23790): dconf-DEBUG: 13:24:56.749: watch_fast: "/org/gnome/papers/" (establishing: 0, active: 1)
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
Gdk-INFO: 13:24:56.836: Vulkan: Loader Message: linux_read_sorted_physical_devices:
Gdk-INFO: 13:24:56.836: Vulkan: Loader Message:      Original order:
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:            [0] AMD Radeon RX 550 / 550 Series (RADV POLARIS12)
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:            [1] llvmpipe (LLVM 18.1.8, 256 bits)
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:            [2] Intel(R) HD Graphics 4000 (IVB GT2)
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:      Sorted order:
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:            [0] AMD Radeon RX 550 / 550 Series (RADV POLARIS12)  
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:            [1] Intel(R) HD Graphics 4000 (IVB GT2)  
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:            [2] llvmpipe (LLVM 18.1.8, 256 bits)  
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message: linux_read_sorted_physical_devices:
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:      Original order:
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:            [0] AMD Radeon RX 550 / 550 Series (RADV POLARIS12)
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:            [1] llvmpipe (LLVM 18.1.8, 256 bits)
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:            [2] Intel(R) HD Graphics 4000 (IVB GT2)
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:      Sorted order:
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:            [0] AMD Radeon RX 550 / 550 Series (RADV POLARIS12)  
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:            [1] Intel(R) HD Graphics 4000 (IVB GT2)  
Gdk-INFO: 13:24:56.837: Vulkan: Loader Message:            [2] llvmpipe (LLVM 18.1.8, 256 bits)  
(papers:23790): Gdk-DEBUG: 13:24:56.837: Vulkan: Loader Message: Copying old device 0 into new device 0
(papers:23790): Gdk-DEBUG: 13:24:56.837: Vulkan: Loader Message: Copying old device 1 into new device 1
(papers:23790): Gdk-DEBUG: 13:24:56.837: Vulkan: Loader Message: Copying old device 2 into new device 2
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message: linux_read_sorted_physical_devices:
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:      Original order:
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:            [0] AMD Radeon RX 550 / 550 Series (RADV POLARIS12)
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:            [1] llvmpipe (LLVM 18.1.8, 256 bits)
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:            [2] Intel(R) HD Graphics 4000 (IVB GT2)
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:      Sorted order:
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:            [0] AMD Radeon RX 550 / 550 Series (RADV POLARIS12)  
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:            [1] Intel(R) HD Graphics 4000 (IVB GT2)  
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:            [2] llvmpipe (LLVM 18.1.8, 256 bits)  
(papers:23790): Gdk-DEBUG: 13:24:56.838: Vulkan: Loader Message: Copying old device 0 into new device 0
(papers:23790): Gdk-DEBUG: 13:24:56.838: Vulkan: Loader Message: Copying old device 1 into new device 1
(papers:23790): Gdk-DEBUG: 13:24:56.838: Vulkan: Loader Message: Copying old device 2 into new device 2
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message: linux_read_sorted_physical_devices:
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:      Original order:
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:            [0] AMD Radeon RX 550 / 550 Series (RADV POLARIS12)
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:            [1] llvmpipe (LLVM 18.1.8, 256 bits)
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:            [2] Intel(R) HD Graphics 4000 (IVB GT2)
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:      Sorted order:
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:            [0] AMD Radeon RX 550 / 550 Series (RADV POLARIS12)  
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:            [1] Intel(R) HD Graphics 4000 (IVB GT2)  
Gdk-INFO: 13:24:56.838: Vulkan: Loader Message:            [2] llvmpipe (LLVM 18.1.8, 256 bits)  
(papers:23790): Gdk-DEBUG: 13:24:56.838: Vulkan: Loader Message: Copying old device 0 into new device 0
(papers:23790): Gdk-DEBUG: 13:24:56.838: Vulkan: Loader Message: Copying old device 1 into new device 1
(papers:23790): Gdk-DEBUG: 13:24:56.838: Vulkan: Loader Message: Copying old device 2 into new device 2
Gdk-INFO: 13:24:56.839: Vulkan: Loader Message: Removing driver /usr/lib64/libvulkan_nouveau.so due to not having any physical devices
Gdk-INFO: 13:24:56.839: Vulkan: Loader Message: Removing driver /usr/lib64/libvulkan_intel.so due to not having any physical devices
Gdk-INFO: 13:24:56.839: Vulkan: Loader Message: Failed to find vkGetDeviceProcAddr in layer "libVkLayer_MESA_device_select.so"
Gdk-INFO: 13:24:56.839: Vulkan: Loader Message: vkCreateDevice layer callstack setup to:
Gdk-INFO: 13:24:56.839: Vulkan: Loader Message:    <Application>
Gdk-INFO: 13:24:56.839: Vulkan: Loader Message:      ||
Gdk-INFO: 13:24:56.839: Vulkan: Loader Message:    <Loader>
Gdk-INFO: 13:24:56.839: Vulkan: Loader Message:      ||
Gdk-INFO: 13:24:56.839: Vulkan: Loader Message:    <Device>
Gdk-INFO: 13:24:56.839: Vulkan: Loader Message:        Using "AMD Radeon RX 550 / 550 Series (RADV POLARIS12)" with driver: "/usr/lib64/libvulkan_radeon.so"
(papers:23790): Gtk-DEBUG: 13:24:56.998: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:24:56.999: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:24:56.999: snapshot symbolic icon using mask
(papers:23790): GLib-GIO-DEBUG: 13:24:58.559: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(papers:23790): PpsJobs-DEBUG: 13:25:00.537: new load job
(papers:23790): PpsJobs-DEBUG: 13:25:00.537: load job set uri: file:///run/media/alfisya/SHA/Kegiatan%20Mamah/Daftar%20Kehadiran%20Tahsin%20Batu%20Giok.pdf
(papers:23790): dconf-DEBUG: 13:25:00.537: change_fast
(papers:23790): Gtk-DEBUG: 13:25:00.563: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.563: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.563: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.563: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.563: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.564: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.564: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.564: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.564: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.564: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.564: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.564: snapshot symbolic icon using mask
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.612: pushing job: PpsJobLoad, priority: 3
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.612: running thread for job: PpsJobLoad
(papers:23790): PpsJobs-DEBUG: 13:25:00.612: running load job
(papers:23790): PpsJobs-DEBUG: 13:25:00.620: job PpsJobLoad (0x558db219f640) succeeded
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.620: destroying job: PpsJobLoad
(papers:23790): PpsJobs-DEBUG: 13:25:00.620: emit finished for PpsJobLoad (0x558db219f640)
[2024-11-04T06:25:00.621Z DEBUG papers::sidebar_thumbnails::imp] set current selected page to 0
[2024-11-04T06:25:00.621Z DEBUG papers::sidebar_thumbnails::imp] reload list model
(papers:23790): PpsJobs-DEBUG: 13:25:00.622: new thumbnail job: page: 0
[2024-11-04T06:25:00.622Z DEBUG papers::sidebar_thumbnails::imp] push render job for page: 0
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.622: pushing job: PpsJobThumbnailTexture, priority: 1
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.622: running thread for job: PpsJobThumbnailTexture
(papers:23790): PpsJobs-DEBUG: 13:25:00.622: running thumbnail job: page: 0 (0x558db3604bc0)
[2024-11-04T06:25:00.622Z DEBUG papers::sidebar_thumbnails::imp] set current selected page to 0
(papers:23790): PpsJobs-DEBUG: 13:25:00.622: new annots job
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.622: pushing job: PpsJobAnnots, priority: 3
(papers:23790): PpsJobs-DEBUG: 13:25:00.623: new page data job: page: 0
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.623: pushing job: PpsJobPageData, priority: 3
(papers:23790): dconf-DEBUG: 13:25:00.623: watch_fast: "/org/gnome/desktop/lockdown/" (establishing: 0, active: 0)
(papers:23790): dconf-DEBUG: 13:25:00.624: watch_established: "/org/gnome/desktop/lockdown/" (establishing: 1)
(papers:23790): PpsJobs-DEBUG: 13:25:00.624: disposing PpsJobLoad (0x558db219f640)
(papers:23790): PpsJobs-DEBUG: 13:25:00.625: job PpsJobThumbnailTexture (0x558db3604bc0) succeeded
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.625: destroying job: PpsJobThumbnailTexture
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.625: running thread for job: PpsJobAnnots
(papers:23790): PpsJobs-DEBUG: 13:25:00.625: running annots job
(papers:23790): PpsJobs-DEBUG: 13:25:00.625: job PpsJobAnnots (0x558db33e0c60) succeeded
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.625: destroying job: PpsJobAnnots
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.625: running thread for job: PpsJobPageData
(papers:23790): PpsJobs-DEBUG: 13:25:00.625: running page data job: page: 0 (0x558db3602ec0)
(papers:23790): PpsJobs-DEBUG: 13:25:00.627: job PpsJobPageData (0x558db3602ec0) succeeded
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.627: destroying job: PpsJobPageData
(papers:23790): PpsJobs-DEBUG: 13:25:00.647: new render job: page: 0
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.647: pushing job: PpsJobRenderTexture, priority: 0
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.647: running thread for job: PpsJobRenderTexture
(papers:23790): PpsJobs-DEBUG: 13:25:00.647: running render job: page: 0 (0x558db331f890)
(papers:23790): PpsJobs-DEBUG: 13:25:00.651: job PpsJobRenderTexture (0x558db331f890) succeeded
(papers:23790): PpsJobScheduler-DEBUG: 13:25:00.651: destroying job: PpsJobRenderTexture
(papers:23790): PpsJobs-DEBUG: 13:25:00.736: emit finished for PpsJobThumbnailTexture (0x558db3604bc0)
[2024-11-04T06:25:00.736Z DEBUG papers::sidebar_thumbnails::imp] load thumbnail of page: 0
(papers:23790): PpsJobs-DEBUG: 13:25:00.736: emit finished for PpsJobAnnots (0x558db33e0c60)
(papers:23790): PpsJobs-DEBUG: 13:25:00.736: disposing PpsJobAnnots (0x558db33e0c60)
(papers:23790): PpsJobs-DEBUG: 13:25:00.736: emit finished for PpsJobPageData (0x558db3602ec0)
(papers:23790): PpsJobs-DEBUG: 13:25:00.736: disposing PpsJobPageData (0x558db3602ec0)
(papers:23790): PpsJobs-DEBUG: 13:25:00.736: emit finished for PpsJobRenderTexture (0x558db331f890)
(papers:23790): PpsJobs-DEBUG: 13:25:00.736: disposing job render: 0 (0x558db331f890)
(papers:23790): PpsJobs-DEBUG: 13:25:00.736: disposing PpsJobRenderTexture (0x558db331f890)
(papers:23790): Gtk-DEBUG: 13:25:00.754: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.754: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.785: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.811: snapshot symbolic icon using mask
(papers:23790): Gtk-DEBUG: 13:25:00.845: snapshot symbolic icon using mask
(papers:23790): GLib-GIO-DEBUG: 13:25:02.967: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
fish: Job 1, 'G_MESSAGES_DEBUG=all papers' terminated by signal SIGSEGV (Address boundary error)

Environment

Repo

Unstable

Desktop Environment

GNOME

System details

System: Host: desktop-solus Kernel: 6.11.5-307.current arch: x86_64 bits: 64 Desktop: GNOME v: 47.1 Distro: Solus 4.6 convergence Machine: Type: Desktop Mobo: Wibtek model: H77-M v: V1.3 serial: BIOS: American Megatrends v: 4.6.5 date: 09/03/2012 CPU: Info: quad core Intel Core i5-3570K [MCP] speed (MHz): avg: 1597 min/max: 1600/3800 Graphics: Device-1: Intel IvyBridge GT2 [HD Graphics 4000] driver: i915 v: kernel Device-2: Advanced Micro Devices [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] driver: amdgpu v: kernel Device-3: Jieli USB PHY 2.0 driver: snd-usb-audio,uvcvideo type: USB Display: wayland server: X.Org v: 24.1.4 with: Xwayland v: 24.1.4 compositor: gnome-shell driver: X: loaded: amdgpu,modesetting unloaded: fbdev,radeon,vesa dri: radeonsi,crocus gpu: amdgpu,i915 resolution: 1: 1366x768~60Hz 2: 1366x768~60Hz API: OpenGL v: 4.6 compat-v: 4.2 vendor: amd mesa v: 24.2.6 renderer: AMD Radeon RX 550 / 550 Series (radeonsi polaris12 LLVM 18.1.8 DRM 3.59 6.11.5-307.current) Network: Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet driver: r8169 Device-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter driver: rtl8xxxu type: USB Drives: Local Storage: total: 714.95 GiB used: 428.7 GiB (60.0%) Info: Memory: total: 16 GiB available: 15.52 GiB used: 3.3 GiB (21.3%) Processes: 279 Uptime: 10m Shell: fish inxi: 3.3.36

Other comments

No response

malfisya commented 2 weeks ago

Downgrading poppler and poppler-utils to version 24.08 Release 51 solves the problem. That means it poppler is the culprit.

joebonrichie commented 2 weeks ago

poppler 24.11.0 was just released. Does that fix the issue, you shouldn't have to do any rebuilds locally if just testing against papers

malfisya commented 2 weeks ago

I build poppler 24.11.0 locally and also rebuild papers against it. It still crashes.

malfisya commented 3 days ago

This can be replicated in flatpak version of papers. I can open the print menu, but when I click print, the job doesn't get sent to printer. I will try report this to papers upstream