Am Dienstag, 11. März 2003 11:06 schrieb Keith Whitwell: > Charl P. Botha wrote: > > On Tue, 2003-03-11 at 10:16, Keith Whitwell wrote: > >>Charl P. Botha wrote: > >>>In anycase, if you have wxPython and VTK with working Python wrappings > >>>installed, please run the attached example. Manipulate the 3D cone in > >>> both windows and then close the one window. Manipulating the remaining > >>> 3D cone for a second or two should result in a drmCmdBuffer: -22 > >>> application crash. > >> > >>You'll be pleased to hear that I've now got access to a HT enabled box > >> with which I can reproduce some or all of the problems you guys have > >> been seeing with threaded apps. Hopefully there'll be some fixes soon. > > > > Hmmm, new toys to play with! Thanks for thinking about us. ;) > > > > Keith, your filp-1 patch completely killed the drmCmdBuffer: -22 bug on > > my box. I have not been able to reproduce it since with VTK or > > synthetic tests. > > Can you summarize the problems that remain? I'm seeing all manner of bad > behaviour with glthreads - lots of GL_INVALID_OPERATION errors, lots of > 'holds heavyweight lock' errors, the occasional lockup. It's a mess...
Ack. VTK TaskParallelismWithPorts: all (inner) triangles of the isosurface are not (wrong) colored => R200_NO_TCL fix it VTK/bin> ./TaskParallelism TaskParallelism: r200_vtxfmt.c:949: r200VtxFmtFlushVertices: Assertion `vb.context == ctx' failed. Abbruch (core dumped) !!! Screen corruption in some upper lines !!! Redraw fix it. VTK/bin> ./TaskParallelism TaskParallelism: r200_vtxfmt.c:949: r200VtxFmtFlushVertices: Assertion `vb.context == ctx' failed. Abbruch (core dumped) Reading symbols from /usr/X11R6/lib/modules/dri/r200_dri.so...done. Loaded symbols for /usr/X11R6/lib/modules/dri/r200_dri.so #0 0x41427701 in kill () from /lib/libc.so.6 (gdb) bt #0 0x41427701 in kill () from /lib/libc.so.6 #1 0x412b589a in pthread_kill () from /lib/libpthread.so.0 #2 0x412b5d92 in raise () from /lib/libpthread.so.0 #3 0x41428a23 in abort () from /lib/libc.so.6 #4 0x414220ea in __assert_fail () from /lib/libc.so.6 #5 0x4188c845 in r200VtxFmtFlushVertices () from /usr/X11R6/lib/modules/dri/r200_dri.so #6 0x401b1950 in vtkOpenGLRenderWindow::SetPixelData () from /opt/VTK/V4.0/VTK/lib/libvtkRendering.so #7 0x40048d40 in vtkCompositeManager::Composite () from /opt/VTK/V4.0/VTK/lib/libvtkParallel.so #8 0x40047de9 in vtkCompositeManager::EndRender () from /opt/VTK/V4.0/VTK/lib/libvtkParallel.so #9 0x40046379 in vtkCompositeManagerEndRender () from /opt/VTK/V4.0/VTK/lib/libvtkParallel.so #10 0x410f7afd in vtkCallbackCommand::Execute () from /opt/VTK/V4.0/VTK/lib/libvtkCommon.so #11 0x4113c5ea in vtkSubjectHelper::InvokeEvent () from /opt/VTK/V4.0/VTK/lib/libvtkCommon.so #12 0x4113c962 in vtkObject::InvokeEvent () from /opt/VTK/V4.0/VTK/lib/libvtkCommon.so #13 0x4017ff11 in vtkRenderWindow::Render () from /opt/VTK/V4.0/VTK/lib/libvtkRendering.so #14 0x401bb3da in vtkXOpenGLRenderWindow::Render () from /opt/VTK/V4.0/VTK/lib/libvtkRendering.so #15 0x401a74de in vtkXRenderWindowInteractorCallback () from /opt/VTK/V4.0/VTK/lib/libvtkRendering.so #16 0x40d55f3e in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6 #17 0x40d56832 in _XtDefaultDispatcher () from /usr/X11R6/lib/libXt.so.6 #18 0x40d56bb9 in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6 #19 0x401a6852 in vtkXRenderWindowInteractor::Start () from /opt/VTK/V4.0/VTK/lib/libvtkRendering.so #20 0x40047658 in vtkCompositeManager::StartInteractor () from /opt/VTK/V4.0/VTK/lib/libvtkParallel.so #21 0x08049670 in process () #22 0x4006e964 in vtkThreadedController::Start () from /opt/VTK/V4.0/VTK/lib/libvtkParallel.so #23 0x4006e7c0 in vtkThreadedController::vtkThreadedControllerStart () from /opt/VTK/V4.0/VTK/lib/libvtkParallel.so #24 0x41139be1 in vtkMultiThreader::SingleMethodExecute () from /opt/VTK/V4.0/VTK/lib/libvtkCommon.so #25 0x4006eb40 in vtkThreadedController::SingleMethodExecute () from /opt/VTK/V4.0/VTK/lib/libvtkParallel.so #26 0x08049716 in main () #27 0x414177d1 in __libc_start_main () from /lib/libc.so.6 (gdb) info registers eax 0x0 0 ecx 0x6 6 edx 0x412c127c 1093407356 ebx 0x14d2 5330 esp 0xbfffe998 0xbfffe998 ebp 0xbfffe9b4 0xbfffe9b4 esi 0x14d2 5330 edi 0x412ba8c0 1093380288 eip 0x41427701 0x41427701 eflags 0x202 514 cs 0x23 35 ss 0x2b 43 ds 0x2b 43 es 0x2b 43 fs 0x2b 43 gs 0x2b 43 fctrl 0x37f 895 fstat 0x0 0 ftag 0x0 0 fiseg 0x0 0 fioff 0x0 0 foseg 0x1f80 8064 fooff 0x0 0 fop 0x0 0 xmm0 0xffffffffffffffffffffffffffffffff xmm1 0xffffffffffffffffffffffffffffffff xmm2 0xffffffffffffffffffffffffffffffff xmm3 0xffffffffffffffffffffffffffffffff xmm4 0xffffffffffffffffffffffffffffffff xmm5 0xffffffffffffffffffffffffffffffff xmm6 0xffffffffffffffffffffffffffffffff xmm7 0xffffffffffffffffffffffffffffffff mxcsr 0x1f80 8064 (gdb) disassemble 0x4188c845 Dump of assembler code for function r200VtxFmtFlushVertices: 0x4188c7d0 <r200VtxFmtFlushVertices>: push %edi 0x4188c7d1 <r200VtxFmtFlushVertices+1>: push %esi 0x4188c7d2 <r200VtxFmtFlushVertices+2>: push %ebx 0x4188c7d3 <r200VtxFmtFlushVertices+3>: mov 0x10(%esp,1),%ebx 0x4188c7d7 <r200VtxFmtFlushVertices+7>: mov 0x14(%esp,1),%edi 0x4188c7db <r200VtxFmtFlushVertices+11>: mov 0x2a8(%ebx),%esi 0x4188c7e1 <r200VtxFmtFlushVertices+17>: testb $0x40,0x1ad7f8 0x4188c7e8 <r200VtxFmtFlushVertices+24>: je 0x4188c802 <r200VtxFmtFlushVertices+50> 0x4188c7ea <r200VtxFmtFlushVertices+26>: push $0x1a9cb3 0x4188c7ef <r200VtxFmtFlushVertices+31>: push $0x1a91d2 0x4188c7f4 <r200VtxFmtFlushVertices+36>: pushl 0x0 0x4188c7fa <r200VtxFmtFlushVertices+42>: call 0x4188c7fb <r200VtxFmtFlushVertices+43> 0x4188c7ff <r200VtxFmtFlushVertices+47>: add $0xc,%esp 0x4188c802 <r200VtxFmtFlushVertices+50>: cmpb $0x0,0x3c5d(%esi) 0x4188c809 <r200VtxFmtFlushVertices+57>: jne 0x4188c824 <r200VtxFmtFlushVertices+84> 0x4188c80b <r200VtxFmtFlushVertices+59>: push $0x1a9cb3 0x4188c810 <r200VtxFmtFlushVertices+64>: push $0x3b4 0x4188c815 <r200VtxFmtFlushVertices+69>: push $0x1a91d6 0x4188c81a <r200VtxFmtFlushVertices+74>: push $0x1a9ccb 0x4188c81f <r200VtxFmtFlushVertices+79>: call 0x4188c820 <r200VtxFmtFlushVertices+80> 0x4188c824 <r200VtxFmtFlushVertices+84>: cmp %ebx,0x1d320c 0x4188c82a <r200VtxFmtFlushVertices+90>: je 0x4188c845 <r200VtxFmtFlushVertices+117> 0x4188c82c <r200VtxFmtFlushVertices+92>: push $0x1a9cb3 0x4188c831 <r200VtxFmtFlushVertices+97>: push $0x3b5 0x4188c836 <r200VtxFmtFlushVertices+102>: push $0x1a91d6 0x4188c83b <r200VtxFmtFlushVertices+107>: push $0x1a9200 0x4188c840 <r200VtxFmtFlushVertices+112>: call 0x4188c841 <r200VtxFmtFlushVertices+113> 0x4188c845 <r200VtxFmtFlushVertices+117>: test $0x2,%edi 0x4188c84b <r200VtxFmtFlushVertices+123>: je 0x4188c889 <r200VtxFmtFlushVertices+185> 0x4188c84d <r200VtxFmtFlushVertices+125>: push %ebx 0x4188c84e <r200VtxFmtFlushVertices+126>: call 0x41889930 <r200_copy_to_current> 0x4188c853 <r200VtxFmtFlushVertices+131>: add $0x4,%esp 0x4188c856 <r200VtxFmtFlushVertices+134>: testb $0x40,0x1ad7f8 0x4188c85d <r200VtxFmtFlushVertices+141>: je 0x4188c872 <r200VtxFmtFlushVertices+162> 0x4188c85f <r200VtxFmtFlushVertices+143>: push $0x1a9cdf 0x4188c864 <r200VtxFmtFlushVertices+148>: pushl 0x0 0x4188c86a <r200VtxFmtFlushVertices+154>: call 0x4188c86b <r200VtxFmtFlushVertices+155> 0x4188c86f <r200VtxFmtFlushVertices+159>: add $0x8,%esp 0x4188c872 <r200VtxFmtFlushVertices+162>: lea 0x41ec(%esi),%eax 0x4188c878 <r200VtxFmtFlushVertices+168>: push %eax 0x4188c879 <r200VtxFmtFlushVertices+169>: push %ebx 0x4188c87a <r200VtxFmtFlushVertices+170>: call 0x417a3780 <_mesa_install_exec_vtxfmt> 0x4188c87f <r200VtxFmtFlushVertices+175>: andb $0xfd,0x280(%ebx) 0x4188c886 <r200VtxFmtFlushVertices+182>: add $0x8,%esp 0x4188c889 <r200VtxFmtFlushVertices+185>: test $0x1,%edi 0x4188c88f <r200VtxFmtFlushVertices+191>: je 0x4188c8e6 <r200VtxFmtFlushVertices+278> 0x4188c891 <r200VtxFmtFlushVertices+193>: mov 0x2a8(%ebx),%eax 0x4188c897 <r200VtxFmtFlushVertices+199>: cmpl $0x0,0x1a00(%eax) 0x4188c89e <r200VtxFmtFlushVertices+206>: je 0x4188c8c5 <r200VtxFmtFlushVertices+245> 0x4188c8a0 <r200VtxFmtFlushVertices+208>: cmpl $0x189b70,0x1a00(%eax) 0x4188c8aa <r200VtxFmtFlushVertices+218>: je 0x4188c8d1 <r200VtxFmtFlushVertices+257> 0x4188c8ac <r200VtxFmtFlushVertices+220>: push $0x1a9cb3 0x4188c8b1 <r200VtxFmtFlushVertices+225>: push $0x3c2 0x4188c8b6 <r200VtxFmtFlushVertices+230>: push $0x1a91d6 0x4188c8bb <r200VtxFmtFlushVertices+235>: push $0x1a9d00 0x4188c8c0 <r200VtxFmtFlushVertices+240>: call 0x4188c8c1 <r200VtxFmtFlushVertices+241> 0x4188c8c5 <r200VtxFmtFlushVertices+245>: cmpl $0x189b70,0x1a00(%eax) 0x4188c8cf <r200VtxFmtFlushVertices+255>: jne 0x4188c8df <r200VtxFmtFlushVertices+271> 0x4188c8d1 <r200VtxFmtFlushVertices+257>: pushl 0x2a8(%ebx) 0x4188c8d7 <r200VtxFmtFlushVertices+263>: call 0x41889b70 <flush_prims> 0x4188c8dc <r200VtxFmtFlushVertices+268>: add $0x4,%esp 0x4188c8df <r200VtxFmtFlushVertices+271>: andb $0xfe,0x280(%ebx) 0x4188c8e6 <r200VtxFmtFlushVertices+278>: pop %ebx 0x4188c8e7 <r200VtxFmtFlushVertices+279>: pop %esi 0x4188c8e8 <r200VtxFmtFlushVertices+280>: pop %edi 0x4188c8e9 <r200VtxFmtFlushVertices+281>: ret 0x4188c8ea <r200VtxFmtFlushVertices+282>: lea 0x0(%esi),%esi End of assembler dump. Greetings, Dieter ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel