Bug 11027

Summary: getRGBLine based color space conversion can use bad tables
Product: poppler Reporter: Raphaël Jacquot <sxpert>
Component: cairo backendAssignee: Jeff Muizelaar <jmuizelaar>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: carlosgc, poppler-bugs, pvillavi
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
URL: http://www.central-pro.com/selection2006-2007/kits_d_eclairage.pdf
Whiteboard:
i915 platform: i915 features:

Description Raphaël Jacquot 2007-05-21 14:58:42 UTC
instead of the colored pictures, we can only see useless black blocks
Comment 1 Jeff Muizelaar 2007-05-25 11:46:24 UTC
I can't reproduce. What viewer are you using and what version of poppler?
Comment 2 Jeff Muizelaar 2007-05-25 12:01:08 UTC
Nevermind I can reproduce. Looks like it might be a color space problem with the cairo backend.
Comment 3 Jeff Muizelaar 2007-05-25 13:28:23 UTC
Looks like the problems is in GfxImageColorMap::GfxImageColorMap around line         3420 where we build the byte_lookup table. When doing so we severly overflow and probably don't build a useful table.
Comment 4 Carlos Garcia Campos 2007-12-28 05:03:45 UTC
Another test case in this evince bug: http://bugzilla.gnome.org/show_bug.cgi?id=505709
Comment 5 Carlos Garcia Campos 2009-07-19 07:19:19 UTC
*** Bug 12754 has been marked as a duplicate of this bug. ***
Comment 6 Carlos Garcia Campos 2009-07-27 00:46:33 UTC
Fixed in git master now. 
Comment 7 CI Bug Log 2019-03-13 11:12:53 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* KBL:  igt@perf_pmu@rc6 - fail - Failed assertion: (double)(idle - prev) &lt;= (1.0 + (tolerance)) * (double)(ts[1] - ts[0]) &amp;&amp; (double)(idle - prev) &gt;= (1.0 - (tol
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_241/fi-kbl-guc/igt@perf_pmu@rc6.html

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.