Crashes when trying to edit text

Bug #1788977 reported by Haxoc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned

Bug Description

Inkscape 0.92.3 (2405546, 2018-03-11)
Mate 1.20.2
Fedora 28, up to date as of Fri Aug 24, 19:25 PST
4.17.17-200.fc28.x86_64

Error message:
Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:
        /home/user/New document 1.2018_08_24_19_26_42.0.svg

how to reproduce:
1. click on 'create and edit text objects' capital A on the right side
2. click on the blank canvas
3. type any letter
4. press escape
5. double click on the letter
6. There should be an error, if there isn't, press escape and double click again

Revision history for this message
Haxoc (haxoc112) wrote :
Revision history for this message
Hachmann (marenhachmann) wrote :

This is a known issue in Fedora... :-/

See here for one of our duplicates, please:
https://bugs.launchpad.net/inkscape/+bug/1778356

Revision history for this message
Hachmann (marenhachmann) wrote :
Revision history for this message
Jondale (jondales) wrote :

Able to reproduce in Fedora 28. The following is the error in the console when it happens:

/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.

Revision history for this message
Nathan Lee (nathan.lee) wrote :

Closing as a fix has been committed in 1.0alpha

Note version 0.92.4 in Fedora 28 and 29 (from dnf) doesn't have a crash opening this file (perhaps Fix Released is more appropriate); however, I am unsure if a commit was actually added to fix it in 0.92.x.

The commit that fixed it https://gitlab.com/inkscape/inkscape/merge_requests/488

My decision explained in the last three comments in https://bugs.launchpad.net/inkscape/+bug/1768958/ (not the most succinct)

Changed in inkscape:
status: New → Fix Committed
Max Gaukler (mgmax)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.