Inkscape.org
Beyond the Basics Inkscape crashed with Centos 8 only while editing text
  1. #1
    Craig Coleman Craig Coleman @cwc1885

    Inkscape crashed with Centos 8 only while editing text

    Installed with dnf install inscape

    From command line:

    $ inkscape 

    Gtk-Message: 15:34:56.340: Failed to load module "canberra-gtk-module"
    /usr/include/c++/8/bits/stl_vector.h:950: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = Inkscape::Text::Layout::Character; _Alloc = std::allocator<Inkscape::Text::Layout::Character>; std::vector<_Tp, _Alloc>::const_reference = const Inkscape::Text::Layout::Character&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.

    Emergency save activated!
    Emergency save completed. Inkscape will close now.
    If you can reproduce this crash, please file a bug at www.inkscape.org
    with a detailed description of the steps leading to the crash, so we can fix it.
    Aborted (core dumped)
    [cwc@8 ~]$ 
     

    Not sure if canberra-gtk-module is the problem.

    I checked ldd /usr/bin/inkscape  and everything is there.

    Please throw me a bone.

     

  2. #2
    Nathan Lee Nathan Lee @ainsleo

    It's been a while, but I think this is with 0.92.4, right? (posted on April).

    I'm not sure about CentOS 8 but it does happen with Fedora. In these versions, -D_GLIBCXX_ASSERTIONS was enabled in the build, causing crashes on certain (simple) operations like https://gitlab.com/inkscape/inbox/-/issues/397

    This isn't the same issue at all, but I don't care to trawl through the bug tracker to track it (if you're interested, remember to check our legacy tracker on launchpad https://bugs.launchpad.net/inkscape). The bugs (at least for issues we've identified) have been fixed in 0.92.5/1.0. If there are egregious issues still present there, please report them at https://inkscape.org/report (and you might want to open an issue to disable _GLIBCXX_ASSERTIONS for Inkscape in the CentOS bug tracker)

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Inkscape crashed with Centos 8 only while editing text