Re: AW: Problems with tilesort SPU
Brian Paul <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.user |
|---|---|
| Message-ID | <[email protected]> |
I wonder if Java3D or the application is calling glFlush() without a
current rendering context.
Try this change to tilesortspu_flush.c:
diff -c -r1.57 tilesortspu_flush.c
*** tilesortspu_flush.c 26 Jan 2006 00:13:51 -0000 1.57
--- tilesortspu_flush.c 5 May 2006 19:02:20 -0000
***************
*** 774,779 ****
--- 774,782 ----
CRPackBuffer old_geometry_buffer;
+ if (!thread || !thread->CurrentContext)
+ return;
+
CRASSERT(thread);
CRASSERT(thread->currentContext);
CRASSERT(thread->currentContext->State);
-Brian
Décosterd Gaël wrote:
> Here are the debug information with chromium in debug mode:
>
> CR Debug(graphic1:0): Connecting to graphic1 on port 10000, with
> protocol tcpip
> CR Debug(graphic1:0): Done connecting to localhost (swapping=0)
> CR Debug(graphic1:0): Tilesort SPU: Got the MTU as 2048
> CR Debug(graphic1:0): Tilesort SPU: found 1 servers.
> CR Debug(graphic1:0): Getting tile information from servers.
> CR Debug(graphic1:0): Server 1: tcpip://graphic1.bfh.ch.:7000
> CR Debug(graphic1:0): Tilesort SPU: Total output dimensions = (210, 210)
> CR Debug(graphic1:0): In crNetConnectToServer(
> "tcpip://graphic1.bfh.ch.:7000",
> port=7000, mtu=2048, broker=1 )
> CR Debug(graphic1:0): Connecting to graphic1.bfh.ch. on port 7000, with
> protocol
> tcpip
> CR Warning(graphic1:0): Couldn't find the CRMOTHERSHIP environment
> variable, def
> aulting to localhost
> CR Debug(graphic1:0): In crNetConnectToServer( "localhost", port=10000,
> mtu=8096
> , broker=0 )
> CR Debug(graphic1:0): Connecting to graphic1 on port 10000, with
> protocol tcpip
> CR Debug(graphic1:0): Done connecting to localhost (swapping=0)
> CR Debug(graphic1:0): Done connecting to tcpip://graphic1.bfh.ch.:7000
> (swapping
> =0)
> CR Debug(graphic1:0): Buffer pool 031824F0 was empty; allocated new 2068
> byte bu
> ffer.
> CR Debug(graphic1:0): Tilesort SPU: Not using DMX
> CR Debug(graphic1:0): Tilesort SPU: ---------- End of Init -------------
> CR Debug(graphic1:0): Initializing error SPU
> CR Debug(graphic1:0): Initializing passthrough SPU
> CR Debug(graphic1:0): Initializing print SPU
> CR Warning(graphic1:0): Couldn't find the CRMOTHERSHIP environment
> variable, def
> aulting to localhost
> CR Debug(graphic1:0): In crNetConnectToServer( "localhost", port=10000,
> mtu=8096
> , broker=0 )
> CR Debug(graphic1:0): Connecting to graphic1 on port 10000, with
> protocol tcpip
> CR Debug(graphic1:0): Done connecting to localhost (swapping=0)
> CR Debug(graphic1:0): Looking for the system's OpenGL library...
> CR Debug(graphic1:0): Found it in default path.
> CR Debug(graphic1:0): Tilesort SPU: CreateContext(-1040119792, 0x2f)
> CR Debug(graphic1:0): Tilesort SPU: HDC = -1040119792
> CR Debug(graphic1:0): Buffer pool 031824F0 was empty; allocated new 2068
> byte bu
> ffer.
> CR Warning(graphic1:0): crPackReleaseBuffer called with no current buffer
> CR Debug(graphic1:0): Tilesort SPU: CreateContext(1057032573, 0x2f)
> CR Debug(graphic1:0): Tilesort SPU: HDC = 1057032573
> CR Error(graphic1:0): Assertion failed: thread->currentContext, file
> tilesortspu
> _flush.c, line 778
> CR Debug(graphic1:0): Cleaning up SPU print
> CR Debug(graphic1:0): Cleaning up SPU passthrough
> CR Debug(graphic1:0): Cleaning up SPU error
> CR Warning(graphic1:0): "C:\DOCUME~1\gael\LOCALS~1\Temp\cr75\java.exe":
> exited w
> ith status=3
> CR Debug(graphic1:0): Dead connection (sock=1944, host=graphic1),
> removing from
> pool
>
> ------------------------------------------------------------------------
> *Von:* [email protected] im Auftrag von
> Décosterd Gaël
> *Gesendet:* Mi 03.05.2006 16:10
> *An:* [email protected]
> *Betreff:* [Chromium-users] Problems with tilesort SPU
>
> Hello,
>
> I've tried to launch a JAVA3D app using chromium. With a render SPU
> (server) and a pack SPU (client) it just work fine.
>
> But when I launch it with a tilesort SPU (client) it always crash. There
> is an error message (in the console where I launched crappfaker): "CR
> Warning(graphic1:0): crPackReleaseBuffer called with no current buffer"
>
> and then java crashes. Here is a part of the java log file:
>
> ################################################## JAVA ERROR FILE
> ###################
>
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0335d48c, pid=2600,
> tid=2620
> #
> # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)
> # Problematic frame:
> # C [tilesortspu.dll+0x1d48c]
> #
>
> --------------- T H R E A D ---------------
> Current thread (0x02c66d90): JavaThread "J3D-Renderer-1"
> [_thread_in_native, id=2620]
> siginfo: ExceptionCode=0xc0000005, reading address 0x00000004
> Registers:
> EAX=0x033a9dd8, EBX=0x48010808, ECX=0x00000000, EDX=0x03602c40
> ESP=0x039df658, EBP=0x039df69c, ESI=0x039df6b4, EDI=0x039df69c
> EIP=0x0335d48c, EFLAGS=0x00010206
> Top of Stack: (sp=0x039df658)
> 0x039df658: 039df7d4 cccccccc cccccccc cccccccc
> 0x039df668: cccccccc cccccccc cccccccc cccccccc
> 0x039df678: cccccccc cccccccc cccccccc cccccccc
> 0x039df688: cccccccc cccccccc cccccccc cccccccc
> 0x039df698: cccccccc 039df6a8 0335d41c 033a9dd8
> 0x039df6a8: 039df7d4 035d701c 033a9dd8 039df82c
> 0x039df6b8: 039df840 00000120 03690750 03602c40
> 0x039df6c8: cccccccc 38303231 31373230 00003434
> Instructions: (pc=0x0335d48c)
> 0x0335d47c: 00 00 00 b8 cc cc cc cc f3 ab 8b 45 08 8b 48 34
> 0x0335d48c: 8b 51 04 89 55 fc 83 3d 8c 98 3a 03 00 75 1a 8b
>
> Stack: [0x039a0000,0x039e0000), sp=0x039df658, free space=253k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
> C=native code)
> C [tilesortspu.dll+0x1d48c]
> C [tilesortspu.dll+0x1d41c]
> C [tilesortspu_crpacker_copy.dll+0x7701c]
> C [tilesortspu.dll+0x99bf]
> C [printspu.dll+0x39de]
> C [OPENGL32.dll+0x330c]
> C [OPENGL32.dll+0xbed6]
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> j javax.media.j3d.Canvas3D.createContext(JIIJJZZ)J+0
> j javax.media.j3d.Renderer.doWork(J)V+2900
> j javax.media.j3d.J3dThread.run()V+15
> v ~StubRoutines::call_stub
> ################################################## END ##################333
>
> I working on windows with cr 1.9. I need to launch a java3D app in a
> CAVE system then I need tilesort? Could anyone help me ?
>
> Thanks
>
> Gaël
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642