Hi Csaba,

Given the provided details I don't  have enough to provide an clues to
what might be up.

Try different threading models to see what results you get.

Also try the standard OSG examples to see if any of them hang.

Robert.

On Wed, Oct 15, 2008 at 9:58 PM, Csaba Halász <[EMAIL PROTECTED]> wrote:
> Hi again,
>
> Now that I got threading running, I have run into this trouble:
>
> draw() 0xee0b20
> draw() got SceneView 0xf18a80
> end draw() 0xee0b20
> draw() 0xda1f80
> cull()
> cull() got SceneView 0xf03e90
> end cull() 0xee0b20
> cull()
> cull() got SceneView 0xf7b020
> _clampProjectionMatrix not applied, invalid depth range, znear =
> 3.40282e+38  zfar = -3.40282e+38
> end cull() 0xda1f80
> draw() got SceneView 0xf7b020
> end draw() 0xda1f80
> draw() 0xee0b20
> draw() got SceneView 0xf03e90
> end draw() 0xee0b20
> draw() 0xda1f80
> cull()
> cull() got SceneView 0xf84a20
> _clampProjectionMatrix not applied, invalid depth range, znear =
> 3.40282e+38  zfar = -3.40282e+38
> end cull() 0xda1f80
> draw() got SceneView 0xf84a20
> cull()
> cull() got SceneView 0xf18a80
> end cull() 0xee0b20
> end draw() 0xda1f80
> draw() 0xee0b20
> draw() got SceneView 0xf18a80
> end draw() 0xee0b20
> draw() 0xda1f80
>
> It stops here.
>
> (gdb) thr 5
> [Switching to thread 5 (Thread 0x420a5950 (LWP 28584))]#0
> 0x00002ae3f4c89b99 in pthread_cond_wait@@GLIBC_2.3.2 ()
>   from /lib/libpthread.so.0
> (gdb) bt
> #0  0x00002ae3f4c89b99 in pthread_cond_wait@@GLIBC_2.3.2 () from
> /lib/libpthread.so.0
> #1  0x00002ae3f7a55c56 in OpenThreads::Condition::wait (this=<value
> optimized out>, mutex=<value optimized out>)
>    at 
> /home/hcs/src/OpenSceneGraph/src/OpenThreads/pthreads/PThreadCondition.c++:137
> #2  0x00002ae3f68d0bd3 in
> osgViewer::Renderer::TheadSafeQueue::takeFront (this=0x10f8a78)
>    at /home/hcs/src/OpenSceneGraph/include/OpenThreads/Block:42
> #3  0x00002ae3f68d25de in osgViewer::Renderer::draw (this=0x10f8980)
>    at /home/hcs/src/OpenSceneGraph/src/osgViewer/Renderer.cpp:340
> #4  0x00002ae3f772eac4 in osg::GraphicsContext::runOperations (this=0x10f99a0)
>    at /home/hcs/src/OpenSceneGraph/src/osg/GraphicsContext.cpp:688
> #5  0x00002ae3f776c688 in osg::OperationThread::run (this=0x11cd6c0)
>    at /home/hcs/src/OpenSceneGraph/src/osg/OperationThread.cpp:413
> #6  0x00002ae3f77351c0 in osg::GraphicsThread::run (this=0x11cd6c0)
>    at /home/hcs/src/OpenSceneGraph/src/osg/GraphicsThread.cpp:38
> #7  0x00002ae3f7a55537 in
> OpenThreads::ThreadPrivateActions::StartThread (data=<value optimized
> out>)
>    at /home/hcs/src/OpenSceneGraph/src/OpenThreads/pthreads/PThread.c++:172
> #8  0x00002ae3f4c853f7 in start_thread () from /lib/libpthread.so.0
> #9  0x00002ae3f839497d in clone () from /lib/libc.so.6
> #10 0x0000000000000000 in ?? ()
>
> Any ideas?
>
> --
> Thanks,
> Csaba
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to