Inkscape Crash importing PDFs

Fresh Leap 15.5 install
Inskcape crashes every time I try importing a PDF.
This is the output

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
Segmentation fault (core dumped)

The output is telling you were to file a bug.

I just checked my inkscape, downloaded some rendom pdf image and was able to import it on KDE.

Any suggestion on how to find whats is causing this behavior?
I placed the output just to show that there is not useful information on it.

Install debug and debugsource packages, examine core with gdb. If you run gdb, it will show you which packages are missing.

I have no idea how to read this output.
any help will be greatly appreciated

GNU gdb (GDB; SUSE Linux Enterprise 15) 13.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) file /usr/bin/inkscape
Reading symbols from /usr/bin/inkscape...
Reading symbols from /usr/lib/debug/usr/bin/inkscape-1.0.1-150400.9.3.2.x86_64.debug...
(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Missing separate debuginfo for /usr/lib64/libicuuc.so.73
Try: zypper install -C "debuginfo(build-id)=044dbf70f1dc7b1debbf8f80bbcba1d63f8825d3"
Missing separate debuginfo for /usr/lib64/libicudata.so.73
Try: zypper install -C "debuginfo(build-id)=aa515130c05287cc6a9bd9e35d765e337057cd1f"
[New Thread 0x7fffe39ff700 (LWP 22016)]
[New Thread 0x7fffe31fe700 (LWP 22017)]

(inkscape:22013): dbind-WARNING **: 11:25:47.980: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or th
e network connection was broken.
[New Thread 0x7fffe29fd700 (LWP 22018)]
[New Thread 0x7fffe21fc700 (LWP 22019)]
[New Thread 0x7fffe19fb700 (LWP 22020)]
[New Thread 0x7fffe11fa700 (LWP 22021)]
[New Thread 0x7fffe09f9700 (LWP 22022)]
[New Thread 0x7fffdbfff700 (LWP 22023)]
[New Thread 0x7fffdb7fe700 (LWP 22024)]
[New Thread 0x7fffdaffd700 (LWP 22025)]
[New Thread 0x7fffda7fc700 (LWP 22026)]
[New Thread 0x7fffd9ffb700 (LWP 22027)]
[New Thread 0x7fffd97fa700 (LWP 22028)]
[New Thread 0x7fffd8ff9700 (LWP 22029)]
[New Thread 0x7fffd3fff700 (LWP 22030)]
[New Thread 0x7fffd37fe700 (LWP 22031)]
[New Thread 0x7fffd2ffd700 (LWP 22032)]
[New Thread 0x7fffd27fc700 (LWP 22033)]
[Thread 0x7fffd27fc700 (LWP 22033) exited]
[New Thread 0x7fffd27fc700 (LWP 22034)]
[New Thread 0x7fffd1ffb700 (LWP 22035)]
[Thread 0x7fffd27fc700 (LWP 22034) exited]
[Thread 0x7fffd1ffb700 (LWP 22035) exited]
[New Thread 0x7fffd1ffb700 (LWP 22036)]
[New Thread 0x7fffd27fc700 (LWP 22037)]
[Thread 0x7fffd1ffb700 (LWP 22036) exited]
[Thread 0x7fffd27fc700 (LWP 22037) exited]
[New Thread 0x7fffd27fc700 (LWP 22038)]
[New Thread 0x7fffd1ffb700 (LWP 22039)]
[New Thread 0x7fffd0d5b700 (LWP 22041)]
[New Thread 0x7fffc3fff700 (LWP 22042)]
[Thread 0x7fffd0d5b700 (LWP 22041) exited]
[New Thread 0x7fffd0d5b700 (LWP 22043)]
[New Thread 0x7fffc37fe700 (LWP 22044)]
[Thread 0x7fffc3fff700 (LWP 22042) exited]
[Thread 0x7fffd0d5b700 (LWP 22043) exited]
[New Thread 0x7fffd0d5b700 (LWP 22045)]
[New Thread 0x7fffc3fff700 (LWP 22046)]
[Thread 0x7fffc37fe700 (LWP 22044) exited]
[Thread 0x7fffd0d5b700 (LWP 22045) exited]
[Thread 0x7fffc3fff700 (LWP 22046) exited]
[New Thread 0x7fffc3fff700 (LWP 22048)]
[New Thread 0x7fffd0d5b700 (LWP 22049)]
[New Thread 0x7fffc37fe700 (LWP 22050)]
[Thread 0x7fffd0d5b700 (LWP 22049) exited]
[Thread 0x7fffc37fe700 (LWP 22050) exited]
[New Thread 0x7fffc37fe700 (LWP 22051)]
[New Thread 0x7fffd0d5b700 (LWP 22052)]
[Thread 0x7fffc37fe700 (LWP 22051) exited]
[Thread 0x7fffd0d5b700 (LWP 22052) exited]
[Thread 0x7fffd27fc700 (LWP 22038) exited]
[New Thread 0x7fffd27fc700 (LWP 22055)]
[New Thread 0x7fffd0d5b700 (LWP 22056)]
[New Thread 0x7fffc37fe700 (LWP 22057)]
[New Thread 0x7fffa7fff700 (LWP 22058)]
[New Thread 0x7fffa77fe700 (LWP 22059)]
[New Thread 0x7fffa6ffd700 (LWP 22060)]
[Thread 0x7fffa6ffd700 (LWP 22060) exited]
[Thread 0x7fffa77fe700 (LWP 22059) exited]
[New Thread 0x7fffa77fe700 (LWP 22061)]
[New Thread 0x7fffa6ffd700 (LWP 22062)]
[Thread 0x7fffa77fe700 (LWP 22061) exited]
[Thread 0x7fffa6ffd700 (LWP 22062) exited]
[New Thread 0x7fffa6ffd700 (LWP 22068)]
[New Thread 0x7fffa77fe700 (LWP 22069)]
[Thread 0x7fffa6ffd700 (LWP 22068) exited]
[New Thread 0x7fffa6ffd700 (LWP 22070)]
[Thread 0x7fffa77fe700 (LWP 22069) exited]
[New Thread 0x7fffa77fe700 (LWP 22071)]
[Thread 0x7fffa77fe700 (LWP 22071) exited]
[Thread 0x7fffa6ffd700 (LWP 22070) exited]
[New Thread 0x7fffa6ffd700 (LWP 22072)]
[New Thread 0x7fffa77fe700 (LWP 22073)]
[Thread 0x7fffa6ffd700 (LWP 22072) exited]
[Thread 0x7fffa77fe700 (LWP 22073) exited]
[New Thread 0x7fffa77fe700 (LWP 22074)]
[New Thread 0x7fffa6ffd700 (LWP 22075)]
[Thread 0x7fffa77fe700 (LWP 22074) exited]
[Thread 0x7fffa6ffd700 (LWP 22075) exited]
[Thread 0x7fffd0d5b700 (LWP 22056) exited]
[Thread 0x7fffd1ffb700 (LWP 22039) exited]
[Thread 0x7fffc37fe700 (LWP 22057) exited]
free(): invalid pointer

Thread 1 "inkscape" received signal SIGABRT, Aborted.
__GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 }
Missing separate debuginfos, use: zypper install gdk-pixbuf-loader-rsvg-debuginfo-2.52.10-150400.3.6.1.x86_64 gsettings-backend-dconf-debuginfo-0.40.0-150400.3.3.2.x86_64 gvfs-debuginfo-1.48.2-150400.4.6.1.x86_64 ibus-gtk3-debuginfo-1.5.25-150400.3.3.1.x86_64 kde-gtk-co
nfig5-debuginfo-5.27.9-bp155.2.3.1.x86_64 krb5-debuginfo-1.20.1-150500.3.9.1.x86_64 libFLAC8-debuginfo-1.3.2-150000.3.14.1.x86_64 libX11-6-debuginfo-1.6.5-150000.3.33.1.x86_64 libXau6-debuginfo-1.0.8-1.26.x86_64 libXcomposite1-debuginfo-0.4.4-1.23.x86_64 libXcursor1-deb
uginfo-1.1.15-1.18.x86_64 libXdamage1-debuginfo-1.1.4-1.23.x86_64 libXext6-debuginfo-1.3.3-1.30.x86_64 libXfixes3-debuginfo-6.0.0-150400.1.4.x86_64 libXi6-debuginfo-1.7.9-3.2.1.x86_64 libXinerama1-debuginfo-1.1.3-1.22.x86_64 libXrandr2-debuginfo-1.5.1-2.17.x86_64 libXre
nder1-debuginfo-0.9.10-1.30.x86_64 libasound2-debuginfo-1.2.8-150500.1.1.x86_64 libatk-1_0-0-debuginfo-2.36.0-150400.2.9.x86_64 libatk-bridge-2_0-0-debuginfo-2.38.0-150400.1.9.x86_64 libatkmm-1_6-1-debuginfo-2.28.3-150400.4.6.1.x86_64 libblkid1-debuginfo-2.37.4-150500.9
.11.1.x86_64 libbrotlicommon1-debuginfo-1.0.7-3.3.1.x86_64 libbrotlidec1-debuginfo-1.0.7-3.3.1.x86_64 libcairo-gobject2-debuginfo-1.16.0-150400.11.3.1.x86_64 libcairo2-debuginfo-1.16.0-150400.11.3.1.x86_64 libcairomm-1_0-1-debuginfo-1.12.2-150400.12.9.x86_64 libcanberra
-gtk3-module-debuginfo-0.30-150400.15.2.2.x86_64 libcanberra0-debuginfo-0.30-150400.15.2.2.x86_64 libcap2-debuginfo-2.63-150400.3.3.1.x86_64 libcurl4-debuginfo-8.0.1-150400.5.44.1.x86_64 libdatrie1-debuginfo-0.2.9-1.25.x86_64 libdouble-conversion3-debuginfo-3.1.5-3.2.1.
x86_64 libenchant-2-2-debuginfo-2.2.15-150400.1.9.x86_64 libepoxy0-debuginfo-1.5.10-150500.1.2.x86_64 libexpat1-debuginfo-2.4.4-150400.3.17.1.x86_64 libffi7-debuginfo-3.2.1.git259-10.8.x86_64 libfontconfig1-debuginfo-2.13.1-150400.1.4.x86_64 libfreetype6-debuginfo-2.10.
4-150000.4.15.1.x86_64 libgc1-debuginfo-7.6.4-1.16.x86_64 libgcc_s1-debuginfo-13.3.0+git8781-150000.1.12.1.x86_64 libgcrypt20-debuginfo-1.9.4-150500.10.19.x86_64 libgdk_pixbuf-2_0-0-debuginfo-2.42.12-150400.5.9.1.x86_64 libgdl-3-5-debuginfo-3.34.0-1.65.x86_64 libgio-2_0
-0-debuginfo-2.70.5-150400.3.11.1.x86_64 libgiomm-2_4-1-debuginfo-2.66.2-150400.1.12.x86_64 libglib-2_0-0-debuginfo-2.70.5-150400.3.11.1.x86_64 libglibmm-2_4-1-debuginfo-2.66.2-150400.1.12.x86_64 libgmodule-2_0-0-debuginfo-2.70.5-150400.3.11.1.x86_64 libgobject-2_0-0-de
buginfo-2.70.5-150400.3.11.1.x86_64 libgomp1-debuginfo-13.3.0+git8781-150000.1.12.1.x86_64 libgraphite2-3-debuginfo-1.3.11-150000.4.3.1.x86_64 libgslcblas0-debuginfo-2.6-150200.3.4.3.x86_64 libgtk-3-0-debuginfo-3.24.34-150400.3.6.1.x86_64 libgtkmm-3_0-1-debuginfo-3.24.6
-150400.3.3.1.x86_64 libgtkspell3-3-0-debuginfo-3.0.10-150400.11.2.2.x86_64 libharfbuzz0-debuginfo-3.4.0-150400.3.8.1.x86_64 libibus-1_0-5-debuginfo-1.5.25-150400.3.3.1.x86_64 libjbig2-debuginfo-2.1-150000.3.5.1.x86_64 libjitterentropy3-debuginfo-3.4.1-150000.1.12.1.x86
_64 libjpeg8-debuginfo-8.2.2-150400.15.9.x86_64 libkeyutils1-debuginfo-1.6.3-5.6.1.x86_64 liblcms2-2-debuginfo-2.12-150400.1.10.x86_64 libltdl7-debuginfo-2.4.6-150000.3.8.1.x86_64 libmount1-debuginfo-2.37.4-150500.9.11.1.x86_64 libogg0-debuginfo-1.3.2-150000.3.4.1.x86_6
4 libpango-1_0-0-debuginfo-1.50.4-150400.1.5.x86_64 libpangomm-1_4-1-debuginfo-2.46.2-150400.1.6.x86_64 libpcre1-debuginfo-8.45-150000.20.13.1.x86_64 libpng16-16-debuginfo-1.6.34-3.9.1.x86_64 libpoppler-glib8-debuginfo-23.01.0-150500.3.11.1.x86_64 libpoppler117-debuginf
o-22.01.0-150400.3.3.1.x86_64 libpoppler126-debuginfo-23.01.0-150500.3.11.1.x86_64 libpotrace0-debuginfo-1.16-150400.1.5.x86_64 libpsl5-debuginfo-0.20.1-150000.3.3.1.x86_64 librevenge-0_0-0-debuginfo-0.0.4-1.30.x86_64 librevenge-stream-0_0-0-debuginfo-0.0.4-1.30.x86_64
libsigc-2_0-0-debuginfo-2.10.7-150400.3.3.1.x86_64 libsoup-2_4-1-debuginfo-2.74.2-150400.1.6.x86_64 libsqlite3-0-debuginfo-3.44.0-150000.3.23.1.x86_64 libstdc++6-debuginfo-13.3.0+git8781-150000.1.12.1.x86_64 libthai0-debuginfo-0.1.29-150400.1.4.x86_64 libuuid1-debuginfo
-2.37.4-150500.9.11.1.x86_64 libvisio-0_1-1-debuginfo-0.1.6-150200.8.3.1.x86_64 libvorbisfile3-debuginfo-1.3.6-150000.4.5.2.x86_64 libwayland-cursor0-debuginfo-1.21.0-150500.1.1.x86_64 libwpd-0_10-10-debuginfo-0.10.2-3.3.1.x86_64 libwpg-0_3-3-debuginfo-0.3.2-1.27.x86_64
libxcb-render0-debuginfo-1.13-150000.3.9.1.x86_64 libxcb-shm0-debuginfo-1.13-150000.3.9.1.x86_64 libxcb1-debuginfo-1.13-150000.3.9.1.x86_64 libxkbcommon0-debuginfo-1.3.0-150400.3.5.1.x86_64 libxml2-2-debuginfo-2.10.3-150500.5.17.1.x86_64 mozilla-nss-debuginfo-3.90.2-15
0400.3.39.1.x86_64
(gdb)

