After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787270 - Deleting an annotation causes Evince to hang; reproduction steps included
Deleting an annotation causes Evince to hang; reproduction steps included
Status: RESOLVED DUPLICATE of bug 782758
Product: evince
Classification: Core
Component: pdf annotations
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-04 21:51 UTC by jimb
Modified: 2017-09-06 19:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample PDF for reproduction instructions. (29.21 KB, application/pdf)
2017-09-04 21:51 UTC, jimb
Details

Description jimb 2017-09-04 21:51:07 UTC
Created attachment 359110 [details]
Sample PDF for reproduction instructions.

Under certain circumstances, deleting a highlight annotation causes Evince to enter an infinite loop.

To reproduce:

1) Open the attached PDF. The first page should be visible.
2) Click on the "annotate this document" icon.
3) Click on the highlight annotation button.
4) Drag over the word "reporting" on the first page, creating a highlight annotation.
5) Hit PgDn to go to the second page.
6) Click on the highlight annotation button.
7) Drag over the word "include" on the first page, creating a highlight annotation.
8) Right-click on this second annotation, and select "Remove annotation".

For me, Evince hangs, using a full CPU. According to strace, it is performing no system calls.
Comment 1 José Aliste 2017-09-04 22:30:43 UTC
Yes. sorry about that... I introduced a very naive infinite loop when fixing another bug. See bug #782758. This is already fixed in git master.

*** This bug has been marked as a duplicate of bug 782758 ***
Comment 2 jimb 2017-09-06 19:46:14 UTC
Great, thanks very much!