Crash when resizing text

Bug #1794190 reported by Kiren Pillay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Steps

1. Remove text from path.
2.Select text box, try and select everything by using mouse pointer, and the applicatin crashes with below error message.

/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
Kiren Pillay (kirenpillay1) wrote :
Revision history for this message
Kiren Pillay (kirenpillay1) wrote :

Versions: Inkscape 0.92.3 (2405546, 2018-03-11)

Fedora 28: Linux localhost.localdomain 4.18.9-200.fc28.x86_64
Running Gnome.

Revision history for this message
Alvin Penner (apenner) wrote :

- not reproduced on Windows 10, Inkscape 0.92.3 (2405546, 2018-03-11)
- not exactly sure what 'Remove text from path' means. I used the following steps:
- select the text 'Vegan'
- click on Text Tool F8
- use the mouse to select all the text
- hit Delete, text disappears, no crash.

is it possible that this is related to other text bugs that are specifically Fedora 28?
see : https://bugs.launchpad.net/inkscape/+bug/1768958

Revision history for this message
Mc (mc...) wrote :

My thoughts too, we have a dozen bugs like this, with the same backtrace, only in fedora, when manipulating text in various ways.
They are not present when compiling Inkscape, so I guess they are related to the default compiler options fedora packagers use...

Revision history for this message
mray (mrayyyy) wrote :

Closing because can't be replicated on Inkscape 1.0alpha.
I can remove the text from the path and select it without crash.

Closed by: https://gitlab.com/mray

tags: added: bug-migration
Changed in inkscape:
status: New → Invalid
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.