Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » EXCEPTION_ACCESS_VIOLATION during setRedraw
EXCEPTION_ACCESS_VIOLATION during setRedraw [message #467659] Fri, 03 February 2006 10:02 Go to next message
Eclipse UserFriend
Originally posted by: mike.bull.ipl.com

I am getting an EXCEPTION_ACCESS_VIOLATION in eclipse version 3.1.0,
causing eclipse to crash. I am unable to reproduce this error
consistently. It appears to be caused within a call to setRedraw(true) on
a Tree.

Has anybody come across this problem before and know what the cause might
be and/or how to resolve it?

The stack trace is shown below:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
PC=0x5D0BB7DB
Function=InitCommonControls+0xA1FE
Library=C:\WINDOWS\system32\COMCTL32.dll

Current Java thread:
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:158 0)
at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:229)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123 )
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:2391)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.SendMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:2238)
at org.eclipse.swt.widgets.Control.setRedraw(Control.java:2339)
at org.eclipse.swt.widgets.Tree.setRedraw(Tree.java:1866)
at
com.ipl.products.eclipse.cantpp.coveragetree.CoverageTreeVie w.refreshAllViewers(CoverageTreeView.java:418)
at
com.ipl.products.eclipse.cantpp.coveragetree.RefreshView.run (RefreshView.java:98)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
- locked <0x10d247b8> (a org.eclipse.swt.widgets.RunnableLock)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)


thanks.
Re: EXCEPTION_ACCESS_VIOLATION during setRedraw [message #467782 is a reply to message #467659] Mon, 06 February 2006 17:52 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Please enter a bug report against Eclipse Platform SWT. Do you have
repeatable steps? Please include them in the bug report.

https://bugs.eclipse.org/bugzilla.html

"Mike Bull" <mike.bull@ipl.com> wrote in message
news:1c277edf7f80ff38c209e49a0f47aafc$1@www.eclipse.org...
>I am getting an EXCEPTION_ACCESS_VIOLATION in eclipse version 3.1.0,
>causing eclipse to crash. I am unable to reproduce this error consistently.
>It appears to be caused within a call to setRedraw(true) on a Tree.
>
> Has anybody come across this problem before and know what the cause might
> be and/or how to resolve it?
>
> The stack trace is shown below:
>
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
> PC=0x5D0BB7DB
> Function=InitCommonControls+0xA1FE
> Library=C:\WINDOWS\system32\COMCTL32.dll
>
> Current Java thread:
> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:158 0)
> at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:229)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123 )
> at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:2391)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
> at org.eclipse.swt.internal.win32.OS.SendMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:2238)
> at org.eclipse.swt.widgets.Control.setRedraw(Control.java:2339)
> at org.eclipse.swt.widgets.Tree.setRedraw(Tree.java:1866)
> at
> com.ipl.products.eclipse.cantpp.coveragetree.CoverageTreeVie w.refreshAllViewers(CoverageTreeView.java:418)
> at
> com.ipl.products.eclipse.cantpp.coveragetree.RefreshView.run (RefreshView.java:98)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
> - locked <0x10d247b8> (a org.eclipse.swt.widgets.RunnableLock)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
> 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.invokeFramework(Main.java:334 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:948)
>
>
> thanks.
>
Previous Topic:Spket2D for SWT 1.0 demo released
Next Topic:browser widget program crash whenever i submit form
Goto Forum:
  


Current Time: Mon Sep 23 09:31:31 GMT 2019

Powered by FUDForum. Page generated in 0.02067 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top