Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 208308

Summary: Random "Invalid memory access of location" on Open Resource function
Product: [Eclipse Project] Platform Reporter: Benoit Liard <benoit.liard>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: P3 CC: eclipse
Version: 3.3.1   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Benoit Liard CLA 2007-10-31 15:40:01 EDT
When I do Open Resource (cmd-shift-R) and type a file it can open the file or failed randomly on the same file.  Here the console trace and the stacktrace from the apple problem report. 

Trace:
!SESSION 2007-10-31 15:34:46.746 -----------------------------------------------
eclipse.buildId=M20071023-1652
java.version=1.5.0_13
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments:  -keyring /Users/benoitliard/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws carbon -arch x86 -keyring /Users/benoitliard/.eclipse_keyring -consoleLog -showlocation

!ENTRY org.eclipse.core.net 1 0 2007-10-31 15:34:53.598
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
Invalid memory access of location 00000244 eip=00000244
Bus error
logout

[Process completed]


Stacktrace:

Java information:
 Version: Java HotSpot(TM) Client VM (1.5.0_13-119 mixed mode)
 Virtual Machine version: Java HotSpot(TM) Client VM (1.5.0_13-119) for macosx-x86, built on Sep 28 2007 23:59:21 by root with gcc 4.0.1 (Apple Inc. build 5465)
 Exception type: Bus Error (0xa) at pc=0x00000244

Current thread (0x005014e0):  JavaThread "main" [_thread_in_native, id=-1606111392]
Stack: [0xbf800000,0xc0000000)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.eclipse.swt.internal.carbon.OS.DisposeWindow(I)V+0
j  org.eclipse.swt.widgets.Shell.destroyWidget()V+88
j  org.eclipse.swt.widgets.Widget.release(Z)V+75
j  org.eclipse.swt.widgets.Widget.dispose()V+23
j  org.eclipse.jface.window.Window.close()Z+65
j  org.eclipse.jface.dialogs.Dialog.close()Z+26
j  org.eclipse.jface.dialogs.TrayDialog.close()Z+12
j  org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.close()Z+33
j  org.eclipse.jface.dialogs.Dialog.okPressed()V+6
j  org.eclipse.ui.dialogs.SelectionStatusDialog.okPressed()V+5
j  org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.okPressed()V+33
j  org.eclipse.jface.dialogs.Dialog.buttonPressed(I)V+5
j  org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Lorg/eclipse/swt/events/SelectionEvent;)V+17
j  org.eclipse.swt.widgets.TypedListener.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+1003
J  org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V
J  org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/Event;Z)V
j  org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/Event;)V+4
j  org.eclipse.swt.widgets.Widget.notifyListeners(ILorg/eclipse/swt/widgets/Event;)V+19
j  org.eclipse.swt.widgets.Display.runDeferredEvents()Z+88
j  org.eclipse.swt.widgets.Display.readAndDispatch()Z+98
j  org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/swt/widgets/Shell;)V+23
j  org.eclipse.jface.window.Window.open()I+49
j  org.eclipse.ui.dialogs.FilteredResourcesSelectionDialog.open()I+97
j  org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.queryFileResource()[Ljava/lang/Object;+45
j  org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.execute(Lorg/eclipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+18
j  org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.run(Lorg/eclipse/jface/action/IAction;)V+8
j  org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(Lorg/eclipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+144
j  org.eclipse.core.commands.Command.executeWithChecks(Lorg/eclipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+107
j  org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+21
j  org.eclipse.ui.internal.handlers.HandlerService.executeCommand(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg/eclipse/swt/widgets/Event;)Ljava/lang/Object;+6
j  org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(Lorg/eclipse/jface/bindings/Binding;Lorg/eclipse/swt/widgets/Event;)Z+198
j  org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(Ljava/util/List;Lorg/eclipse/swt/widgets/Event;)Z+307
j  org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(Ljava/util/List;Lorg/eclipse/swt/widgets/Event;)V+14
j  org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(Lorg/eclipse/swt/widgets/Event;)V+158
j  org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(Lorg/eclipse/ui/internal/keys/WorkbenchKeyboard;Lorg/eclipse/swt/widgets/Event;)V+2
j  org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+177
J  org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V
J  org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/Event;Z)V
v  ~RuntimeStub::alignment_frame_return Runtime1 stub
j  org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/Event;)V+4
j  org.eclipse.swt.widgets.Widget.sendKeyEvent(ILorg/eclipse/swt/widgets/Event;)Z+3
j  org.eclipse.swt.widgets.Widget.sendKeyEvent(II)Z+243
j  org.eclipse.swt.widgets.Control.kEventUnicodeKeyPressed(III)I+31
j  org.eclipse.swt.widgets.Composite.kEventUnicodeKeyPressed(III)I+4
j  org.eclipse.swt.widgets.Control.kEventTextInputUnicodeForKeyEvent(III)I+137
j  org.eclipse.swt.widgets.Widget.textInputProc(III)I+32
j  org.eclipse.swt.widgets.Display.textInputProc(III)I+58
v  ~StubRoutines::call_stub
j  org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(II)I+0
j  org.eclipse.swt.widgets.Display.readAndDispatch()Z+52
j  org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+9
j  org.eclipse.ui.internal.Workbench.runUI()I+336
j  org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1
j  org.eclipse.ui.internal.Workbench$4.run()V+23
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;+81
j  org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+102
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
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;+87
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;+111
j  org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+210
j  org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+114
j  org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
v  ~StubRoutines::call_stub
Comment 1 Benoit Liard CLA 2007-10-31 15:40:56 EDT
This is on mac os x 10.5
Comment 2 Kim Horne CLA 2007-10-31 15:43:41 EDT

*** This bug has been marked as a duplicate of bug 207827 ***