← Back to team overview

dx-packages team mailing list archive

[Bug 1427866] Re: Eclipse crashes in g_str_hash when using menu proxy and "New Window"

 

This bug is fixed in Ubuntu >= 14.10 but a lot of people use 14.04 LTS.
It would be very appreciated to get this fix backported to 14.04. I am
attaching a simple patch that backports the fix to 14.04. Please let me
know what I can go to help further in applying this fix. I can also
create a Bazar branch if that it valuable. Thank you!

** Patch added: "Back-port of fix from 14.10"
   https://bugs.launchpad.net/ubuntu/+source/unity-gtk-module/+bug/1427866/+attachment/4592966/+files/unity-gtk-action-group.c.patch

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-gtk-module in Ubuntu.
https://bugs.launchpad.net/bugs/1427866

Title:
  Eclipse crashes in g_str_hash when using menu proxy and "New Window"

Status in unity-gtk-module package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 14.04.2 LTS
  unity-gtk2-module:
    Installed: 0.0.0+14.04.20141212-0ubuntu1

  1. Download Eclipse 4.4.2 available here:
  https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/SR2/eclipse-java-luna-SR2-linux-gtk-x86_64.tar.gz
  2.  Start Eclipse. Close the Welcome screen.
  3.  Mouse over to "Window" menu on top bar, click, move mouse down to "New Window", click to open a new, empty window.
  4.  Mouse over to "Window" menu on top bar, click. Crash occurs.

  If Eclipse is started with UBUNTU_MENUPROXY=0, it doesn't crash.

  #  SIGSEGV (0xb) at pc=0x00007fa88c654fe0, pid=3787, tid=140362505688832
  #
  # JRE version: OpenJDK Runtime Environment (7.0_75-b13) (build 1.7.0_75-b13)
  # Java VM: OpenJDK 64-Bit Server VM (24.75-b04 mixed mode linux-amd64 compressed oops)
  # Derivative: IcedTea 2.5.4
  # Distribution: Ubuntu 14.04 LTS, package 7u75-2.5.4-1~trusty1
  # Problematic frame:
  # C  [libglib-2.0.so.0+0x38fe0]  g_str_hash+0x0

  ...

  Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
  j  org.eclipse.swt.internal.gtk.OS._gtk_widget_show(J)V+0
  j  org.eclipse.swt.internal.gtk.OS.gtk_widget_show(J)V+8
  j  org.eclipse.swt.widgets.MenuItem.createHandle(I)V+248
  j  org.eclipse.swt.widgets.Widget.createWidget(I)V+2
  j  org.eclipse.swt.widgets.MenuItem.<init>(Lorg/eclipse/swt/widgets/Menu;II)V+38
  j  org.eclipse.ui.internal.SwitchToWindowMenu.fill(Lorg/eclipse/swt/widgets/Menu;I)V+97
  j  org.eclipse.jface.action.MenuManager.doItemFill(Lorg/eclipse/jface/action/IContributionItem;I)V+6
  j  org.eclipse.jface.action.MenuManager.update(ZZ)V+371
  j  org.eclipse.jface.action.MenuManager.handleAboutToShow()V+33

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-gtk-module/+bug/1427866/+subscriptions


References