Hi,

My osg2.9.11 app is working under QT/Linux.Occasionally it suffers a dead lock 
as follows:
       #0 in _kernel_vsyscall()
       #1 in pthread_cond_wait_@@GLIBC_2.3.2 from/lib/libpthread
       #2 in Openthreads::Condition::wait from libOpenThreads
       #3 in osgDB::DatabasePager::DatabaseThread::run from libosgDB
       #4 in OpenThreads::ThreadPrivateActions::StartThread from   
libOpenThreads
       #5 in ?? from/usr/lib/libGL.so

The only function I use from libosgDB is just loading a osgDEM terrain 
file,nothing else.So I think maybe  DatabasePager rendering terrian file 
conflict about something.

    Another clue is my osg thread is integrated with other qt thread,just use 
the AdpateWidget.cpp example.Previously,I found DatabasePager rendering 
confilic with some QT signal.It presents just loading and runing a terrain file 
may affect some other thread's share memory and leading some unusual crash.I  
solve this problem by blocking these QT signals before every fram() function.

   I do not know if this two problem is relevant.I am just a 3D programmer ,not 
so good with muti-threding programing.I know there may be nothing about OSG,but 
I know there are so many experienced programmer in this forum can help me.

   This problem is so serious,it beyond my knowledge and it may be affect my 
career  ,so anyone give a lead may be hlepful.

Thank you!

Cheers,
Lv

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50829#50829





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to