Unity menubar crashes when activating a submenu in LibreOffice while using Orca screen reader

Bug #1064992 reported by Antonio Fernández
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Application Menu Indicator
In Progress
Undecided
Unassigned
Unity
Invalid
Undecided
Unassigned
gtk+3.0 (Ubuntu)
Fix Released
Low
Unassigned
Quantal
Fix Released
Low
Unassigned
libreoffice (Ubuntu)
Invalid
Undecided
Antonio Fernández
Quantal
Invalid
Undecided
Unassigned

Bug Description

Impact:

Fixes segfault on using accessibility on Libreoffice menus

Test Case:

Reproducible 95% of the time here
 * Open libreofice writer
 * Open orca
 * Open file->new submenu

Regression potential:

Close to none, it's just checking for some pointers to be non null before using them

summary: - unity menubar crashes when activating a submenu while using Orca screen
+ Unity menubar crashes when activating a submenu while using Orca screen
reader
summary: - Unity menubar crashes when activating a submenu while using Orca screen
- reader
+ Unity menubar crashes when activating a submenu in LibreOffice while
+ using Orca screen reader
Changed in libreoffice (Ubuntu):
assignee: nobody → Antonio Fernández (antonio-fernandez-vega)
Revision history for this message
Albert Astals Cid (aacid) wrote :

Adding unity, since what i get to crash is unity-panel-service that belongs to the unit project

Revision history for this message
Omer Akram (om26er) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

Changed in indicator-appmenu:
status: New → Incomplete
Changed in libreoffice (Ubuntu):
status: New → Incomplete
Changed in unity:
status: New → Incomplete
Changed in unity:
assignee: nobody → Albert Astals Cid (aacid)
status: Incomplete → In Progress
Revision history for this message
Albert Astals Cid (aacid) wrote :

Reproducible 95% of the time here
 * Open libreofice writer
 * Open orca
 * Open file->new submenu
 * Crash

Omer Akram (om26er)
Changed in indicator-appmenu:
status: Incomplete → In Progress
Revision history for this message
Albert Astals Cid (aacid) wrote :

Seems the crash is at least caused by a gtk bug in assuming a widget will always have a window https://bugzilla.gnome.org/show_bug.cgi?id=686152

Not sure if there may be some other bug lying around

Revision history for this message
Albert Astals Cid (aacid) wrote :

As said, gtk bug, patch reported at https://bugzilla.gnome.org/show_bug.cgi?id=686152

Changed in gtk+3.0 (Ubuntu):
status: New → In Progress
assignee: nobody → Albert Astals Cid (aacid)
Changed in unity:
assignee: Albert Astals Cid (aacid) → nobody
status: In Progress → Invalid
Revision history for this message
Albert Astals Cid (aacid) wrote :
Revision history for this message
Albert Astals Cid (aacid) wrote :

Subscribed ubuntu-sponsors as seb128 suggested

Here SRU information:
 * Impact: Fixes crash on using accessibility on Libreoffice menus
 * Test Case: Please see comment #3
 * Regression potential: Close to none, it's just checking for some pointers to be non null before using them
 * Path: Please see comment #6

Changed in gtk+3.0 (Ubuntu):
assignee: Albert Astals Cid (aacid) → nobody
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

Related too bug 1071725, likely the same root cause.

Changed in libreoffice (Ubuntu):
status: Incomplete → Invalid
Changed in gtk+3.0 (Ubuntu):
importance: Undecided → Low
description: updated
Changed in libreoffice (Ubuntu Quantal):
status: New → Invalid
Changed in gtk+3.0 (Ubuntu Quantal):
importance: Undecided → Low
status: New → Triaged
status: Triaged → In Progress
affects: gtk+3.0 (Ubuntu) → ubuntu
Changed in ubuntu:
status: In Progress → Fix Committed
affects: ubuntu → gtk+3.0 (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+3.0 - 3.6.0-0ubuntu4

---------------
gtk+3.0 (3.6.0-0ubuntu4) raring; urgency=low

  * debian/patches/git_robust_a11y_unrealized.patch: "Be robust against
    unrealized windows in GtkWindowAccessible" (lp: #1064992)

gtk+3.0 (3.6.0-0ubuntu3.1) quantal-proposed; urgency=low

  * Cherry-pick some upstream patches from 3.6.1 (LP: #1068585)
    + appchooserwidget: check for g_app_info_should_show(). This ensures
      NoDisplay=true or NotShowIn/OnlyShowIn values in the desktop file are
      respected.
    + Make process_all_updates draw synchronously to improve rendering
      performance.
 -- Sebastien Bacher <email address hidden> Fri, 09 Nov 2012 17:47:37 +0100

Changed in gtk+3.0 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote :

The upload in the quantal -proposed queue that fixes this also has an undocumented change in it:

diff -Nru gtk+3.0-3.6.0/debian/changelog gtk+3.0-3.6.0/debian/changelog
--- gtk+3.0-3.6.0/debian/changelog 2012-10-19 11:35:41.000000000 +0000
+++ gtk+3.0-3.6.0/debian/changelog 2012-11-09 16:57:51.000000000 +0000
@@ -1,3 +1,10 @@
+gtk+3.0 (3.6.0-0ubuntu3.2) quantal-proposed; urgency=low
+
+ * debian/patches/git_robust_a11y_unrealized.patch: "Be robust against
+ unrealized windows in GtkWindowAccessible" (lp: #1064992)
+
+ -- Sebastien Bacher <email address hidden> Fri, 09 Nov 2012 17:47:37 +0100
+
 gtk+3.0 (3.6.0-0ubuntu3.1) quantal-proposed; urgency=low

   * Cherry-pick some upstream patches from 3.6.1 (LP: #1068585)
...
diff -Nru gtk+3.0-3.6.0/debian/patches/series gtk+3.0-3.6.0/debian/patches/series
--- gtk+3.0-3.6.0/debian/patches/series 2012-10-19 11:35:41.000000000 +0000
+++ gtk+3.0-3.6.0/debian/patches/series 2012-11-09 16:57:51.000000000 +0000
@@ -3,7 +3,6 @@
 018_gdkenumtypes.c_location.patch
 022_disable-viqr-im-for-vi-locale.patch
 044_tracker_fts.patch
-061_multiarch_module_fallback.patch
 043_ubuntu_menu_proxy.patch
 062_ubuntu-set-grab-add.patch
 071_fix-installation-of-HTML-images.patch
@@ -18,3 +17,4 @@
 git_iconview_render_item_select.patch
 git_appchooser_check_should_show.patch
 git_process_all_updates_synchronous.patch
+git_robust_a11y_unrealized.patch

Why was 061_multiarch_module_fallback.patch dropped? Should that be noted in the changelog?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Brian for catching that, it was an error, I've rejected the upload and did a new one

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Antonio, or anyone else affected,

Accepted gtk+3.0 into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/gtk+3.0/3.6.0-0ubuntu3.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gtk+3.0 (Ubuntu Quantal):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Antonio Fernández (antonio-fernandez-vega) wrote :

@Brian

It looks that the patch fix the issue in my case. Nice work!

tags: added: verification-done
removed: verification-needed
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+3.0 - 3.6.0-0ubuntu3.2

---------------
gtk+3.0 (3.6.0-0ubuntu3.2) quantal-proposed; urgency=low

  * debian/patches/git_robust_a11y_unrealized.patch: "Be robust against
    unrealized windows in GtkWindowAccessible" (lp: #1064992)
 -- Sebastien Bacher <email address hidden> Fri, 09 Nov 2012 17:47:37 +0100

Changed in gtk+3.0 (Ubuntu Quantal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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