.gui resource is already registered 86_64 chroot Xubuntu lxde

Hi,

So I was Googling around trying to get your awesome looking program running but I still have a lot of error messages coming up. As we know, if the resource isn’t allocated, obviously Eclipse crashes and the program appears to be only semi functional.

I have already tried installing the 32 bit versions of the dependencies but no good.

Is there anything else I can try?

Here’s my system info

crouton: version 1-20160902144033~master:9f8e9a22
release: precise
architecture: amd64
xmethod: xorg
targets: lxde
host: version 8350.68.0 (Official Build) stable-channel squawks
kernel: Linux localhost 3.10.18 #1 SMP Tue Aug 2 21:13:20 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes

The “.gui resource is already registered” is a benign message that we haven’t had time to fix yet, and it will be obsolete soon when the new editor is released.

But, that indicates that the editor at least starts. What are the other messages you’re getting?

"As we know, if the resource isn’t allocated, obviously Eclipse crashes"
I’m not sure what you mean?

"I have already tried installing the 32 bit versions of the dependencies but no good."
Are you running the 32 bit editor on the 64 bit system? I’d recommend downloading the 64 bit editor instead.

Are these benign as well?

org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4361)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.SWT.error(SWT.java:4247)
at org.eclipse.swt.widgets.Widget.error(Widget.java:480)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:417)
at org.eclipse.swt.browser.Browser.checkWidget(Browser.java:195)
at org.eclipse.swt.widgets.Control.isVisible(Control.java:3400)
at org.eclipse.swt.browser.Mozilla.GetVisibility(Mozilla.java:4154)
at org.eclipse.swt.browser.Mozilla$13.method6(Mozilla.java:1146)
at org.eclipse.swt.internal.mozilla.XPCOMObject.callback6(XPCOMObject.java:563)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2342)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3184)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.dynamo.cr.editor.Application.start(Application.java:42)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

org.eclipse.swt.SWTError: XPCOM error 0x80004005
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2639)
at org.eclipse.swt.browser.Mozilla.onDispose(Mozilla.java:2658)
at org.eclipse.swt.browser.Mozilla$5.handleEvent(Mozilla.java:966)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1300)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1281)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1098)
at org.eclipse.swt.widgets.Control.release(Control.java:3529)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1301)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1101)
at org.eclipse.swt.widgets.Control.release(Control.java:3529)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1301)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1101)
at org.eclipse.swt.widgets.Control.release(Control.java:3529)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:476)
at org.eclipse.ui.internal.PartPane.dispose(PartPane.java:182)
at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:681)
at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1810)
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1514)
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1498)
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1472)
at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:1275)
at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1859)
at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:894)
at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1729)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:730)
at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715)
at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:867)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:865)
at org.eclipse.jface.window.WindowManager.close(WindowManager.java:109)
at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1114)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1111)
at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1040)
at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1284)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1282)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1254)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:727)
at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715)
at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:867)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:865)
at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741)
at org.eclipse.jface.window.Window$3.shellClosed(Window.java:687)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1300)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1285)
at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:617)
at org.eclipse.swt.widgets.Shell.gtk_delete_event(Shell.java:1191)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1765)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:5116)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4377)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8317)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1193)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2342)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3184)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.dynamo.cr.editor.Application.start(Application.java:42)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

java.lang.RuntimeException: Widget disposed too early for part org.eclipse.ui.navigator.ProjectExplorer
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1300)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1281)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1098)
at org.eclipse.swt.widgets.Control.release(Control.java:3529)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1301)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1101)
at org.eclipse.swt.widgets.Control.release(Control.java:3529)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1301)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1101)
at org.eclipse.swt.widgets.Control.release(Control.java:3529)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1301)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:208)
at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:470)
at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:2371)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1101)
at org.eclipse.swt.widgets.Control.release(Control.java:3529)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:476)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:2307)
at org.eclipse.jface.window.Window.close(Window.java:335)
at org.eclipse.jface.window.ApplicationWindow.close(ApplicationWindow.java:307)
at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1768)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:730)
at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715)
at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:867)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:865)
at org.eclipse.jface.window.WindowManager.close(WindowManager.java:109)
at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1114)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1111)
at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1040)
at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1284)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1282)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1254)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:727)
at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715)
at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:867)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:865)
at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741)
at org.eclipse.jface.window.Window$3.shellClosed(Window.java:687)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1300)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1285)
at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:617)
at org.eclipse.swt.widgets.Shell.gtk_delete_event(Shell.java:1191)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1765)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:5116)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4377)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8317)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1193)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2342)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3184)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.dynamo.cr.editor.Application.start(Application.java:42)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

1 Like

Sorry I have the 64 bit program by the way

Hmm, I don’t recognize these errors. Did you start the editor with Defold-linux.sh script?

I did, is sudo bash the method I should be invoking? Everything in the zip folder was extracted to a directory prior to that.

No, you shouldn’t need sudo.

Another user mentions that he had problems with some distros. Not sure what sets these distros apart from Ubuntu that makes it crash unfortunately :frowning:

Maybe @jakob.pogulis has some insight?

Ahh unfortunately only Debian is supported by crouton so using this may not be a possibility

(Edit because I made a stupid)

I’m thinking this might be xulrunner related, since the error log show this: org.eclipse.swt.SWTError: XPCOM error and mentions Mozilla. We ship with one version, which is setup in the Defold-linux.sh script. I’m not an export on the subject, but perhaps something to try is to use another xulrunner version.

Thanks, I will try that. :slight_smile: I am still new to Linux, although I have a feeling using your software will prove a lot more worth it than the ‘indie’ game engines that never fix glaring errors, so thanks for actually having a place to look for help.

You are most welcome!

Well, we are also in the works of releasing a new version of the editor (Editor 2) soon for very early alpha testing (for instance, we are abandoning the eclipse framework), and after that I hope we can get better support for the most popular distros. You can follow its progress here

1 Like

Make it available by apt-get and I won’t use anything else. :wink:

1 Like

What happens if you try running the editor as a normal user without a jail where the user running the editor has write permissions to the branches and plugins directory, and at least read to the rest of defold?

Unfortunately, that test will have to wait. Without the jail, I can’t support any executable. :frowning: But, my desktop is also 86_64 so I will continue pursuing this when I have it up and running. I do suspect the jail has something to do with it. Otherwise, I’d be trying a different OS such as Mint.