Papers crash with a segment fault after opening a PDF file

Bug #2107255 reported by Marcos Alano
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
papers (Ubuntu)
New
Undecided
Unassigned

Bug Description

I got a segfault when I try to open a PDF file. Here is the error:
➜ papers 5_open_source_collaboration_tools.pdf

(papers:357562): Gtk-WARNING **: 12:06:50.532: No IM module matching GTK_IM_MODULE=cedilla found
[1] 357562 segmentation fault (core dumped) papers 5_open_source_collaboration_tools.pdf

I attached the PDF that causes error to this bug report. Is an article from opensource.com.

My other PDF reader, Zathura, can show the PDF correctly.

ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: papers 48.0-1ubuntu1
ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
Uname: Linux 6.14.0-15-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.32.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 12 12:05:29 2025
InstallationDate: Installed on 2021-11-26 (1233 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
SourcePackage: papers
UpgradeStatus: Upgraded to plucky on 2025-03-07 (36 days ago)

Revision history for this message
Marcos Alano (mhalano) wrote :
Revision history for this message
Marcos Alano (mhalano) wrote :
Revision history for this message
Marcos Alano (mhalano) wrote :

I'm also attaching a similar PDF, also from opensource.com, but this one opens correctly with Papers.

Revision history for this message
Marcos Alano (mhalano) wrote :

I think this is the bug, already fixed, on upstream: https://gitlab.gnome.org/GNOME/Incubator/papers/-/issues/346. I tested with the Flatpak and it did work.

Revision history for this message
Marcos Alano (mhalano) wrote :

The strange part is: the patch for this problem is in place, so maybe is something different or similar.

Revision history for this message
Marcos Alano (mhalano) wrote :

I executed `strace /usr/bin/papers 5_open_source_collaboration_tools.pdf >papers.log 2>&1` and attached the result.

Revision history for this message
Marcos Alano (mhalano) wrote :

I would like to understand why it's using the llvmpipe if my NVIDIA GPU is, theoretically, working.

Revision history for this message
Sudhakar Verma (sudhackar) wrote :

Hello Marcos
Have you made contact with upstream on this yet?

Revision history for this message
Marcos Alano (mhalano) wrote :

Hi Sudhakar,

No, I don't. Should I? The Flatpak works, so I don't know for sure if I should.

Revision history for this message
Marcos Alano (mhalano) wrote :

Any news about that? The problem doesn't happen at all when I'm opening the file with the Flatpak version. I also can use xdg-open because of the path in $XDG_DATA_DIRS put my Flatpak install before /usr/share.
If I execute over command line with `papers filename` it also happens.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.