Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

26. May 2012, 09:21:02 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)VM Crash on Intel 82945G Express Chipset
Pages: [1]
Print
Author Topic: VM Crash on Intel 82945G Express Chipset  (Read 1513 times)
Patheros
Getting respectable
***
Offline Offline

Posts: 267


Dead Dolphin


View Profile WWW Email
« on: 03. April 2007, 10:43:13 pm »

Intel 82945G Express Chipset Family DAC type:internal total mem 224 mb

I know its a piece of junk. But when I'm running my code on it I get a hard VM crash. Heres the file.

Code:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x142d4978, pid=3748, tid=4072
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode)
# Problematic frame:
# C  [ialmgicd.dll+0x84978]
#

---------------  T H R E A D  ---------------

Current thread (0x0adf46b0):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4072]

siginfo: ExceptionCode=0xc0000005, reading address 0x14730848

Registers:
EAX=0x1473086c, EBX=0x0b0bee48, ECX=0x145b8e40, EDX=0x14730860
ESP=0x0b0bed60, EBP=0x0001ae50, ESI=0x147159f8, EDI=0x14730854
EIP=0x142d4978, EFLAGS=0x00010202

Top of Stack: (sp=0x0b0bed60)
0x0b0bed60:   00000004 7c8399f3 7c802608 7ffdf000
0x0b0bed70:   3effffff 3effffff 3effffff 3effffff
0x0b0bed80:   3effffff 3effffff 3effffff 3effffff
0x0b0bed90:   4740df80 4740df80 4740df80 4740df80
0x0b0beda0:   435f8000 435f8000 435f8000 435f8000
0x0b0bedb0:   47413880 47413880 47413880 47413880
0x0b0bedc0:   439c4000 439c4000 439c4000 439c4000
0x0b0bedd0:   001095c0 0017b410 00000000 4b400000

Instructions: (pc=0x142d4978)
0x142d4968:   00 00 89 ac 24 a8 00 00 00 8b ac 24 9c 00 00 00
0x142d4978:   0f 12 4c 35 00 0f 16 0f 0f 28 f1 0f 12 02 0f 16


Stack: [0x0b080000,0x0b0c0000),  sp=0x0b0bed60,  free space=251k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ialmgicd.dll+0x84978]

