Bug 23245 - lcms-related crash
Summary: lcms-related crash
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-11 02:26 UTC by Vincent Untz
Modified: 2009-08-11 04:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vincent Untz 2009-08-11 02:26:37 UTC
Forwarding https://bugzilla.novell.com/show_bug.cgi?id=519191

Note that the user cannot share the PDF :/

======================

I ran evince and tried to search a text and it crashed:

Error: profile is unsuitable for input
Error: Can't create transform
Error: profile is unsuitable for input
Error: Can't create transform

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff0c26d25 in cmsDoTransform (Transform=0x0,
InputBuffer=0x7fffffffd550, OutputBuffer=0x7fffffffd530, Size=1)
    at cmsxform.c:1662
1662                p -> StrideIn = p -> StrideOut = Size;
(gdb) where
#0  0x00007ffff0c26d25 in cmsDoTransform (Transform=0x0,
InputBuffer=0x7fffffffd550, OutputBuffer=0x7fffffffd530, Size=1)
    at cmsxform.c:1662
#1  0x00007ffff114c12b in GfxICCBasedColorSpace::getRGB(GfxColor*, GfxRGB*) ()
from /usr/lib64/libpoppler.so.5
#2  0x00007ffff4ff4dc9 in CairoOutputDev::updateFillColor(GfxState*) () from
/usr/lib64/libpoppler-glib.so.4
#3  0x00007ffff1135a8d in Gfx::opSetFillColorSpace(Object*, int) () from
/usr/lib64/libpoppler.so.5
#4  0x00007ffff112a79d in Gfx::go(int) () from /usr/lib64/libpoppler.so.5
#5  0x00007ffff112e404 in Gfx::display(Object*, int) () from
/usr/lib64/libpoppler.so.5
#6  0x00007ffff1173b90 in Page::displaySlice(OutputDev*, double, double, int,
int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*, int
(*)(Annot*, void*), void*) () from /usr/lib64/libpoppler.so.5
#7  0x00007ffff4fec107 in ?? () from /usr/lib64/libpoppler-glib.so.4
#8  0x00007ffff4fec325 in ?? () from /usr/lib64/libpoppler-glib.so.4
#9  0x00007ffff4fed1eb in poppler_page_find_text () from
/usr/lib64/libpoppler-glib.so.4
#10 0x00007fffe57ec9c2 in ?? () from
/usr/lib64/evince/1/backends/libpdfdocument.so
#11 0x00007ffff757df11 in ?? () from /usr/lib64/libevview.so.1
#12 0x00007ffff3864bce in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#13 0x00007ffff38682a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#14 0x00007ffff3868705 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#15 0x00007ffff6b2d2d7 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#16 0x000000000043c264 in ?? ()
#17 0x00007ffff32d1a4d in __libc_start_main () from /lib64/libc.so.6
#18 0x000000000041c1d9 in ?? ()
#19 0x00007fffffffdf48 in ?? ()
#20 0x000000000000001c in ?? ()
#21 0x0000000000000002 in ?? ()
#22 0x00007fffffffe367 in ?? ()
#23 0x0000000000000000 in ?? ()

$ rpm -q ` rpmqpack|grep lcms` evince|sort
evince-2.27.1-1.11
lcms-debuginfo-1.18-1.12
lcms-debugsource-1.18-1.12
lcms-1.18-1.12
liblcms1-1.18-1.12
liblcms1-32bit-1.18-1.12
Comment 1 Albert Astals Cid 2009-08-11 03:30:54 UTC
You forgot the most important thing, the poppler version ;-) If it is poppler
0.11.0 sounds like a bug i fixed in 0.11.1
Comment 2 Vincent Untz 2009-08-11 03:43:41 UTC
(In reply to comment #1)
> You forgot the most important thing, the poppler version ;-) If it is poppler
> 0.11.0 sounds like a bug i fixed in 0.11.1

Argh. Asking downstream...
Comment 3 Jiri Slaby 2009-08-11 04:33:10 UTC
I'm not sure whether 0.11.1 fixed that (I think I tried it). Anyway after update with these versions:
evince-2.27.4-1.4
lcms-1.18-1.22
liblcms-devel-1.18-1.22
liblcms1-1.18-1.22
liblcms1-32bit-1.18-1.22
libpoppler-glib4-0.11.2-1.1
libpoppler-qt4-3-0.11.2-1.1
libpoppler5-0.11.2-1.1
poppler-tools-0.11.2-1.1
I cannot reproduce anymore. Thanks.


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.