To get meaningful stack trace you need to install debuginfo packages. gdb even tells you the exact zypper invocation to do it. To examine sources using gdb it is advisable to also install corresponding debugsource packages.

I tried installing each file
The output I get is this

Thread 1 "inkscape" received signal SIGSEGV, Segmentation fault.
GlobalParams::mapNameToUnicodeText (this=0x0, charName=charName@entry=0x7ffff251b969 "space") at /usr/src/debug/poppler-22.01.0-150400.3.3.1.x86_64/poppler/GlobalParams.cc:599
599     /usr/src/debug/poppler-22.01.0-150400.3.3.1.x86_64/poppler/GlobalParams.cc: No such file or directory.
Missing separate debuginfos, use: zypper install kde-gtk-config5-debuginfo-5.27.9-bp155.2.3.1.x86_64

Does this explain why Inkscape crashes every time I try to import or open a PDF?

That last dependency is installed on a more recent version and the one it calls for its not found by yast.

when installing that dependency I get this option in yast

the to be installed patch:openSUSE-2023-364-1.noarch conflicts with 'kde-gtk-config5-debugsource.x86_64 < 5.27.9-bp155.2.3.1' provided by the installed kde-gtk-config5-debugsource-5.27.4-bp155.1.5.x86_64

    [ ] Following actions will be done:
