crash inkscape with emtpy tspan on Fedora

Bug #1812426 reported by Florian Ludwig
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned

Bug Description

The attached file crashes inkscape. The file was created in inkscape (with an older version) and edited by hand for this bug report to reduce the file size by removing everything that was not related to the crash.

Tested version:
Inkscape 0.92.4 5da689c313, 2019-01-14

Error message:
/usr/include/c++/8.2.0/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
Florian Ludwig (vierzigundzwei) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

crash not reproduced on Windows 10, Inkscape 0.92.4 (5da689c313, 2019-01-14)

- could you indicate which OS?

I can see there is a scaling problem of some sort. I have to zoom in to 1% to see the image. The page size is 2303. cm wide, and the scale is .1 in the Document Properties, both of which are non-standard values, probably related to the fact that this was a legacy file.

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

are you by any chance running Fedora?

Changed in inkscape:
status: New → Incomplete
Revision history for this message
Florian Ludwig (vierzigundzwei) wrote :

@Alvin, indeed I am running fedora but I use inkscape from flathub so it's not really fedora.

Revision history for this message
Alvin Penner (apenner) wrote :
Changed in inkscape:
status: Incomplete → New
Bryce Harrington (bryce)
summary: - crash inkscape with emtpy tspan
+ crash inkscape with emtpy tspan on Fedora
Revision history for this message
Nathan Lee (nathan.lee) wrote :

Florian, are you still having the issue? Could you post what version of Fedora you are on?

Could you say when the original file was made?

In Fedora 29, my current flatpak version doesn't crash.

The version says 0.92.4 5da689c313, 2019-01-14. I'm very confused but I downgraded to an earlier version of Inkscape in flatpak (with a date around 2019-01-18) and the version info in the About is exactly the same. Anyway, I did replicate your errors there, but not in the latest flatpak.

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

Okay, looks like it was fixed and the fix mentioned here: https://github.com/flathub/org.inkscape.Inkscape/issues/30

Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

As this has been backported to 0.92.x in https://gitlab.com/inkscape/inkscape/merge_requests/647, seems this is 'fix committed'.

Changed in inkscape:
status: New → Fix Released
status: Fix Released → Fix Committed
milestone: none → 0.92.5
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.