Java program crashes when machine changes video modes.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Braden_Ferguson
Posted On:   Monday, December 2, 2002 03:12 PM

I have a java program that uses a swing ui. It launches other windows programs, depending on the options selected in the ui. Some of the windows programs change the video mode before they execute. The following is from the log that the error generates. An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D06362D Function=Java_sun_print_Win32PrintJob_printRawData+0x1BB9 Library=C:j2sdk1.4.0_02jre inawt.dll Current Java thread: at sun.awt.windows.Win32SurfaceData.initOps(Native Method) at sun.awt.windows.Win32SurfaceData. (Win32SurfaceData.java:335) at sun.awt.window   More>>

I have a java program that uses a swing ui. It launches other windows programs, depending on the options selected in the ui. Some of the windows programs change the video mode before they execute. The following is from the log that the error generates.




An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D06362D
Function=Java_sun_print_Win32PrintJob_printRawData+0x1BB9
Library=C:j2sdk1.4.0_02jre inawt.dll

Current Java thread:
at sun.awt.windows.Win32SurfaceData.initOps(Native Method)
at sun.awt.windows.Win32SurfaceData. (Win32SurfaceData.java:335)
at sun.awt.windows.Win32SurfaceData.createData(Win32SurfaceData.java:218)
at sun.awt.windows.WComponentPeer.replaceSurfaceData(WComponentPeer.java:321)
- locked <02F78C88> (a sun.awt.windows.WFramePeer)
at sun.awt.windows.WComponentPeer.displayChanged(WComponentPeer.java:350)
at sun.awt.windows.WCanvasPeer.displayChanged(WCanvasPeer.java:42)
at sun.awt.windows.WPanelPeer.displayChanged(WPanelPeer.java:118)
at sun.awt.windows.WWindowPeer.displayChanged(WWindowPeer.java:175)
at sun.awt.SunDisplayChanger.notifyListeners(SunDisplayChanger.java:102)
at sun.awt.Win32GraphicsDevice.displayChanged(Win32GraphicsDevice.java:333)
at sun.awt.Win32GraphicsEnvironment.displayChanged(Win32GraphicsEnvironment.java:90)
at sun.awt.windows.WToolkit$4.run(WToolkit.java:717)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

