Subject: Re: eclipse in current
To: None <netbsd-java@netbsd.org>
From: James Lees Vodanovich <jim@comdotcom.com.au>
List: netbsd-java
Date: 01/30/2005 15:37:43
I had to add the following line in /etc/fstab
procfs /proc procfs linux,rw
To get eclipse to work properly, ArgoUML also.
You must mount procfs set to support linux emulation mode, that's what the
linux line is about.
or mount procfs -o linux /procfs
I have Eclipse 2.1.0 running well with NetBSD 2.0 using Sun JDK 1.5
Prior to that on NetBSD1.6.2 with Sun JDK 1.4
On Sunday 30 January 2005 04:42, Felix Geller wrote:
> Hi,
>
> I'm trying to setup eclipse on my laptop using pkgsrc. "make install
> clean" worked fine, and after adding /usr/pkg/java/sun-1.4/bin to my
> PATH, and "ulimit -d 656020" eclipse finally started up.
> But I'm having some problems because eclipse shuts down after a few
> clicks and I'm not able to interpret the error message. I attached the
> error message and information about my system. Does anybody have an
> idea what I'm missing or doing wrong?
>
> Thank you in advance :)
>
> kindest regards,
> Felix Geller
>
> My system:
> -------------
> ~ > uname -a
> NetBSD 2.99.14 NetBSD 2.99.14 (RENNKERNEL) #4: Tue Jan 18 19:40:46 GMT
> 2005
> fgeller@:/home/fgeller/cvs/current/obj/sys/arch/i386/compile/RENNKERNEL
> i386
>
> ~ > mount
> /dev/wd0a on / type ffs (local)
> kernfs on /kern type kernfs (local)
> procfs on /usr/pkg/emul/linux/proc type procfs (local)
>
>
> Error message:
> -----------------
> ~ > eclipse
>
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : 11 occurred at PC=0xBDBD8D38
> Function=__pthread_mutex_lock+0x18
> Library=/lib/libpthread.so.0
>
> Current Java thread:
> at org.eclipse.swt.internal.motif.OS.XtSetValues(Native Method)
> at org.eclipse.swt.widgets.MenuItem.setText(MenuItem.java:854)
> at
> org.eclipse.jface.action.ActionContributionItem.update(ActionContributionIt
>em.java:1162) at
> org.eclipse.jface.action.ActionContributionItem$2.propertyChange(ActionCont
>ributionItem.java:488) at
> org.eclipse.ui.internal.commands.ws.CommandCallback$1.commandChanged(Comman
>dCallback.java:91) at
> org.eclipse.ui.internal.commands.Command.fireCommandChanged(Command.java:14
>2) at
> org.eclipse.ui.internal.commands.MutableCommandManager.notifyCommands(Mutab
>leCommandManager.java:389) at
> org.eclipse.ui.internal.commands.MutableCommandManager.setActiveContextIds(
>MutableCommandManager.java:580) at
> org.eclipse.ui.internal.commands.ws.WorkbenchCommandSupport.setActiveContex
>tIds(WorkbenchCommandSupport.java:631) at
> org.eclipse.ui.internal.Workbench$11.contextManagerChanged(Workbench.java:1
>812) at
> org.eclipse.ui.internal.contexts.AbstractContextManager.fireContextManagerC
>hanged(AbstractContextManager.java:44) at
> org.eclipse.ui.internal.contexts.ProxyContextManager$1.contextManagerChange
>d(ProxyContextManager.java:41) at
> org.eclipse.ui.internal.contexts.AbstractContextManager.fireContextManagerC
>hanged(AbstractContextManager.java:44) at
> org.eclipse.ui.internal.contexts.MutableContextManager.setEnabledContextIds
>(MutableContextManager.java:261) at
> org.eclipse.ui.internal.contexts.ws.WorkbenchContextSupport.processEnabledS
>ubmissions(WorkbenchContextSupport.java:611) at
> org.eclipse.ui.internal.contexts.ws.WorkbenchContextSupport.processEnabledS
>ubmissions(WorkbenchContextSupport.java:497) at
> org.eclipse.ui.internal.contexts.ws.WorkbenchContextSupport.removeEnabledSu
>bmissions(WorkbenchContextSupport.java:711) at
> org.eclipse.ui.internal.contexts.ws.WorkbenchContextSupport.checkWindowType
>(WorkbenchContextSupport.java:398) at
> org.eclipse.ui.internal.contexts.ws.WorkbenchContextSupport.access$000
> (WorkbenchContextSupport.java:56)
> at
> org.eclipse.ui.internal.contexts.ws.WorkbenchContextSupport$1.handleEvent(W
>orkbenchContextSupport.java:207) at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
> at org.eclipse.swt.widgets.Display.filterEvent(Display.java:838)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:730)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:752)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:735)
> at org.eclipse.swt.widgets.Shell.XFocusChange(Shell.java:1538)
> at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:907)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:3478)
> at org.eclipse.swt.internal.motif.OS.XtDispatchEvent(Native
> Method)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2640)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
> at org.eclipse.jface.window.Window.open(Window.java:648)
> at
> org.eclipse.jface.dialogs.MessageDialogWithToggle.openYesNoQuestion(Message
>DialogWithToggle.java:306) at
> org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard.confirmPer
>spectiveSwitch(BasicNewProjectResourceWizard.java:552) at
> org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard.updatePers
>pective(BasicNewProjectResourceWizard.java:487) at
> org.eclipse.jdt.internal.ui.wizards.JavaProjectWizard.performFinish(JavaPro
>jectWizard.java:65) at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:609)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:305)
> at
> org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
> at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:731)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2938)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2642)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
> at org.eclipse.jface.window.Window.open(Window.java:648)
> at
> org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:111)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Actio
>nContributionItem.java:915) at
> org.eclipse.jface.action.ActionContributionItem.access$500
> (ActionContributionItem.java:47)
> at
> org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContrib
>utionItem.java:785) at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:731)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2938)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2642)
> at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator
>.java:335) at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273
>) at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129
>) 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.core.launcher.Main.basicRun(Main.java:183)
> at org.eclipse.core.launcher.Main.run(Main.java:644)
> at org.eclipse.core.launcher.Main.main(Main.java:628)
>
> Dynamic libraries:
>
> Heap at VM Abort:
> Heap
> def new generation total 576K, used 497K [0xb17b0000, 0xb1850000,
> 0xb1c90000)
> eden space 512K, 89% used [0xb17b0000, 0xb1822c60, 0xb1830000)
> from space 64K, 60% used [0xb1830000, 0xb1839a78, 0xb1840000)
> to space 64K, 0% used [0xb1840000, 0xb1840000, 0xb1850000)
> tenured generation total 5824K, used 4933K [0xb1c90000, 0xb2240000,
> 0xb57b0000)
> the space 5824K, 84% used [0xb1c90000, 0xb2161420, 0xb2161600,
> 0xb2240000)
> compacting perm gen total 16384K, used 16206K [0xb57b0000, 0xb67b0000,
> 0xb97b0000)
> the space 16384K, 98% used [0xb57b0000, 0xb67838b0, 0xb6783a00,
> 0xb67b0000)
>
> Local Time = Sat Jan 29 17:34:12 2005
> Elapsed Time = 53
> #
> # The exception above was detected in native code outside the VM
> #
> # Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
> #
> # An error report file has been saved as /tmp/hs_err_pid916.log.
> # Please refer to the file for further information.
> #