trunk: crash when selecting text object with empty 'font-family' property (rev >= 12104)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Martin Owens |
Bug Description
Inkscape trunk crashes on selecting a text object which has an empty 'font-family' style property. Independent of whether this is conformant SVG or not (needs to be verified), Inkscape ought to handle this more gracefully and not crash.
Steps to reproduce:
1) launch inkscape (default prefs, default new doc)
2) open the attached SVG file
3) select the bottom-most text object
Expected result:
Inkscape selects the text object and displays object information in the status bar.
Actual result:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x000000010427e863 in Glib::ustring:
(gdb) bt
#0 0x000000010427e863 in Glib::ustring:
#1 0x000000010072bc35 in Inkscape:
#2 0x00000001009e0392 in sp_text_
First encountered with Inkscape 0.48+devel r12588 on OS X 10.7.5
Based on tests with archived builds on OS X:
- not reproduced with rev <= 12103
- reproduced with rev >= 12104,
this regression seems related to:
Revision 12104: Add fonts (and font-lists) used in document to top of Text tool-bar font-family drop-down menu.
<http://
Related branches
Changed in inkscape: | |
importance: | Undecided → High |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Note: the sample SVG file was created with (unreleased) lp:inkscape/0.48.x r9968, which includes the backported fix for /bugs.launchpad .net/inkscape/ +bug/805238>
- Bug #805238 “Crash when setting empty font family”
<https:/
The backported fix has been reverted for now in lp:inkscape/0.48.x r9969.