Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » EXCEPTION_ACCESS_VIOLATION
EXCEPTION_ACCESS_VIOLATION [message #462844] Thu, 20 October 2005 11:45 Go to next message
Eclipse UserFriend
Originally posted by: frederic.lebeau.websurf.be

Hello,
My application uses SWT and sometimes, it shuts down when the user click
on toolbar, menu, ... in this case some oleautomation are called...

Is it a well known problem?



An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
PC=0x77F7D814
Function=RtlDestroyHeap+0x518
Library=C:\NTWKS\System32\ntdll.dll

Current Java thread:
at org.eclipse.swt.internal.ole.win32.COM.VariantClear(Native Method)
at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation .java:449)
at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation .java:397)
Re: EXCEPTION_ACCESS_VIOLATION [message #462847 is a reply to message #462844] Thu, 20 October 2005 12:46 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
No, I don't see any similar traces in bugzilla. Please log a bug report
with Platform - SWT and include the full stack trace and if possible a
stand-alone snippet that reproduces the problem for you.

http://eclipse.org/swt/faq.php#whatisasnippet

Thanks,
Grant

"Lebeau Frederic" <frederic.lebeau@websurf.be> wrote in message
news:880528ef04c1d52917c6b657831aea61$1@www.eclipse.org...
> Hello,
> My application uses SWT and sometimes, it shuts down when the user click
> on toolbar, menu, ... in this case some oleautomation are called...
>
> Is it a well known problem?
>
>
>
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
> PC=0x77F7D814
> Function=RtlDestroyHeap+0x518
> Library=C:\NTWKS\System32\ntdll.dll
>
> Current Java thread:
> at org.eclipse.swt.internal.ole.win32.COM.VariantClear(Native Method)
> at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation .java:449)
> at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation .java:397)
>
Re: EXCEPTION_ACCESS_VIOLATION [message #462895 is a reply to message #462847] Thu, 20 October 2005 14:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: frederic.lebeau.websurf.be

Ok , but the problem is that is not systematic...

so could you help me when this kingd of problem can occurs??
Re: EXCEPTION_ACCESS_VIOLATION [message #462901 is a reply to message #462844] Thu, 20 October 2005 17:13 Go to previous messageGo to next message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
Not being an expert on the inner workings of SWT on win32, I'm not going to push my opinion as cannon. However, it looks like this is a threading issue. Is it possible that SWT isn't ensuring that the event is being passed to the win32 subsystem in the event dispatch thread?
Re: EXCEPTION_ACCESS_VIOLATION [message #462969 is a reply to message #462901] Mon, 24 October 2005 08:30 Go to previous message
Eclipse UserFriend
Originally posted by: frederic.lebeau.websurf.be

After some researches, here is the problem...

1) my applications jar files is on the network(also the swt.jar)
2) i'm launching the application from my workstation 'java.exe -cp blabla'
3) the network shuts down
4) i continue the navigation into my application (click button, open tabs,
...)
5) the network is available
6) hs_err_pid created in the application folder(on the network)


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
PC=0x77F64DBA
Function=RtlFreeHeap+0x2A
Library=C:\NTWKS\System32\ntdll.dll

Current Java thread:
at java.util.zip.InflaterInputStream.read(InflaterInputStream.j ava:134)
at
org.eclipse.swt.internal.image.LEDataInputStream.readData(LE DataInputStream.java:136)
at
org.eclipse.swt.internal.image.LEDataInputStream.read(LEData InputStream.java:86)
at java.io.InputStream.read(InputStream.java:89)
at
org.eclipse.swt.internal.image.WinBMPFileFormat.isFileFormat (WinBMPFileFormat.java:325)
at org.eclipse.swt.internal.image.FileFormat.load(FileFormat.ja va:63)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:1 24)
at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:308)
Previous Topic:KTable: Right handling of TableModel
Next Topic:How to find a TreeItem when using a TreeViewer
Goto Forum:
  


Current Time: Fri Mar 29 15:15:12 GMT 2024

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

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

Back to the top