Re: [Gimp-user] Importing PDF into Gimp 2.8.18
- From: Simon Budig <simon budig de>
- To: gimp-user-list gnome org
- Subject: Re: [Gimp-user] Importing PDF into Gimp 2.8.18
- Date: Fri, 21 Oct 2016 10:49:37 +0200
Hi all.
Liam R. E. Quin (liam holoweb net) wrote:
On Thu, 2016-10-20 at 22:59 -0400, David Corbitt wrote:
https://filebin.net/vi1uxshq2x85hxwn/North_by_Northwest__1959_.pdf
This made GIMP (2.9)'s pdf loader crash for me on Linux, but I could
open the document ith eveince, print to a PDF file, and then open the
PDF file.
The stack trace wasn't useful.
Yeah, the crash is in file-pdf-load, and the stack trace is from gimp.
you can start gimp like this:
GIMP_PLUGIN_DEBUG=file-pdf-load Gimp North_by_Northwest__1959_.pdf
and then attach a gdb to the process when gimp halts the execution of
the plugin on startup.
which gives this stacktrace after the crash:
[...]
(gdb) cont
Continuing.
[New Thread 0x7f3e29cb9700 (LWP 15440)]
[New Thread 0x7f3e294b8700 (LWP 15441)]
[New Thread 0x7f3e23fff700 (LWP 15442)]
Thread 4 "thumbnailer" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f3e23fff700 (LWP 15442)]
0x00007f3e32a77f20 in cmsGetColorSpace ()
from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
(gdb) bt
#0 0x00007f3e32a77f20 in cmsGetColorSpace ()
at /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#1 0x00007f3e30468ef8 in GfxICCBasedColorSpace::parse(Array*,
OutputDev*, GfxState*, int) () at
/usr/lib/x86_64-linux-gnu/libpoppler.so.61
#2 0x00007f3e30468412 in GfxColorSpace::parse(GfxResources*, Object*,
OutputDev*, GfxState*, int) () at
/usr/lib/x86_64-linux-gnu/libpoppler.so.61
#3 0x00007f3e3048e332 in Page::loadThumb(unsigned char**, int*, int*,
int*) ()
at /usr/lib/x86_64-linux-gnu/libpoppler.so.61
#4 0x00007f3e34e5c3e9 in poppler_page_get_thumbnail ()
at /usr/lib/x86_64-linux-gnu/libpoppler-glib.so.8
#5 0x0000000000403fe4 in get_thumb_surface (doc=<optimized out>,
page_num=page_num@entry=0, preferred_size=preferred_size@entry=128) at
file-pdf-load.c:963
#6 0x0000000000404681 in thumbnail_thread (preferred_size=128,
page_num=0, doc=<optimized out>) at file-pdf-load.c:994
#7 0x0000000000404681 in thumbnail_thread (data=0x7ffca5545260)
at file-pdf-load.c:1048
#8 0x00007f3e345ac325 in g_thread_proxy (data=0x215bc50)
at ././glib/gthread.c:784
#9 0x00007f3e33da5464 in start_thread (arg=0x7f3e23fff700)
at pthread_create.c:333
#10 0x00007f3e33ae89df in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
So it seems that this is a) something in libpoppler, maybe related to
getting thumbnails, and b) might be related to a unusual color space
specification in this specific PDF.
Bye,
Simon
--
simon budig de http://simon.budig.de/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]