Launchpad has imported 18 comments from the remote bug at https://bugs.eclipse.org/bugs/show_bug.cgi?id=419729.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2013-10-17T15:09:48+00:00 Eclipse-p wrote: Created attachment 236604 crash log A user on Linux reported native crashs for SmartSVN (SWT-based application): 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+249 j org.eclipse.swt.widgets.Widget.createWidget(I)V+2 j org.eclipse.swt.widgets.MenuItem.<init>(Lorg/eclipse/swt/widgets/Menu;I)V+19 Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/0 ------------------------------------------------------------------------ On 2013-10-18T06:47:03+00:00 Eclipse-p wrote: The version.txt file inside the swt.jar shows "version 4.331". Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/6 ------------------------------------------------------------------------ On 2013-10-18T06:55:08+00:00 Eclipse-p wrote: Ubuntu 13.10 Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/7 ------------------------------------------------------------------------ On 2013-10-18T06:56:06+00:00 Akurtakov wrote: Is there any chance that you can give a snippet to reproduce the problem? Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/8 ------------------------------------------------------------------------ On 2013-10-18T10:51:04+00:00 Eclipse-p wrote: Created attachment 236645 crash log Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/9 ------------------------------------------------------------------------ On 2013-10-18T10:51:22+00:00 Eclipse-p wrote: Created attachment 236646 crash log Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/10 ------------------------------------------------------------------------ On 2013-10-18T10:51:54+00:00 Eclipse-p wrote: Created attachment 236647 crash log Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/11 ------------------------------------------------------------------------ On 2013-10-18T10:53:46+00:00 Eclipse-p wrote: The crashes happen after completely different steps, the last crash occurred directly after starting while the splash screen was showing. Following errors are locked multiple times to the console: (SmartGit/Hg:18473): GLib-GObject-CRITICAL **: g_closure_add_invalidate_notifier: assertion 'closure->n_inotifiers < CLOSURE_MAX_N_INOTIFIERS' failed Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/12 ------------------------------------------------------------------------ On 2013-10-18T11:02:33+00:00 Akurtakov wrote: Thomas, I'm asking for some small pure Swt code snippet runnable separately (aka class with main method) that shows the problem. The crash and the invalidate notifier are not related (me is 99% sure) and it's discussed in bug 407077. Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/13 ------------------------------------------------------------------------ On 2013-10-18T14:33:10+00:00 Eclipse-p wrote: Please try following code: final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Menu menuBar = new Menu(shell, SWT.BAR); final MenuItem fileMenuBarItem = createMenuItem(SWT.CASCADE, "File", menuBar); final Menu fileMenu = new Menu(shell, SWT.DROP_DOWN); fileMenuBarItem.setMenu(fileMenu); shell.setMenuBar(menuBar); shell.addListener(SWT.Activate, new Listener() { @Override public void handleEvent(Event event) { System.err.println("rebuilding menu"); final MenuItem[] items = fileMenu.getItems(); for (MenuItem item : items) { item.dispose(); } createMenuItem(SWT.PUSH, "Push", fileMenu); createMenuItem(SWT.CHECK, "Check", fileMenu); createMenuItem(SWT.RADIO, "Radio", fileMenu); } }); final Menu menu = new Menu(shell, SWT.POP_UP); createMenuItem(SWT.PUSH, "Push", menu); createMenuItem(SWT.CHECK, "Check", menu); createMenuItem(SWT.RADIO, "Radio", menu); final Button button = new Button(shell, SWT.PUSH); button.setText("Click Me"); button.addListener(SWT.Selection, new Listener() { @Override public void handleEvent(Event event) { final Point location = display.map(button.getParent(), null, button.getLocation()); final Point size = button.getSize(); menu.setLocation(location.x, location.y + size.y); menu.setVisible(true); } }); shell.setSize(shell.computeSize(SWT.DEFAULT, SWT.DEFAULT)); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } menu.dispose(); display.dispose(); And open some other windows, especially dialogs, click the button. Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/14 ------------------------------------------------------------------------ On 2013-10-18T14:37:15+00:00 Akurtakov wrote: Missed the createMenuItem method? Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/15 ------------------------------------------------------------------------ On 2013-10-18T14:44:55+00:00 Eclipse-p wrote: Sorry: private static MenuItem createMenuItem(int style, String text, Menu menu) { final MenuItem item = new MenuItem(menu, style); item.setText(text); return item; } Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/16 ------------------------------------------------------------------------ On 2013-10-18T15:02:42+00:00 Akurtakov wrote: I played with it a lot but wasn't able to reproduce on fedora 19 system (gtk 2.24.22). Does it crash for your everytime you do certain action? Can you simulate the crash in the snippet? Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/17 ------------------------------------------------------------------------ On 2013-10-18T15:15:17+00:00 Eclipse-p wrote: I only can reproduce the problem on Ubuntu 13.10, not on Ubuntu 12.04. It only has us been reported against Ubuntu 13.10, not against previous versions, though the code has not changed there for a long time. I guess, there is something specific in Ubuntu 13.10 which may not be reproducible on other systems. Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/18 ------------------------------------------------------------------------ On 2013-10-21T09:05:48+00:00 Eclipse-p wrote: According to https://twitter.com/md__5/status/391352267313405952 the bug seems to be related to UBUNTU_MENUPROXY. Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/19 ------------------------------------------------------------------------ On 2013-10-21T09:16:42+00:00 Akurtakov wrote: Further investigations would need to be done by someone having the time to install and test the Ubuntu version in question. I don't have such time but I would be happy to review a patch if provided. Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/20 ------------------------------------------------------------------------ On 2013-10-22T18:03:40+00:00 Quinn Balazs wrote: This bug has been filed in Launchpad (Ubuntu Bug Tracker) as lp#1241101, filed against the java-common package in Ubuntu. User using Ubuntu 13.10 has reported crashes using SmartGit v4.6.4 # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fa59061f9c0, pid=12494, tid=140349308167936 # # JRE version: 7.0_25-b30 # Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libglib-2.0.so.0+0x389c0] g_str_hash+0x0 The other issue addressed in the LP bug is the SmartSVN issue discussed here. This issue in LP can be found here https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/1241101 . Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/22 ------------------------------------------------------------------------ On 2013-10-22T20:33:18+00:00 Quinn Balazs wrote: In the previous comment I attached a different portion of the log file than I had intended to. Here is the relevant portion. 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+249 j org.eclipse.swt.widgets.Widget.createWidget(I)V+2 j org.eclipse.swt.widgets.MenuItem.<init>(Lorg/eclipse/swt/widgets/Menu;I)V+19 Reply at: https://bugs.launchpad.net/ubuntu/+source/java- common/+bug/1241101/comments/24 ** Changed in: java-common Status: Unknown => Confirmed ** Changed in: java-common Importance: Unknown => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1241101 Title: Java crash in libglib-2.0 after upgrade from 13.04 to 13.10 To manage notifications about this bug go to: https://bugs.launchpad.net/java-common/+bug/1241101/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs