Bug#816494: inkscape: crash when reading PDF with 'import via Poppler' ticked
Edward Betts
edward at 4angle.com
Wed Mar 2 10:53:32 UTC 2016
Package: inkscape
Version: 0.91-7+b1
Severity: normal
Loading a PDF, if I tick the 'import via Poppler' box then inkscape crashes.
I rebuilt inkscape with debugging symbols and was able to reproduce the crash.
The PDF that caused the crash is available here:
http://static.halifax.co.uk/assets/pdf/creditcards/pdf/additional-card-request.pdf
Here is the backtrace from gdb:
Core was generated by `inkscape additional_card_request.pdf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f6c18f69075 in has_case_prefix (haystack=haystack at entry=0x0, needle=needle at entry=0x7f6c18fd13c4 "file:/") at /build/glib2.0-2.46.2/./glib/gconvert.c:1267
1267 /build/glib2.0-2.46.2/./glib/gconvert.c: No such file or directory.
[Current thread is 1 (Thread 0x7f6c21524ac0 (LWP 12292))]
(gdb) bt
#0 0x00007f6c18f69075 in has_case_prefix (haystack=haystack at entry=0x0, needle=needle at entry=0x7f6c18fd13c4 "file:/") at /build/glib2.0-2.46.2/./glib/gconvert.c:1267
#1 0x00007f6c18f6a4a2 in g_filename_from_uri (uri=uri at entry=0x0, hostname=hostname at entry=0x0, error=error at entry=0x7ffe93a11240) at /build/glib2.0-2.46.2/./glib/gconvert.c:1563
#2 0x00007f6c1984240f in poppler_document_new_from_file(char const*, char const*, GError**) (uri=0x0, password=0x0, error=0x7ffe93a11240) at poppler-document.cc:179
#3 0x00005605e2323ae5 in Inkscape::Extension::Internal::PdfInput::open(Inkscape::Extension::Input*, char const*) (this=0x5605e40a1d20, uri=0x5605e43635d0 "additional_card_request.pdf")
at extension/internal/pdfinput/pdf-input.cpp:838
#4 0x00005605e22d2d27 in Inkscape::Extension::Input::open(char const*) (this=0x5605e40b29d0, uri=0x5605e43635d0 "additional_card_request.pdf") at extension/input.cpp:153
#5 0x00005605e22d014d in Inkscape::Extension::open(Inkscape::Extension::Extension*, char const*) (key=0x0, filename=0x5605e43635d0 "additional_card_request.pdf") at extension/system.cpp:117
#6 0x00005605e200a8c2 in sp_file_open(Glib::ustring const&, Inkscape::Extension::Extension*, bool, bool) (uri=..., key=0x0, add_to_recent=true, replace_empty=true) at file.cpp:276
#7 0x00005605e1f76eb6 in sp_main_gui(int, char const**) (argc=2, argv=0x7ffe93a11788) at main.cpp:1065
#8 0x00005605e1f7646a in main(int, char**) (argc=2, argv=0x7ffe93a11788) at main.cpp:789
(gdb)
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages inkscape depends on:
ii gconf-service 3.2.6-3
ii libaspell15 0.60.7~20110707-3+b1
ii libatk1.0-0 2.18.0-1
ii libatkmm-1.6-1v5 2.24.2-1
ii libc6 2.21-9
ii libcairo2 1.14.6-1
ii libcairomm-1.0-1v5 1.12.0-1
ii libcdr-0.1-1 0.1.2-2
ii libexif12 0.6.21-2
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.6.3-3
ii libgc1c2 1:7.4.2-7.3
ii libgcc1 1:5.3.1-10
ii libgconf-2-4 3.2.6-3
ii libgdk-pixbuf2.0-0 2.32.3-1.2
ii libglib2.0-0 2.46.2-3
ii libglibmm-2.4-1v5 2.46.3-1
ii libgnomevfs2-0 1:2.24.4-6.1+b1
ii libgomp1 5.3.1-10
ii libgsl2 2.1+dfsg-2
ii libgtk2.0-0 2.24.29-1
ii libgtkmm-2.4-1v5 1:2.24.4-2+b1
ii libgtkspell0 2.0.16-1.1
ii libjpeg62-turbo 1:1.4.2-2
ii liblcms2-2 2.6-3+b3
ii libmagick++-6.q16-5v5 8:6.8.9.9-7+b1
ii libmagickcore-6.q16-2 8:6.8.9.9-7+b1
ii libmagickwand-6.q16-2 8:6.8.9.9-7+b1
ii libpango-1.0-0 1.38.1-1
ii libpangocairo-1.0-0 1.38.1-1
ii libpangoft2-1.0-0 1.38.1-1
ii libpangomm-1.4-1v5 2.38.1-1
ii libpng12-0 1.2.54-4
ii libpoppler-glib8 0.38.0-2
ii libpoppler57 0.38.0-2
ii libpopt0 1.16-10
ii librevenge-0.0-0 0.0.4-4
ii libsigc++-2.0-0v5 2.6.2-1
ii libstdc++6 5.3.1-10
ii libvisio-0.1-1 0.1.5-1
ii libwpg-0.3-3 0.3.1-1
ii libx11-6 2:1.6.3-1
ii libxml2 2.9.3+dfsg1-1
ii libxslt1.1 1.1.28-2.1
pn python:any <none>
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages inkscape recommends:
ii aspell 0.60.7~20110707-3+b1
ii imagemagick 8:6.8.9.9-7+b1
ii libgnomevfs2-extra 1:2.24.4-6.1+b1
ii libimage-magick-perl 8:6.8.9.9-7
ii libwmf-bin 0.2.8.4-10.5
ii pstoedit 3.70-1
ii python-lxml 3.5.0-1
ii python-numpy 1:1.11.0~b3-1
ii transfig 1:3.2.5.e-5
Versions of packages inkscape suggests:
ii dia 0.97.3-1
pn libsvg-perl <none>
pn libxml-xql-perl <none>
pn python-uniconvertor <none>
ii ruby 1:2.3~1
-- no debconf information
--
Edward.
More information about the pkg-multimedia-maintainers
mailing list