Trying to open a certain pdf with default settings causes crash

Summary:

Opening the "Doctoral Candidacy Petition" pdf downloadable from https://graduate.rice.edu/academics/forms in Inkscape with default settings causes a crash. I've also attached the relevant pdf here.

DoctoralCandidacyPetitionForm.pdf

Steps to reproduce:

My system is Gnome on NixOS. Assuming the pdf is on your system

  • right click DoctoralCandidacyPetitionForm.pdf in Files -> Open With -> Inkscape -> Open
  • dialog called PDF Import Settings pops up, with all settings default hit Ok in the lower right
  • dialog called Inkscape has crashed and will now close pops up, it tells me if I can reproduce this error to file a bug report and include the backtrace

Heres the backtrace

<pre>
 0# Inkscape::Application::crash_handler(int) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
 1# 0x00007F07DE241470 in /nix/store/vbrdc5wgzn0w1zdp10xd2favkjn5fk7y-glibc-2.40-66/lib/libc.so.6
 2# sp_repr_css_attr(Inkscape::XML::Node const*, char const*) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
 3# sp_repr_css_change(Inkscape::XML::Node*, SPCSSAttr*, char const*) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
 4# Inkscape::Extension::Internal::SvgBuilder::_setTextStyle(Inkscape::XML::Node*, GfxState*, SPCSSAttr*, Geom::Affine) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
 5# Inkscape::Extension::Internal::SvgBuilder::_flushTextPath(GfxState*, double, Geom::Affine const&) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
 6# Inkscape::Extension::Internal::SvgBuilder::_flushText(GfxState*) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
 7# Inkscape::Extension::Internal::SvgBuilder::endTextObject(GfxState*) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
 8# PdfParser::go(bool) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
 9# PdfParser::parse(Object*, bool) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
10# Inkscape::Extension::Internal::PdfInput::add_builder_page(std::shared_ptr<PDFDoc>, Inkscape::Extension::Internal::SvgBuilder*, SPDocument*, int) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
11# Inkscape::Extension::Internal::PdfInput::open(Inkscape::Extension::Input*, char const*, bool) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
12# Inkscape::Extension::open(Inkscape::Extension::Extension*, char const*, bool) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
13# ink_file_open(Glib::RefPtr<Gio::File> const&, bool*) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
14# InkscapeApplication::document_open(Glib::RefPtr<Gio::File> const&, bool*) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
15# InkscapeApplication::on_open(std::vector<Glib::RefPtr<Gio::File>, std::allocator<Glib::RefPtr<Gio::File> > > const&, Glib::ustring const&) in /nix/store/msziyay4kmapcbpfhvdnnprx8n20y41r-inkscape-1.4/bin/../lib/inkscape/libinkscape_base.so.1.4.0.0
16# 0x00007F07DFB07737 in /nix/store/3acaaxj96g4rqv0d8qz4zi9fh7sqgwh8-glibmm-2.66.7/lib/libgiomm-2.4.so.1
17# g_closure_invoke in /nix/store/yxyncg0y2b39kjgi4c52w74c4w1za7pg-glib-2.82.5/lib/libgobject-2.0.so.0
18# 0x00007F07E1405C7D in /nix/store/yxyncg0y2b39kjgi4c52w74c4w1za7pg-glib-2.82.5/lib/libgobject-2.0.so.0
19# 0x00007F07E1407389 in /nix/store/yxyncg0y2b39kjgi4c52w74c4w1za7pg-glib-2.82.5/lib/libgobject-2.0.so.0
20# g_signal_emit_valist in /nix/store/yxyncg0y2b39kjgi4c52w74c4w1za7pg-glib-2.82.5/lib/libgobject-2.0.so.0
21# g_signal_emit in /nix/store/yxyncg0y2b39kjgi4c52w74c4w1za7pg-glib-2.82.5/lib/libgobject-2.0.so.0
22# 0x00007F07DECF5A0C in /nix/store/yxyncg0y2b39kjgi4c52w74c4w1za7pg-glib-2.82.5/lib/libgio-2.0.so.0
23# g_application_run in /nix/store/yxyncg0y2b39kjgi4c52w74c4w1za7pg-glib-2.82.5/lib/libgio-2.0.so.0
24# main in /run/current-system/sw/bin/inkscape
25# 0x00007F07DE22A47E in /nix/store/vbrdc5wgzn0w1zdp10xd2favkjn5fk7y-glibc-2.40-66/lib/libc.so.6
26# __libc_start_main in /nix/store/vbrdc5wgzn0w1zdp10xd2favkjn5fk7y-glibc-2.40-66/lib/libc.so.6
27# _start in /run/current-system/sw/bin/inkscape
</pre>
<details><summary>System info</summary>
Inkscape 1.4 (e7c3feb100, 2024-10-09)

                      Compile  (Run)
    GLib version:     2.82.5
    GTK version:      3.24.49 (3.24.49)
    glibmm version:   2.66.7
    gtkmm version:    3.24.9
    libxml2 version:  2.13.6
    libxslt version:  1.1.43
    Cairo version:    1.18.2 (1.18.2)
    Pango version:    1.56.2 (1.56.2)
    HarfBuzz version: 10.2.0 (10.2.0)

    OS version:       NixOS 25.05 (Warbler)
</details>

Version info

Inkscape 1.4 (e7c3feb100, 2024-10-09)

                      Compile  (Run)
    GLib version:     2.82.5
    GTK version:      3.24.49 (3.24.49)
    glibmm version:   2.66.7
    gtkmm version:    3.24.9
    libxml2 version:  2.13.6
    libxslt version:  1.1.43
    Cairo version:    1.18.2 (1.18.2)
    Pango version:    1.56.2 (1.56.2)
    HarfBuzz version: 10.2.0 (10.2.0)

    OS version:       NixOS 25.05 (Warbler)

Urgency

This is not an urgent issue for me. I can make text boxes on a pdf using other programs. But Inkscape requested I report the bug so I did :)