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 1397992 - [fix available] Crash in calc after closing dialog box with a11y enabled
Summary: [fix available] Crash in calc after closing dialog box with a11y enabled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libreoffice
Version: 7.3
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Caolan McNamara
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1425536
TreeView+ depends on / blocked
 
Reported: 2016-11-23 18:29 UTC by Jiri Koten
Modified: 2020-06-11 13:06 UTC (History)
3 users (show)

Fixed In Version: libreoffice-5.0.6.2-5.el7
Doc Type: Bug Fix
Doc Text:
Cause: Mismanagement of accessibility resources Consequence: LibreOffice Calc CSV Import Dialog causes a crash Fix: Improved accessibility resource management Result: No crash
Clone Of:
: 1425536 (view as bug list)
Environment:
Last Closed: 2017-08-01 12:21:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
backtrace (15.86 KB, text/plain)
2016-11-23 18:29 UTC, Jiri Koten
no flags Details
I suspect this will fix it (2.59 KB, application/mbox)
2016-11-24 11:30 UTC, Caolan McNamara
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Document Foundation 103032 0 None None None 2016-11-24 10:55:27 UTC
Red Hat Bugzilla 1343766 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Product Errata RHSA-2017:1975 0 normal SHIPPED_LIVE Moderate: libreoffice security and bug fix update 2017-08-01 16:04:51 UTC

Internal Links: 1343766

Description Jiri Koten 2016-11-23 18:29:37 UTC
Created attachment 1223393 [details]
backtrace

Description of problem:
Libreoffice calc crashes after closing dialog box. This seems to only happen on system which was upgraded to 7.3 and with existing user.

With clean install or new user the issue is not reproducible.

console output [snip]:
(soffice:8177): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(soffice:8177): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(soffice:8177): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(soffice:8177): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(soffice:8177): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
 ...
** (soffice:8177): WARNING **: Unknown event notification 34

** (soffice:8177): WARNING **: Unknown event notification 35

** (soffice:8177): WARNING **: Unknown event notification 34

** (soffice:8177): WARNING **: Unknown event notification 35

** (soffice:8177): WARNING **: Unknown event notification 34

** (soffice:8177): WARNING **: Unknown event notification 35



Version-Release number of selected component (if applicable):
libreoffice-5.0.6.2-3.el7
gtk2-2.24.28-8.el7

How reproducible:
100%

Steps to Reproduce:
1. Load spreadsheet (ods)
2. Go to Sort dialog; Data > Sort
3. Click Cancel

Actual results:
Crash - recovery dialog

Expected results:
No crash

Additional info:

Comment 1 Caolan McNamara 2016-11-24 10:55:27 UTC
I have seen that backtrace before I think

Comment 2 Caolan McNamara 2016-11-24 11:25:32 UTC
This crashes for some users and not for others can I confirm my suspicion that the difference is that 

gsettings get org.gnome.desktop.interface toolkit-accessibility

is true for the crashing config and false for the not-crashing config.

If this is the case then a temporary workaround may be (unless the user needs a11y support of course) is to

gsettings set org.gnome.desktop.interface toolkit-accessibility false

Comment 3 Caolan McNamara 2016-11-24 11:30:46 UTC
Created attachment 1223794 [details]
I suspect this will fix it

My proposed patch, but I need to build and test this.

Comment 5 Jiri Koten 2016-11-24 12:33:25 UTC
(In reply to Caolan McNamara from comment #2)
> This crashes for some users and not for others can I confirm my suspicion
> that the difference is that 
> 
> gsettings get org.gnome.desktop.interface toolkit-accessibility
> 
> is true for the crashing config and false for the not-crashing config.
> 
> If this is the case then a temporary workaround may be (unless the user
> needs a11y support of course) is to
> 
> gsettings set org.gnome.desktop.interface toolkit-accessibility false

I can confirm that with "toolkit-accessibility" key set to false, I'm not able to reproduce the crash.

Comment 8 Caolan McNamara 2016-11-25 09:05:58 UTC
yeah, proposed patch works

Comment 11 Jiri Koten 2016-12-05 17:33:37 UTC
I can confirm the crash is fixed. 

There are still warnings present in console output.

** (soffice:11703): WARNING **: Invalidate all children called


(soffice:11703): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(soffice:11703): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(soffice:11703): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(soffice:11703): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

** (soffice:11703): WARNING **: Unknown event notification 34

** (soffice:11703): WARNING **: Unknown event notification 35

** (soffice:11703): WARNING **: Unknown event notification 34

** (soffice:11703): WARNING **: Unknown event notification 35

** (soffice:11703): WARNING **: Unknown event notification 34

** (soffice:11703): WARNING **: Unknown event notification 35
(soffice:11703): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(soffice:11703): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

Comment 15 errata-xmlrpc 2017-08-01 12:21:15 UTC
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, 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/RHSA-2017:1975


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