When opening the attached pdf in evince, poppler unions a GdkRegion with rects with negative width and/or height. This causes an assertion faliure (later on) with newer gtk versions. A little more info is at http://bugzilla.gnome.org/show_bug.cgi?id=331467
Created attachment 4648 [details] pdf file that causes the crash
Is this bug still there (no crash here) ?
This will not crash anymore. Newer GTK+ versions just ignore these rectangles with negative height/width. One needs to check if poppler_page_get_selection_region still adds rectangles with negative width/height to the GdkRegion.
Bugzilla Upgrade Mass Bug Change NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO. - benjsc fd.o Wrangler
Doesn't crash for me, closing, please reopen if you can still reproduce a crash
Yes, the PDF file will not crash anymore, as GTK+ now has more sanity checks (see the original GTK+ bug report). However, it may be a good idea to still investigate how the negative sized areas happen. I just noticed that the selection is also redrawn wrong. If one selects a bit of the map (just click and drag a short distance) and then forces a redraw a set of selection rectangles appear. These are also visible if one presses ctrl+a.
Oh, and the text that belongs to those selection rectangles can actually be seen on the lines that run from top to bottom in the center (and also some text).
Don't see a bug here anymore. Please reopen if it still crashes for you.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.