[error occurred during error reporting, step 120, id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.opengl.impl.GLImpl.glDrawArrays(III)V+0
j  org.xith3d.render.jsr231.ShapeAtomPeer.drawGeometry(Lorg/xith3d/render/CanvasPeer;Ljavax/media/opengl/GL;Lorg/xith3d/scenegraph/GeometryArray;Z)I+702
j  org.xith3d.render.jsr231.ShapeAtomPeer.renderAtom(Lorg/xith3d/render/CanvasPeer;Lorg/xith3d/render/prerender/RenderAtom;ZJ)V+981
j  org.xith3d.render.CanvasPeer.renderAtom(Lorg/xith3d/render/prerender/RenderAtom;Ljavax/vecmath/Matrix3f;J)V+109
j  org.xith3d.render.jsr231.CanvasPeerImplBase.drawBin(Ljavax/media/opengl/GL;Lorg/xith3d/render/prerender/RenderBin;Ljavax/vecmath/Matrix3f;JI)V+54
j  org.xith3d.render.jsr231.CanvasPeerImplBase.renderMain(Ljavax/media/opengl/GL;Lorg/xith3d/scenegraph/View;Lorg/xith3d/render/prerender/RenderBinProvider;Ljavax/vecmath/Matrix3f;JI)I+398
j  org.xith3d.render.jsr231.CanvasPeerImplBase.display(Ljavax/media/opengl/GL;Lorg/xith3d/scenegraph/View;Lorg/xith3d/render/prerender/BackgroundCache;Ljava/util/List;ZJ)V+341
j  org.xith3d.render.jsr231.CanvasPeerSwingImpl.display(Ljavax/media/opengl/GLAutoDrawable;)V+96
j  com.sun.opengl.impl.GLDrawableHelper.display(Ljavax/media/opengl/GLAutoDrawable;)V+29
j  javax.media.opengl.GLJPanel$Updater.display(Ljavax/media/opengl/GLAutoDrawable;)V+224
j  com.sun.opengl.impl.GLDrawableHelper.display(Ljavax/media/opengl/GLAutoDrawable;)V+29
j  com.sun.opengl.impl.GLPbufferImpl$DisplayAction.run()V+11
j  com.sun.opengl.impl.GLDrawableHelper.invokeGL(Ljavax/media/opengl/GLDrawable;Ljavax/media/opengl/GLContext;Ljava/lang/Runnable;Ljava/lang/Runnable;)V+418
j  com.sun.opengl.impl.GLPbufferImpl.maybeDoSingleThreadedWorkaround(Ljava/lang/Runnable;Ljava/lang/Runnable;Z)V+36
j  com.sun.opengl.impl.GLPbufferImpl.display()V+10
j  javax.media.opengl.GLJPanel.paintComponent(Ljava/awt/Graphics;)V+71
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+260
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+495
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+292
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+495
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+292
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+495
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+292
j  javax.swing.JLayeredPane.paint(Ljava/awt/Graphics;)V+73
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+495
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+292
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+495
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+292
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+495
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+292
j  javax.swing.JLayeredPane.paint(Ljava/awt/Graphics;)V+73
j  javax.swing.JComponent.paintWithOffscreenBuffer(Ljavax/swing/JComponent;Ljava/awt/Graphics;IIIILjava/awt/Image;)V+174
j  javax.swing.JComponent.paintDoubleBuffered(Ljavax/swing/JComponent;Ljava/awt/Component;Ljava/awt/Graphics;IIII)Z+131
j  javax.swing.JComponent._paintImmediately(IIII)V+739
j  javax.swing.JComponent.paintImmediately(IIII)V+83
j  javax.swing.RepaintManager.paintDirtyRegions()V+314
j  javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run()V+32
j  java.awt.event.InvocationEvent.dispatch()V+47
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
j  java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+200
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x00357980 JavaThread "DestroyJavaVM" [_thread_blocked, id=784]
  0x0b287d98 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=2692]
  0x0b17d990 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=3428]
  0x0b11e8e0 JavaThread "Message Processing Thread 3" [_thread_blocked, id=404]
  0x0ac3fd48 JavaThread "Message Processing Thread 2" [_thread_blocked, id=1912]
  0x0b3e77f0 JavaThread "Message Processing Thread 1" [_thread_blocked, id=3272]
  0x0b306c58 JavaThread "Message Processing Thread 0" [_thread_blocked, id=4008]
  0x0b386008 JavaThread "TimerQueue" daemon [_thread_blocked, id=1620]
  0x0b1065a8 JavaThread "Graphic Loading Thread" [_thread_blocked, id=1660]
  0x0ae1ded8 JavaThread "Render Thread" [_thread_blocked, id=2964]
=>0x0adf46b0 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4072]
  0x0ada5a50 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2212]
  0x0ada5610 JavaThread "AWT-Shutdown" [_thread_blocked, id=1048]
  0x0ad868d8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1324]
  0x0ad7bac8 JavaThread "Message Proces Thread" [_thread_blocked, id=248]
  0x0ad45b58 JavaThread "Debug Thread Pool" [_thread_blocked, id=204]
  0x0ad459d8 JavaThread "Thread-0" [_thread_blocked, id=944]
  0x00a32d90 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2228]
  0x00a31a98 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3708]
  0x00a30d90 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3000]
  0x00a27e88 JavaThread "Finalizer" daemon [_thread_blocked, id=2104]
  0x00a269f8 JavaThread "Reference Handler" daemon [_thread_blocked, id=4092]

