Bug 1053798 - [abrt] gimp: pango_ot_info_get(): gimp-2.8 killed by SIGSEGV
Summary: [abrt] gimp: pango_ot_info_get(): gimp-2.8 killed by SIGSEGV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pango
Version: 19
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:50f61674658f11f76a21dbe1d8a...
: 948292 990653 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-15 19:26 UTC by jose
Modified: 2014-04-09 00:54 UTC (History)
7 users (show)

Fixed In Version: pango-1.34.1-3.fc19
Clone Of:
Environment:
Last Closed: 2014-03-26 05:31:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (40.21 KB, text/plain)
2014-01-15 19:26 UTC, jose
no flags Details
File: cgroup (159 bytes, text/plain)
2014-01-15 19:26 UTC, jose
no flags Details
File: core_backtrace (23.71 KB, text/plain)
2014-01-15 19:27 UTC, jose
no flags Details
File: dso_list (9.70 KB, text/plain)
2014-01-15 19:27 UTC, jose
no flags Details
File: environ (1.73 KB, text/plain)
2014-01-15 19:27 UTC, jose
no flags Details
File: exploitable (82 bytes, text/plain)
2014-01-15 19:27 UTC, jose
no flags Details
File: limits (1.29 KB, text/plain)
2014-01-15 19:27 UTC, jose
no flags Details
File: maps (31.38 KB, text/plain)
2014-01-15 19:27 UTC, jose
no flags Details
File: open_fds (1.19 KB, text/plain)
2014-01-15 19:27 UTC, jose
no flags Details
File: proc_pid_status (789 bytes, text/plain)
2014-01-15 19:27 UTC, jose
no flags Details
File: var_log_messages (335 bytes, text/plain)
2014-01-15 19:27 UTC, jose
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 724006 0 None None None Never

Description jose 2014-01-15 19:26:50 UTC
Description of problem:
just change diferent font from the default

Version-Release number of selected component:
gimp-2.8.10-4.fc20

Additional info:
reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        /usr/bin/gimp-2.8 /home/jose/Downloads/Marple-Covers/Miss_Marple_Coffret_1_Disc.png
crash_function: pango_ot_info_get
executable:     /usr/bin/gimp-2.8
kernel:         3.12.7-300.fc20.i686+PAE
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 pango_ot_info_get at pango-ot-info.c:91
 #1 gimp_font_get_sample_string at gimpfont.c:641
 #2 gimp_font_get_new_preview at gimpfont.c:274
 #3 gimp_viewable_get_preview at gimpviewable.c:741
 #4 gimp_viewable_real_get_new_pixbuf at gimpviewable.c:352
 #5 gimp_viewable_get_pixbuf at gimpviewable.c:911
 #6 gimp_view_renderer_real_render at gimpviewrenderer.c:753
 #7 gimp_view_renderer_real_draw at gimpviewrenderer.c:687
 #8 gimp_view_renderer_draw at gimpviewrenderer.c:606
 #9 gimp_cell_renderer_viewable_render at gimpcellrendererviewable.c:316

Potential duplicate: bug 834587

Comment 1 jose 2014-01-15 19:26:55 UTC
Created attachment 850655 [details]
File: backtrace

Comment 2 jose 2014-01-15 19:26:57 UTC
Created attachment 850656 [details]
File: cgroup

Comment 3 jose 2014-01-15 19:27:02 UTC
Created attachment 850657 [details]
File: core_backtrace

Comment 4 jose 2014-01-15 19:27:05 UTC
Created attachment 850658 [details]
File: dso_list

Comment 5 jose 2014-01-15 19:27:08 UTC
Created attachment 850659 [details]
File: environ

Comment 6 jose 2014-01-15 19:27:10 UTC
Created attachment 850660 [details]
File: exploitable

Comment 7 jose 2014-01-15 19:27:12 UTC
Created attachment 850661 [details]
File: limits

Comment 8 jose 2014-01-15 19:27:14 UTC
Created attachment 850662 [details]
File: maps

Comment 9 jose 2014-01-15 19:27:16 UTC
Created attachment 850663 [details]
File: open_fds

Comment 10 jose 2014-01-15 19:27:18 UTC
Created attachment 850664 [details]
File: proc_pid_status

Comment 11 jose 2014-01-15 19:27:20 UTC
Created attachment 850665 [details]
File: var_log_messages

Comment 12 Nils Philippsen 2014-01-20 16:41:41 UTC
This bug exists in older Fedora releases as well:

Fedora 19: bug #990653
Fedora 18: bug #948292

I'm mentioning the latter because there's a comment in it mentioning that it only happens with specific fonts:

"Emmett Culley 2013-08-19 22:10:36 EDT

I found that is crashes when a stix font is either selected or even appears in the scroll window. 

Gimp no longer crashes after removing the stix fonts from my system ."

The issue seems to be in pango, here's part of the backtrace:

--- 8< ---
Thread 1 (Thread 0xb35bf880 (LWP 5239)):
#0  pango_ot_info_get (face=face@entry=0x0) at pango-ot-info.c:91
        _g_boolean_var_ = <optimized out>
        info = <optimized out>
#1  0xb755798f in gimp_font_get_sample_string (font_desc=0xbab60f00, context=<optimized out>) at gimpfont.c:641
        font = 0xba301600
        tt = <optimized out>
        ot_alts = {-1233602475, -1162584064, -1238862369, -1233954773}
        os2 = <optimized out>
        n_sr_alts = 0
        face = 0x0
--- >8 ---

Notably, font is not NULL but face is. Here's the corresponding GIMP source code (frame #1):

--- 8< --- app/text/gimpfont.c:636 -----------------------
  font = pango_context_load_font (context, font_desc);

  g_return_val_if_fail (PANGO_IS_FC_FONT (font), "Aa");

  face = pango_fc_font_lock_face (PANGO_FC_FONT (font));
  ot_info = pango_ot_info_get (face);
--- >8 ---------------------------------------------------

I.e. font is the result of pango_context_load_font(), is a valid FcFont object, but the face returned by pango_fc_font_lock_face() is NULL which subsequently lets pango_ot_info_get() crash. Changing component accordingly.

Comment 13 Nils Philippsen 2014-01-20 16:44:14 UTC
*** Bug 948292 has been marked as a duplicate of this bug. ***

Comment 14 Akira TAGOH 2014-02-10 08:54:16 UTC
*** Bug 990653 has been marked as a duplicate of this bug. ***

Comment 15 Fedora Update System 2014-03-20 10:57:38 UTC
pango-1.36.1-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/pango-1.36.1-3.fc20

Comment 16 Fedora Update System 2014-03-20 10:58:24 UTC
pango-1.34.1-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/pango-1.34.1-3.fc19

Comment 17 Fedora Update System 2014-03-21 09:24:27 UTC
Package pango-1.34.1-3.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pango-1.34.1-3.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4110/pango-1.34.1-3.fc19
then log in and leave karma (feedback).

Comment 18 Fedora Update System 2014-03-26 05:31:33 UTC
pango-1.36.1-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2014-04-09 00:54:10 UTC
pango-1.34.1-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.