dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #34178
[Bug 1427866] Re: Eclipse crashes in g_str_hash when using menu proxy and "New Window"
Note that https://bugs.eclipse.org/bugs/show_bug.cgi?id=461311 has a
short SWT-only code snippet that demonstrates the bug without the need
to load all of Eclipse.
The steps to reproduce this using Eclipse are now more complicated since
Eclipse has a workaround that disables the feature was adding a radio
buttons to the Window menu when running under Ubuntu. You can still
reproduce it with Eclipse by selecting Run -> Breakpoint Types. The
Window menu no longer causes the crash.
--
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