GNOME Bugzilla – Bug 787270
Deleting an annotation causes Evince to hang; reproduction steps included
Last modified: 2017-09-06 19:46:14 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.
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 ***
Great, thanks very much!