Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 1817150[details]
print_here.svg
Sample print_here.svg file crashes inkscape.
Crash starts at:
#27 0x00007f5e582f5d83 in std::vector<Inkscape::Text::Layout::Character, std::allocator<Inkscape::Text::Layout::Character> >::operator[] (this=<optimized out>, __n=<optimized out>) at /usr/include/c++/8/bits/stl_vector.h:805
#28 0x00007f5e582f09fe in Inkscape::Text::Layout::iterator::iterator (c=<optimized out>, p=0x55ea87e1d310, this=0x7ffc3a022b00) at /usr/src/debug/inkscape-0.92.3-13.module+el8.4.0+9084+d4695395.x86_64/src/libnrtype/Layout-TNG.h:1057
#29 Inkscape::Text::Layout::sourceToIterator (this=this@entry=0x55ea87e1d310, source_cookie=source_cookie@entry=0x55ea86561e30)
at /usr/src/debug/inkscape-0.92.3-13.module+el8.4.0+9084+d4695395.x86_64/src/libnrtype/Layout-TNG-OutIter.cpp:185
#30 0x00007f5e582b19d0 in SPText::rebuildLayout (this=0x55ea87e1d0a0) at /usr/src/debug/inkscape-0.92.3-13.module+el8.4.0+9084+d4695395.x86_64/src/sp-text.cpp:641
Verifying available information, we see the problems as source code at:
175 if (_characters.empty()) return end();
176 for (source_index = 0 ; source_index < _input_stream.size() ; source_index++)
177 if (_input_stream[source_index]->source_cookie == source_cookie) break;
178 if (source_index == _input_stream.size()) return end();
179
180 unsigned char_index = _sourceToCharacter(source_index);
181
182 if (_input_stream[source_index]->Type() != TEXT_SOURCE)
183 return iterator(this, char_index);
(gdb) frame
#29 Inkscape::Text::Layout::sourceToIterator (this=this@entry=0x55ea87e1d310, source_cookie=source_cookie@entry=0x55ea86561e30)
at /usr/src/debug/inkscape-0.92.3-13.module+el8.4.0+9084+d4695395.x86_64/src/libnrtype/Layout-TNG-OutIter.cpp:185
185 return iterator(this, char_index);
Problem appears to be known, and fixed on newer versions of inkspace.
A bug report for fedora, with a possible patch:
https://bugzilla.redhat.com/show_bug.cgi?id=1575842#c12
[Inkscape crashes when hitting ENTER on text input]
Problem can also be reproduced in the description of the above bug report.
Tested both the attached image and the reproducer in Fedora bug
1) Open new document
2) Select Text Tool (F8)
3) Click on empty canvas
4) Hit ENTER
no crash
inkscape-0.92.3-16.module+el8.6.0+13197+b722211d.x86_64
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (inkscape:0.92.3 bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2022:1833