The evince application often freezes

Bug #1809685 reported by SYN-2009
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Evince
New
Unknown
evince (Ubuntu)
High
Unassigned

Bug Description

Hi!
The evince application (pdf document viewer) often freezes.
Thanks.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: evince 3.28.4-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
Uname: Linux 4.15.0-43-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Dec 25 07:12:13 2018
InstallationDate: Installed on 2018-05-06 (232 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: evince
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
SYN-2009 (ra9uek) wrote :
Revision history for this message
madbiologist (me-again) wrote :

Thanks for reporting this bug. Can you please attach a PDF file that causes this issue?

Changed in evince (Ubuntu):
status: New → Incomplete
Changed in evince (Ubuntu):
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you also add your journalctl log after getting the issue?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for evince (Ubuntu) because there has been no activity for 60 days.]

Changed in evince (Ubuntu):
status: Incomplete → Expired
Revision history for this message
William Smith (wrsmith-y) wrote :

I also see this happen quite often.
The User Manual link posted here will trigger it when you open the link with Document Viewer.
https://www.star-cooperation.com/de/kompetenzen/elektronik/produkte/vernetzungstechnik/hardware/vernetzungszubehoer/flexmedia-100base-t1/

Revision history for this message
Esokrates (esokrarkose) wrote :

@William: I downloaded your pdf and checked: It does not reliably trigger this issue for me. But I experience the freeze issue almost daily, it happens randomly while zooming in documents. Sometimes I open a document and within the first zoom it freezes, sometimes I have to play around for minutes zooming and scrolling to trigger the issue.

Changed in evince (Ubuntu):
status: Expired → Confirmed
Changed in evince:
status: Unknown → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

Is anyone still having this issue in focal?

Revision history for this message
Esokrates (esokrarkose) wrote :

@seb128: Yes, it's really annoying. I have to be really careful not to zoom too much in and out my documents as everytime it could be the last time before evince and all it's child windows freezes indefinitely.

It seems to me like it happens in the rendering code. Reproducing sometimes need patience as there does not seem to be a deterministic way to trigger it but if you sit down scroll and zoom in and out a document for some time it will definitely happen.

Revision history for this message
Esokrates (esokrarkose) wrote :

Also note that this deadlock happens both in wayland and xorg gnome session. The backtrace I generated in https://gitlab.gnome.org/GNOME/evince/-/issues/1222 was in the xorg session though.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank for confirming it's still an issue, setting as triaged

Changed in evince (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Togo28 (togo28) wrote :

Evince also stops while trying to print in Ubuntu 21.04

Revision history for this message
Ken Ryan (linuxryan) wrote :

I can confirm it happens to me also in 21.04. The PDF opens fine for me but the instant I hit print the evince process pegs the CPU and stays there indefinitely. Files are on the local disk. x86_64 architecture.

The most recent PDF that did this to me is here: https://www.lcps.org/site/handlers/filedownload.ashx?moduleinstanceid=305856&dataid=381294&FileName=New%20Health%20form%20MCH-213G-032014.pdf

Printing worked fine with 20.04, then I upgraded to 21.04 about a month ago and have not been able to print a PDF ever since.

One possibly interesting bit:

ryan@khym:/var/log$ sudo dmesg | tail
[947533.329921] audit: type=1400 audit(1629163613.332:388): apparmor="DENIED" operation="connect" profile="/usr/bin/evince" name="/run/user/1000/gvfsd/socket-DTLIeIXr" pid=77344 comm="pool-evince" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
[947538.329943] audit: type=1400 audit(1629163618.332:389): apparmor="DENIED" operation="connect" profile="/usr/bin/evince" name="/run/user/1000/gvfsd/socket-2diq9E0F" pid=77344 comm="pool-evince" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
[947543.329859] audit: type=1400 audit(1629163623.332:390): apparmor="DENIED" operation="connect" profile="/usr/bin/evince" name="/run/user/1000/gvfsd/socket-n0LaY8dp" pid=77344 comm="pool-evince" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
[947548.329836] audit: type=1400 audit(1629163628.332:391): apparmor="DENIED" operation="connect" profile="/usr/bin/evince" name="/run/user/1000/gvfsd/socket-GuW4c7UX" pid=77344 comm="pool-evince" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
[947553.330670] audit: type=1400 audit(1629163633.332:392): apparmor="DENIED" operation="connect" profile="/usr/bin/evince" name="/run/user/1000/gvfsd/socket-lW4MWUNt" pid=77344 comm="pool-evince" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
[947558.329769] audit: type=1400 audit(1629163638.332:393): apparmor="DENIED" operation="connect" profile="/usr/bin/evince" name="/run/user/1000/gvfsd/socket-jFM9PdLI" pid=77344 comm="pool-evince" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
[947563.331063] audit: type=1400 audit(1629163643.336:394): apparmor="DENIED" operation="connect" profile="/usr/bin/evince" name="/run/user/1000/gvfsd/socket-jt0kRZuk" pid=77344 comm="pool-evince" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
[947568.328371] audit: type=1400 audit(1629163648.332:395): apparmor="DENIED" operation="connect" profile="/usr/bin/evince" name="/run/user/1000/gvfsd/socket-9dOXwErT" pid=77344 comm="pool-evince" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
[947573.326570] audit: type=1400 audit(1629163653.328:396): apparmor="DENIED" operation="connect" profile="/usr/bin/evince" name="/run/user/1000/gvfsd/socket-tz4r2Rco" pid=77344 comm="pool-evince" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
[947975.225424] audit: type=1400 audit(1629164055.230:397): apparmor="DENIED" operation="exec" profile="/usr/bin/evince" name="/usr/lib/x86_64-linux-gnu/libproxy/0.4.17/pxgsettings" pid=78607 comm="sh" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0

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

Other bug subscribers

Remote bug watches

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