Dynamic libraries:
0x00400000 - 0x00406000 c:j2sdk1.4.0_02 injava.exe
0x77F80000 - 0x77FFB000 C:WINNTSystem32
tdll.dll
0x77DB0000 - 0x77E0D000 C:WINNTsystem32ADVAPI32.dll
0x77E80000 - 0x77F36000 C:WINNTsystem32KERNEL32.DLL
0x77D30000 - 0x77DA1000 C:WINNTsystem32RPCRT4.DLL
0x78000000 - 0x78046000 C:WINNTsystem32MSVCRT.dll
0x6D330000 - 0x6D445000 c:j2sdk1.4.0_02jre inclientjvm.dll
0x77E10000 - 0x77E75000 C:WINNTsystem32USER32.dll
0x77F40000 - 0x77F7C000 C:WINNTsystem32GDI32.DLL
0x77570000 - 0x775A0000 C:WINNTSystem32WINMM.dll
0x6D1D0000 - 0x6D1D7000 c:j2sdk1.4.0_02jre inhpi.dll
0x6D300000 - 0x6D30D000 c:j2sdk1.4.0_02jre inverify.dll
0x6D210000 - 0x6D228000 c:j2sdk1.4.0_02jre injava.dll
0x6D320000 - 0x6D32D000 c:j2sdk1.4.0_02jre inzip.dll
0x6D000000 - 0x6D0F6000 C:j2sdk1.4.0_02jre inawt.dll
0x77800000 - 0x7781E000 C:WINNTSystem32WINSPOOL.DRV
0x76620000 - 0x76630000 C:WINNTsystem32MPR.DLL
0x75E60000 - 0x75E7A000 C:WINNTSystem32IMM32.dll
0x77A50000 - 0x77B45000 C:WINNTsystem32ole32.dll
0x6D180000 - 0x6D1D0000 C:j2sdk1.4.0_02jre infontmanager.dll
0x0EDB0000 - 0x0F0CE000 C:WINNTSystem32
voglnt.dll
0x51000000 - 0x51044000 C:WINNTSystem32ddraw.dll
0x728A0000 - 0x728A6000 C:WINNTSystem32DCIMAN32.dll
0x179E0000 - 0x179F0000 C:WINNTSystem32ctagent.dll
0x6D2D0000 - 0x6D2DD000 C:j2sdk1.4.0_02jre in
et.dll
0x75050000 - 0x75058000 C:WINNTSystem32WSOCK32.dll
0x75030000 - 0x75043000 C:WINNTSystem32WS2_32.DLL
0x75020000 - 0x75028000 C:WINNTSystem32WS2HELP.DLL
0x782C0000 - 0x782CC000 C:WINNTSystem32
nr20.dll
0x77980000 - 0x779A4000 C:WINNTSystem32DNSAPI.DLL
0x77340000 - 0x77353000 C:WINNTSystem32iphlpapi.dll
0x77520000 - 0x77525000 C:WINNTSystem32ICMP.DLL
0x77320000 - 0x77337000 C:WINNTSystem32MPRAPI.DLL
0x75150000 - 0x75160000 C:WINNTSystem32SAMLIB.DLL
0x75170000 - 0x751BF000 C:WINNTSystem32NETAPI32.DLL
0x77BE0000 - 0x77BEF000 C:WINNTSystem32SECUR32.DLL
0x751C0000 - 0x751C6000 C:WINNTSystem32NETRAP.DLL
0x77950000 - 0x7797A000 C:WINNTsystem32WLDAP32.DLL
0x779B0000 - 0x77A4B000 C:WINNTsystem32OLEAUT32.DLL
0x773B0000 - 0x773DE000 C:WINNTSystem32ACTIVEDS.DLL
0x77380000 - 0x773A2000 C:WINNTSystem32ADSLDPC.DLL
0x77830000 - 0x7783E000 C:WINNTSystem32RTUTILS.DLL
0x77880000 - 0x7790D000 C:WINNTSystem32SETUPAPI.DLL
0x77C10000 - 0x77C6E000 C:WINNTSystem32USERENV.DLL
0x774E0000 - 0x77512000 C:WINNTSystem32RASAPI32.DLL
0x774C0000 - 0x774D1000 C:WINNTSystem32RASMAN.DLL
0x77530000 - 0x77552000 C:WINNTSystem32TAPI32.DLL
0x71780000 - 0x7180A000 C:WINNTsystem32COMCTL32.DLL
0x70BD0000 - 0x70C34000 C:WINNTsystem32SHLWAPI.DLL
0x77360000 - 0x77379000 C:WINNTSystem32DHCPCSVC.DLL
0x777E0000 - 0x777E8000 C:WINNTSystem32winrnr.dll
0x777F0000 - 0x777F5000 C:WINNTSystem32
asadhlp.dll
0x61220000 - 0x6122B000 C:Program FilesMicrosoft HardwareMouseMSH_ZWF.dll
0x74FD0000 - 0x74FED000 C:WINNTsystem32msafd.dll
0x75010000 - 0x75017000 C:WINNTSystem32wshtcpip.dll
0x182D0000 - 0x182DC000 C:forteideGCClientNTPS.dll
0x690A0000 - 0x690AB000 C:WINNTSystem32PSAPI.DLL
0x77920000 - 0x77943000 C:WINNTsystem32imagehlp.dll
0x72A00000 - 0x72A2D000 C:WINNTsystem32DBGHELP.dll

Local Time = Mon Dec 02 02:19:35 2002
Elapsed Time = 74
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0_02-b02 mixed mode)
#
# An error report file has been saved as hs_err_pid1296.log.
# Please refer to the file for further information.
#


If anyone has seen this error before, or knows how to deal with it, I would appreciate a hand.

Thanks,
B. Ferguson
bferguso@austin.rr.com`

   <<Less
About | Sitemap | Contact