deinstallation of kde-gtk-config5-debugsource-5.27.4-bp155.1.5.x86_64
deinstallation of kde-gtk-config5-debuginfo-5.27.4-bp155.1.5.x86_64
    [ ] do not install patch:openSUSE-2023-364-1.noarch

Any more ideas?

I have poppler 23.01 installed in Leap 15.5. Perhaps you need to upgrade poppler. Inkscape imports PDFs fine if a little slowly.

I have those libraries. still can´t import PDFs

I have just tried again entering ‘inkscape’ on the command line; I then selected a different PDF to import and was given an option to use Poppler/Cairo or Inkscape’s own Poppler based import. Inkscape’s import was incomplete and generated a long string of errors in the console but when I selected Poppler/Cairo the import was fine and no errors were reported in the console.
Perhaps you could try entering ‘inkscape’ in the command line and then looking for errors in the console at each stage in your attempt to import a PDF.

Thank you. But that’s the first thing I did. No matter what option, the program crashes and there is no info explaining what happened. I tried debugging and this is the output:

Thread 1 "inkscape" received signal SIGSEGV, Segmentation fault.
GlobalParams::mapNameToUnicodeText (this=0x0, charName=charName@entry=0x7ffff251b969 "space") at /usr/src/debug/poppler-22.01.0-150400.3.3.1.x86_64/poppler/GlobalParams.cc:599
599     /usr/src/debug/poppler-22.01.0-150400.3.3.1.x86_64/poppler/GlobalParams.cc: No such file or directory.
Missing separate debuginfos, use: zypper install kde-gtk-config5-debuginfo-5.27.9-bp155.2.3.1.x86_64

Inkscape for Leap 15.5 from openSUSE repo is outdated, not available for Leap 15.6. Try to use appimage file from devs:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.