Bug 82898

Summary: In pixman_region32_init_rect: Invalid rectangle passed
Product: poppler Reporter: Riccardo Magliocchetti <riccardo.magliocchetti>
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: pdf to reproduce

Description Riccardo Magliocchetti 2014-08-21 08:50:33 UTC
Created attachment 105020 [details]
pdf to reproduce

With pixman 0.32.6 when scrolling around page 13 the attached pdf with evince 3.12.1 i get this warning:

 *** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

so here's the stacktrace:

#0  _pixman_log_error (function=0xf630e562 <__PRETTY_FUNCTION__.4685> "pixman_region32_init_rect", message=0xf630e307 "Invalid rectangle passed")
    at ../../pixman/pixman-utils.c:317
        n_messages = 1
#1  0xf62d66f3 in pixman_region32_init_rect (region=region@entry=0xebce201c, x=329, y=276, width=4294967251, height=60) at ../../pixman/pixman-region.c:389
        __PRETTY_FUNCTION__ = "pixman_region32_init_rect"
#2  0xf6cdd819 in INT_cairo_region_union_rectangle (dst=0xe929a440, rectangle=0xebce2070) at /build/cairo-t1d7nl/cairo-1.12.16/src/cairo-region.c:709
        status = CAIRO_STATUS_SUCCESS
        region = {extents = {x1 = 329, y1 = 276, x2 = 284, y2 = 336}, data = 0xeb473eca <poppler_rectangle_free+26>}
#3  0xf4706ffc in ?? () from /usr/lib/evince/4/backends/libpdfdocument.so
No symbol table info available.
#4  0xf47070f8 in ?? () from /usr/lib/evince/4/backends/libpdfdocument.so
No symbol table info available.
#5  0xf771363b in ev_document_text_get_text_mapping () from /usr/lib/libevdocument3.so.4
No symbol table info available.
#6  0xf76c5f50 in ?? () from /usr/lib/libevview3.so.3
No symbol table info available.
#7  0xf76c569f in ev_job_run () from /usr/lib/libevview3.so.3
No symbol table info available.
#8  0xf76c7a9b in ?? () from /usr/lib/libevview3.so.3
No symbol table info available.
#9  0xf6934c1a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#10 0xf684fefb in start_thread (arg=0xebce2b40) at pthread_create.c:309
        __res = <optimized out>
        pd = 0xebce2b40
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-158982144, -338810048, 4001536, -338812248, -896507287, 1596854867}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 
              0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#11 0xf678810e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
Comment 1 Søren Sandmann Pedersen 2014-09-14 19:57:03 UTC
Thanks for the bug report. This message appears when someone is passing an invalid rectangle to Pixman. I'm guessing the culprit is Poppler.
Comment 2 Riccardo Magliocchetti 2014-09-15 09:18:35 UTC
This is poppler 0.26.4
Comment 3 Jose Aliste 2014-09-15 16:03:01 UTC
This bug lies in evince itself.

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.