[SVG Font Editor] Crash when kerning an empty pair

Bug #706506 reported by jazzynico
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
jazzynico
inkscape (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Crash reproduced on Ubuntu 10.10, Inkscape 0.48 and trunk revision 10013, and on Windows XP, Inkscape 0.47.

Steps:
1. Open the SVG Font Editor (Text>SVG Font Editor).
2. Add a new font.
3. Select the new font in the list.
4. In the Kerning tab, move the Kerning value slider.
5. Crash.

Tags: crash svgfonts ui

Related branches

Revision history for this message
jazzynico (jazzynico) wrote :
tags: added: fonts
tags: added: crash ui
Revision history for this message
jazzynico (jazzynico) wrote :

Additional note: if a pair exists, moving the kerning slider doesn't crash Inkscape.

Revision history for this message
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.48+devel r10150 on OS X 10.5.8 (i386)

from gdb:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000095
0x005c821f in Inkscape::UI::Dialog::SvgFontsDialog::on_kerning_value_changed (this=0x8b97e00) at ui/dialog/svg-fonts-dialog.cpp:170
170 undokey += this->kerning_pair->u1->attribute_string();
(gdb)

Changed in inkscape:
status: New → Confirmed
Changed in inkscape (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
jazzynico (jazzynico) wrote :

Committed in the trunk, revision 10189.

Changed in inkscape:
assignee: nobody → JazzyNico (jazzynico)
milestone: none → 0.49
status: Confirmed → Fix Committed
tags: added: backport-proposed
Revision history for this message
jazzynico (jazzynico) wrote :

Committed in the 0.48.x branch, revision 9790.

Changed in inkscape:
milestone: 0.49 → 0.48.2
tags: removed: backport-proposed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package inkscape - 0.48.2-0ubuntu1

---------------
inkscape (0.48.2-0ubuntu1) oneiric; urgency=low

  * New upstream release (LP: #807912). Fixes several Ubuntu bugs:
    - [SVG Font Editor] Crash when kerning an empty pair (LP: #706506)
    - Connector tool crash Inkscake (orthogonal mode) (LP: #771738)
    - Errors printed to console if openclipart search fails (LP: #638844)
    - pdf export with cairo 1.10 defaults to version PDF-1.5 (LP: #664335)
    - Cairo rendering broken for "use" elements when scaling or a viewBox
      (LP: #705345)
    - gimp_xcf.py crashed with TypeError in effect() (LP: #565296)
    - Enable build against libwpg-0.2 (LP: #778951)
    - Please add supported filetypes into MimeType line of inkscape.desktop
      (LP: #278307)
    - Inkscape fails to build with gcc 4.6 (LP: #707205)
  * Drop 01-libwpg0.2.dpatch - Applied upstream
  * Drop 03-add-missing-mimetypes.dpatch - Applied upstream
  * Drop 04-fix-build-with-gcc4.6.dpatch - Applied upstream
  * Drop 05-add-missing-includes.dpatch - Applied upstream
  * Drop fix-fontforge-glyph-template.dpatch - Applied upstream
 -- Alex Valavanis <email address hidden> Sun, 10 Jul 2011 11:35:30 +0100

Changed in inkscape (Ubuntu):
status: Triaged → Fix Released
Ted Gould (ted)
Changed in inkscape:
status: Fix Committed → Fix Released
Revision history for this message
Lisa Sheppard (lisa-sheppard) wrote :

Hi,

I have been using Inkscape 4.8.2 and the similar bug is happening. I am using a mac OSX 10.8.5 and xcode 11 XQuartz 2.7.5 (xorg-server 1.14.4).

Steps:
1. Open Inkscape
2. Open the SVG Font Editor (Text>SVG Font Editor).
3. Using font already set up (also happens with a new font)
4. Select previous font (or new font)
5. In the Kerning tab, move the Kerning value slider - able to align two fonts together
6. Once back into Glyphs tab type in letters which have just been paired.
7. Crash.

An error message box appears - however I cannot see any words, application freezes.

Also once the font has been created - should the kerning / pairing stay together?

Revision history for this message
jazzynico (jazzynico) wrote :

@Lisa, it seems your bug is a different one, and I see your already created a new report ( [Bug 1406526] kerning crash). Let's use the new report to investigate your issue.

su_v (suv-lp)
tags: added: svgfonts
removed: fonts
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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