Community
Participate
Working Groups
-- Configuration Details -- Product: Eclipse 4.4.2.20150219-0708 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.platform 4.4.2.v20150204-1700 when focus menu: Project > Build Working Set... Eclipse crash! Stack: [0x00007fd20f488000,0x00007fd20f589000], sp=0x00007fd20f584878, free space=1010k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libglib-2.0.so.0+0x38fe0] g_str_hash+0x0 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J 9381 org.eclipse.swt.internal.gtk.OS._gtk_widget_show(J)V (0 bytes) @ 0x00007fd1fa307001 [0x00007fd1fa306fc0+0x41] J 16425 C1 org.eclipse.swt.widgets.MenuItem.createHandle(I)V (252 bytes) @ 0x00007fd1fb8f80c4 [0x00007fd1fb8f6c60+0x1464] J 16438 C1 org.eclipse.jface.action.ActionContributionItem.fill(Lorg/eclipse/swt/widgets/Menu;I)V (272 bytes) @ 0x00007fd1fb24df0c [0x00007fd1fb24d820+0x6ec] j org.eclipse.ui.internal.ide.actions.BuildSetMenu.fillMenu(Lorg/eclipse/swt/widgets/Menu;)V+239 j org.eclipse.ui.internal.ide.actions.BuildSetMenu.fill(Lorg/eclipse/swt/widgets/Menu;I)V+34 J 16460 C1 org.eclipse.jface.action.MenuManager.update(ZZ)V (570 bytes) @ 0x00007fd1fb9313fc [0x00007fd1fb92e920+0x2adc] j org.eclipse.jface.action.MenuManager.handleAboutToShow()V+33 j org.eclipse.jface.action.MenuManager.access$1(Lorg/eclipse/jface/action/MenuManager;)V+1 j org.eclipse.jface.action.MenuManager$2.menuShown(Lorg/eclipse/swt/events/MenuEvent;)V+4 J 13619 C1 org.eclipse.swt.widgets.TypedListener.handleEvent(Lorg/eclipse/swt/widgets/Event;)V (1291 bytes) @ 0x00007fd1fb2dc8fc [0x00007fd1fb2d9640+0x32bc] J 18792 C2 org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V (532 bytes) @ 0x00007fd1f95da508 [0x00007fd1f95da380+0x188] J 17524 C2 org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/Event;Z)V (88 bytes) @ 0x00007fd1fbda6240 [0x00007fd1fbda6000+0x240] J 11144 C1 org.eclipse.swt.widgets.Widget.sendEvent(I)V (8 bytes) @ 0x00007fd1f99b2774 [0x00007fd1f99b2700+0x74] j org.eclipse.swt.widgets.Menu.gtk_show(J)J+47 J 16286 C1 org.eclipse.swt.widgets.Widget.windowProc(JJ)J (308 bytes) @ 0x00007fd1fa55ac14 [0x00007fd1fa55a380+0x894] J 16285 C1 org.eclipse.swt.widgets.Display.windowProc(JJ)J (22 bytes) @ 0x00007fd1fb8599bc [0x00007fd1fb859820+0x19c] v ~StubRoutines::call_stub J 10771 org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ)Z (0 bytes) @ 0x00007fd1fab06484 [0x00007fd1fab06440+0x44] J 17575 C2 org.eclipse.swt.widgets.Display.readAndDispatch()Z (71 bytes) @ 0x00007fd1f974eb60 [0x00007fd1f974e940+0x220] j org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run()V+638 j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12 j org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(Lorg/eclipse/e4/ui/model/application/MApplicationElement;Lorg/eclipse/e4/core/contexts/IEclipseContext;)Ljava/lang/Object;+57 j org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(Lorg/eclipse/e4/ui/model/application/MApplicationElement;)V+20 j org.eclipse.ui.internal.Workbench$5.run()V+310 j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12 j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18 j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2 j org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+111 j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+85 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+82 j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+109 j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+132 v ~StubRoutines::call_stub j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100 j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+56 j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211 j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+160 j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4 j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10 v ~StubRoutines::call_stub VM Arguments: jvm_args: -Djava.library.path=/usr/lib/x86_64-linux-gnu/jni -Dorg.eclipse.swt.browser.DefaultType=mozilla -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=512m -Xms512m -Xmx1024m java_command: /home/fantinel/Downloads/eclipse EE 4.4 (luna)//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -os linux -ws gtk -arch x86_64 -showsplash /home/fantinel/Downloads/eclipse EE 4.4 (luna)//plugins/org.eclipse.platform_4.4.2.v20150204-1700/splash.bmp -launcher /home/fantinel/Downloads/eclipse EE 4.4 (luna)/eclipse -name Eclipse --launcher.library /home/fantinel/Downloads/eclipse EE 4.4 (luna)//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20150204-1316/eclipse_1607.so -startup /home/fantinel/Downloads/eclipse EE 4.4 (luna)//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.appendVmargs -exitdata 250800d -product org.eclipse.epp.package.jee.product -vm /usr/bin/java -vmargs -Djava.library.path=/usr/lib/x86_64-linux-gnu/jni -Dorg.eclipse.swt.browser.DefaultType=mozilla -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=512m -Xms512m -Xmx1024m -jar /home/fantinel/Downloads/eclipse EE 4.4 (luna)//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar java_class_path (initial): /home/fantinel/Downloads/eclipse EE 4.4 (luna)//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar Launcher Type: SUN_STANDARD Environment Variables: PATH=/home/fantinel/bin/Sencha/Cmd/4.0.4.84:/home/fantinel/bin/Sencha/Cmd/5.0.2.270:/home/fantinel/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games SHELL=/bin/bash DISPLAY=:0.0
Native code and stacktrace indicates that this belongs to SWT.
Does it happen with Mars? I can't reproduce.
It looks like a duplicate if bug 461311. Can you please confirm the OS you are using and the gtk versions? if the OS is Ubuntu, can you please try setting the environment variable UBUNTU_MENUPROXY=0 and try to reproduce the problem?
Reproduced on Version: Mars.1 Release (4.5.1) Build id: 20150924-1200 uname -sr Linux 3.19.0-42-generic Note I do not even want to use that feature, I just frequently accidentally expand the submenu on my way to selecting another option (Clean...). The suggested workaround does seem to avoid the issue.
Not sure which version of GTK I am running with, bu I did have this other workaround for SWT: SWT_GTK3=0 but the issue is reproducible with or without this other workaround (if UBUNTU_MENUPROXY is not set).
*** This bug has been marked as a duplicate of bug 419729 ***