Other Threads:
  0x00a228b0 VMThread [id=200]
  0x00a30ac8 WatcherThread [id=1256]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 576K, used 456K [0x02a70000, 0x02b10000, 0x02f50000)
  eden space 512K,  76% used [0x02a70000, 0x02ad2250, 0x02af0000)
  from space 64K, 100% used [0x02af0000, 0x02b00000, 0x02b00000)
  to   space 64K,   0% used [0x02b00000, 0x02b00000, 0x02b10000)
 tenured generation   total 5824K, used 3744K [0x02f50000, 0x03500000, 0x06a70000)
   the space 5824K,  64% used [0x02f50000, 0x032f8380, 0x032f8400, 0x03500000)
 compacting perm gen  total 12544K, used 12542K [0x06a70000, 0x076b0000, 0x0aa70000)
   the space 12544K,  99% used [0x06a70000, 0x076afb10, 0x076afc00, 0x076b0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040c000 C:\Program Files\Java\jre1.5.0\bin\javaw.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
0x6d640000 - 0x6d7c5000 C:\Program Files\Java\jre1.5.0\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d280000 - 0x6d288000 C:\Program Files\Java\jre1.5.0\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d610000 - 0x6d61c000 C:\Program Files\Java\jre1.5.0\bin\verify.dll
0x6d300000 - 0x6d31d000 C:\Program Files\Java\jre1.5.0\bin\java.dll
0x6d630000 - 0x6d63f000 C:\Program Files\Java\jre1.5.0\bin\zip.dll
0x6d000000 - 0x6d166000 C:\Program Files\Java\jre1.5.0\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x73940000 - 0x73a10000 C:\WINDOWS\system32\D3DIM700.DLL
0x6d240000 - 0x6d27d000 C:\Program Files\Java\jre1.5.0\bin\fontmanager.dll
0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll
0x7c9c0000 - 0x7d1d5000 C:\WINDOWS\system32\shell32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x5d090000 - 0x5d127000 C:\WINDOWS\system32\comctl32.dll
0x6d4c0000 - 0x6d4d3000 C:\Program Files\Java\jre1.5.0\bin\net.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x6d4e0000 - 0x6d4e9000 C:\Program Files\Java\jre1.5.0\bin\nio.dll
0x605d0000 - 0x605d9000 C:\WINDOWS\system32\mslbui.dll
0x16000000 - 0x16028000 C:\Program Files\Trillian\events.dll
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x7c340000 - 0x7c396000 C:\Program Files\Trillian\MSVCR71.dll
0x6d1c0000 - 0x6d1e3000 C:\Program Files\Java\jre1.5.0\bin\dcpr.dll
0x6d190000 - 0x6d1bf000 C:\Program Files\Java\jre1.5.0\bin\cmm.dll
0x6d3c0000 - 0x6d3df000 C:\Program Files\Java\jre1.5.0\bin\jpeg.dll
0x14200000 - 0x14247000 C:\jons stuff\workspace\EvocosimLibraries\jogl\windows-i586\jogl.dll
0x5ed00000 - 0x5edcc000 C:\WINDOWS\system32\OPENGL32.dll
0x68b20000 - 0x68b40000 C:\WINDOWS\system32\GLU32.dll
0x14250000 - 0x14483000 C:\WINDOWS\system32\ialmgicd.dll
0x14520000 - 0x1459f000 C:\WINDOWS\system32\ialmgdev.dll

VM Arguments:
jvm_args: -Djava.library.path=C:\jons stuff\workspace\EvocosimLibraries\jogl\windows-i586
java_command: evocosim.Run evocosim.system.init.StandAlone

Environment Variables:
PATH=g:\oracle\product\10.2.0\db_1\bin;C:\oracle\product\10.2.0\db\bin;C:\oracle\product\10.2.0\db\jlib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Python22;C:\Program Files\PC-Doctor for Windows\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625;C:\PROGRA~1\COMMON~1\MUVEET~1\030625
USERNAME=HP_Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 4, GenuineIntel


---------------  S Y S T E M  ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 1038764k(300192k free), swap 2501152k(1919572k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0-b64) for windows-x86, built on Sep 15 2004 03:00:31 by "java_re" with MS VC++ 6.0


Any one have any earthly idea what could be causing this? I can get the demos to work but as soon as my code starts up and something comes onto the screen it crashes.
Logged

"I like my method, what was my method again?" - Jon
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Online Online

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 03. April 2007, 10:50:35 pm »

I can not do more than guess: Do you have the latest drivers installed?

Marvin
Logged
Patheros
Getting respectable
***
Offline Offline

Posts: 267


Dead Dolphin


View Profile WWW Email
« Reply #2 on: 04. April 2007, 12:08:10 am »

Yeah the latest drivers are installed. Other guesses would be appreciated.
Logged

"I like my method, what was my method again?" - Jon
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Online Online

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #3 on: 04. April 2007, 12:11:35 am »

Well, another guess is: Try it with the latest JDK 1.6 installed.

Marvin
Logged
khangharoth
Enjoying the stay
*
Offline Offline

Posts: 67


View Profile Email
« Reply #4 on: 04. April 2007, 03:58:00 am »

Try to comment out Buffer caching part in method bindGeometryComponentof class ShapeAtomPeer.java

The program flow should go in no buffer condition that is else loop of
Code:
if (useVBO && OpenGlExtensions.ARB_vertex_buffer_object &&
         canvas.getRenderOptions().getOption( Option.USE_VERTEX_BUFFER_CACHING ))

Please do report back if the problem still persist after removing the if loop.

Initially i was getting this kind of error all the time but after taking current caching code form SVN ,it comes very rarely ,and hence making it very hard to debug.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Online Online

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #5 on: 04. April 2007, 09:43:47 am »

Try to comment out Buffer caching part in method bindGeometryComponentof class ShapeAtomPeer.java

The program flow should go in no buffer condition that is else loop of
Code:
if (useVBO && OpenGlExtensions.ARB_vertex_buffer_object &&
         canvas.getRenderOptions().getOption( Option.USE_VERTEX_BUFFER_CACHING ))

Please do report back if the problem still persist after removing the if loop.

Initially i was getting this kind of error all the time but after taking current caching code form SVN ,it comes very rarely ,and hence making it very hard to debug.

You don't have to modify the xith code to do this. You can simply set the appropriate RenderOption or use no optimization for all your geometries.

Marvin

btw.
...removing the if loop.
ifs are selections, but no loops Wink Wink
Logged
khangharoth
Enjoying the stay
*
Offline Offline

Posts: 67


View Profile Email
« Reply #6 on: 04. April 2007, 12:11:41 pm »

You don't have to modify the xith code to do this. You can simply set the appropriate RenderOption or use no optimization for all your geometries.
yaa that's should be the correct way to disable optimization.Basically was just highlighting were i thought problem is .

ifs are selections, but no loops Wink Wink
Yup ,just a typo  Wink
Logged
Patheros
Getting respectable
***
Offline Offline

Posts: 267


Dead Dolphin


View Profile WWW Email
« Reply #7 on: 04. April 2007, 08:56:43 pm »

A call of
Code:
setRenderOption(Option.USE_VERTEX_BUFFER_CACHING,false);
on my Canvas3D doesn't fix the problem.


Also when we actually get the system to work this sometimes shows up:

Code:
java.lang.NullPointerException: Null RenderAtom... FrustumCuller.addShapeAtom()
at org.xith3d.render.prerender.FrustumCuller.addShapeAtom(FrustumCuller.java:212)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:314)
at org.xith3d.render.prerender.FrustumCuller.cullGroupAtoms(FrustumCuller.java:196)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:306)
at org.xith3d.render.prerender.FrustumCuller.cullLayeredNodeAtoms(FrustumCuller.java:97)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:259)
at org.xith3d.render.prerender.FrustumCuller.cullGroupAtoms(FrustumCuller.java:196)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:306)
at org.xith3d.render.prerender.FrustumCuller.cullAtoms(FrustumCuller.java:333)
at org.xith3d.render.prerender.FrustumCuller.cullAtoms(FrustumCuller.java:379)
at org.xith3d.render.prerender.FrustumCuller.cullAtoms(FrustumCuller.java:400)
at org.xith3d.render.prerender.FrustumCuller.cullAtoms(FrustumCuller.java:419)
at org.xith3d.render.DefaultRenderer.renderOnceInternal(DefaultRenderer.java:427)
at org.xith3d.render.DefaultRenderer.renderOnce(DefaultRenderer.java:488)
at org.xith3d.render.DefaultRenderer.renderOnce(DefaultRenderer.java:530)
at org.xith3d.render.DefaultRenderer.renderOnce(DefaultRenderer.java:543)
at org.xith3d.scenegraph.VirtualUniverse.renderOnce(VirtualUniverse.java:196)
at org.xith3d.scenegraph.View.renderOnce(View.java:725)
at evocosim.system.update.UpdateThread.iterate(UpdateThread.java:54)
at evocosim.system.threads.GenericThread.run(GenericThread.java:83)
Logged

"I like my method, what was my method again?" - Jon
khangharoth
Enjoying the stay
*
Offline Offline

Posts: 67


View Profile Email
« Reply #8 on: 05. April 2007, 03:45:18 am »

Have you tested this problem on other machines , i mean with other graphics card.

Can you post an example.
Logged
Patheros
Getting respectable
***
Offline Offline

Posts: 267


Dead Dolphin


View Profile WWW Email
« Reply #9 on: 05. April 2007, 04:26:36 am »

The same code works well (without this problem) on at least two other machines.

Unfortunately I don't have a small enough example.
Logged

"I like my method, what was my method again?" - Jon
khangharoth
Enjoying the stay
*
Offline Offline

Posts: 67


View Profile Email
« Reply #10 on: 05. April 2007, 02:20:14 pm »

The same code works well (without this problem) on at least two other machines.

 Huh  Huh i am also facing this same machine dependent problem but with me if i disable  caching than its not coming .But for you ,as you said is not related to caching so i was interested to run your test-case.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic