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.

Bug 908437

Summary: [abrt] gimp-2.6.9-4.el6_3.3: g_type_check_instance_is_a: Process /usr/bin/gimp-2.6 was killed by signal 11 (SIGSEGV)
Product: Red Hat Enterprise Linux 6 Reporter: David Jaša <djasa>
Component: glib2Assignee: Colin Walters <walters>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: nphilipp, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:82cb8c921b66368c4b88844569447b5b3d9a9a22
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 12:07:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: maps
none
File: var_log_messages
none
File: open_fds
none
File: environ
none
File: dso_list
none
File: limits
none
File: sosreport.tar.xz
none
File: backtrace
none
File: build_ids
none
File: cgroup none

Description David Jaša 2013-02-06 17:18:29 UTC
Version-Release number of selected component:
gimp-2.6.9-4.el6_3.3

Additional info:
libreport version: 2.0.9
abrt_version:   2.0.8
backtrace_rating: 4
cmdline:        gimp-2.6 /home/david/Plocha/DSC00822-1.JPG
crash_function: g_type_check_instance_is_a
kernel:         2.6.32-356.el6.x86_64

truncated backtrace:
:Thread no. 1 (10 frames)
: #0 g_type_check_instance_is_a at gtype.c
: #1 IA__gtk_window_present_with_time at gtkwindow.c
: #10 IA__gtk_widget_activate at gtkwidget.c
: #11 IA__gtk_menu_shell_activate_item at gtkmenushell.c
: #12 gtk_menu_shell_button_release at gtkmenushell.c
: #13 _gtk_marshal_BOOLEAN__BOXED at gtkmarshalers.c
: #18 gtk_widget_event_internal at gtkwidget.c
: #19 IA__gtk_propagate_event at gtkmain.c
: #20 IA__gtk_main_do_event at gtkmain.c
: #21 gdk_event_dispatch at gdkevents-x11.c

Comment 1 David Jaša 2013-02-06 17:18:32 UTC
Created attachment 694035 [details]
File: maps

Comment 2 David Jaša 2013-02-06 17:18:35 UTC
Created attachment 694036 [details]
File: var_log_messages

Comment 3 David Jaša 2013-02-06 17:18:37 UTC
Created attachment 694037 [details]
File: open_fds

Comment 4 David Jaša 2013-02-06 17:18:44 UTC
Created attachment 694038 [details]
File: environ

Comment 5 David Jaša 2013-02-06 17:18:47 UTC
Created attachment 694039 [details]
File: dso_list

Comment 6 David Jaša 2013-02-06 17:18:49 UTC
Created attachment 694040 [details]
File: limits

Comment 7 David Jaša 2013-02-06 17:18:58 UTC
Created attachment 694041 [details]
File: sosreport.tar.xz

Comment 8 David Jaša 2013-02-06 17:19:01 UTC
Created attachment 694042 [details]
File: backtrace

Comment 9 David Jaša 2013-02-06 17:19:05 UTC
Created attachment 694043 [details]
File: build_ids

Comment 10 David Jaša 2013-02-06 17:19:07 UTC
Created attachment 694044 [details]
File: cgroup

Comment 13 Nils Philippsen 2013-02-11 16:44:57 UTC
Please describe what you did before the crash happened. Thanks!

Comment 14 David Jaša 2013-02-12 11:58:35 UTC
Unfortunately, I didn't notice exact cause or reproducer, I'd have filed it otherwise. In general, I was editing photos: mainly using curves and few filters, some of them wavelet-based .scm ones.

Comment 15 Nils Philippsen 2013-02-13 11:17:10 UTC
Here's what little I can make out of the backtrace (sorry, Intel assembly is not my forte):

This is the function where the segfault happens, it crashes in the "check = ..." line:

--- 8< --- gobject/gtype.c:3697 --- glib2-2.22.5-7.el6 ---
gboolean
g_type_check_instance_is_a (GTypeInstance *type_instance,
                GType          iface_type)
{ 
  TypeNode *node, *iface;
  gboolean check; 

  if (!type_instance || !type_instance->g_class)
    return FALSE;

  node = lookup_type_node_I (type_instance->g_class->g_type);
  iface = lookup_type_node_I (iface_type);
  check = node && node->is_instantiatable && iface && type_node_conforms_to_U (node, iface, TRUE, FALSE); <===== crashes
  
  return check;
}
--- >8 --------------------------------------------------

Variable values:

        node = 0x23a4e0073746e64
        iface = 0x2d0f9c0
        check = 70836928

This is the corresponding assembly instruction...

=> 0x00000036ac626170 <+128>:	testb  $0x40,0xb(%rbx)

...and value of the rbx register:

rbx            0x23a4e0073746e64	160526500569050724

==> rbx holds the node variable which is a TypeNode. Because it uses an offset ("0xb(%rbx)") and picks a bit out of the byte ("$0x40") I'm pretty sure that it's tripping over "node->is_instantiatable" (which is a bit field) here, and I wouldn't be surprised if node is pointing to an invalid location (thus the segfault). The TypeNode type is private to gtype.c/glib2 however and as I have no idea about what it does I'll change the component to glib2 for further assessment.

Comment 17 RHEL Program Management 2013-10-14 04:17:15 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 18 Jan Kurik 2017-12-06 12:07:57 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/