|
From: Kjell M. <mai...@gm...> - 2004-05-28 15:25:58
|
Hi !
I could not solve the problem yet. However, I made some cleaner debug
messages using lib/opt instead of dbg and also had a look at the
backtrace.
It seems that there is no further data transfer possible after the client
has connected to the servers. It blocks when calling mgr->redraw() and
server->render(act) in display().
> >I tried the ClusterServer and ClusterClient examples.. they seem to
> >connect, but I don't get any images displayed. All I get is an "empty"
> >frame from the servers and one from the client. "empty" means that the
> >frame is draw, but its display function is not called.
> >
> try to set OSG_LOG_LEVEL to debug an retry. What ist the output?
These are the backtraces (I also tried with StreamSock instead of
Mutlicast, with similar results )
Client Backtrace (Multicast) :
#0 0xffffe410 in ?? ()
#1 0xbfffead8 in ?? ()
#2 0xbfffeb90 in ?? ()
#3 0xbfffeb10 in ?? ()
#4 0x41155391 in ___newselect_nocancel () from /lib/tls/libc.so.6
#5 0x40be5032 in osg::SocketSelection::select ()
from /home/kmorgenstern/test/lib/opt/libOSGBase.so
#6 0x40bdb647 in osg::GroupSockConnection::wait ()
from /home/kmorgenstern/test/lib/opt/libOSGBase.so
#7 0x40bd6797 in osg::GroupMCastConnection::wait ()
from /home/kmorgenstern/test/lib/opt/libOSGBase.so
#8 0x40683c04 in osg::MultiDisplayWindow::clientSwap ()
from /home/kmorgenstern/test/lib/opt/libOSGSystem.so
#9 0x4067f5e5 in osg::ClusterWindow::swap ()
from /home/kmorgenstern/test/lib/opt/libOSGSystem.so
#10 0x4067ef7c in osg::ClusterWindow::render ()
from /home/kmorgenstern/test/lib/opt/libOSGSystem.so
#11 0x40625a6c in osg::SimpleSceneManager::redraw ()
from /home/kmorgenstern/test/lib/opt/libOSGSystem.so
#12 0x0804d61b in display () at 14clustering_Client.cpp:59
#13 0x40ca2473 in glutMainLoopEvent () from /usr/lib/libglut.so.3
#14 0x40ca2bf5 in glutMainLoop () from /usr/lib/libglut.so.3
#15 0x0804d595 in main (argc=1, argv=0xbffff0e4) at
14clustering_Client.cpp:50
Server Backtrace (Multicast)
#0 0xffffe410 in ?? ()
#1 0xbfffeae8 in ?? ()
#2 0x00000000 in ?? ()
#3 0x00000000 in ?? ()
#4 0x40fb1720 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
#5 0x40bd2fcd in osg::DgramQueue::wait ()
from /home/kmorgenstern/test/lib/opt/libOSGBase.so
#6 0x40bdfa09 in osg::PointMCastConnection::selectChannel ()
from /home/kmorgenstern/test/lib/opt/libOSGBase.so
#7 0x4066fd5b in osg::RemoteAspect::receiveSync ()
from /home/kmorgenstern/test/lib/opt/libOSGSystem.so
#8 0x406787b9 in osg::ClusterServer::doSync ()
from /home/kmorgenstern/test/lib/opt/libOSGSystem.so
#9 0x40678b85 in osg::ClusterServer::render ()
from /home/kmorgenstern/test/lib/opt/libOSGSystem.so
#10 0x0804c04c in display () at 14clustering_Server.cpp:63
#11 0x40ca2473 in glutMainLoopEvent () from /usr/lib/libglut.so.3
#12 0x40ca2bf5 in glutMainLoop () from /usr/lib/libglut.so.3
#13 0x0804bfa5 in main (argc=2, argv=0xbffff0d4) at
14clustering_Server.cpp:53
And this is the full output from OSG_LOG_LEVEL=debug ,with opt-library,
this time with StreamSock connection, but I also get "INFO: Connection
accepted..." with Multicast.
The client says:
OSGLog::setLogLevel: overriden by envvar OSG_LOG_LEVEL 'debug'.
INFO: Point Connection type StreamSock added
INFO: Point Connection type Multicast added
INFO: Group Connection type StreamSock added
INFO: Group Connection type Multicast added
INFO: BaseThread::initThreading
INFO: Init wrl Scene File Type 1084992188
INFO: Init slp Scene File Type 1084991836
INFO: Init raw Scene File Type 1084991812
INFO: Init osg Scene File Type 1084991784
INFO: Init off Scene File Type 1084991760
INFO: Init obj Scene File Type 1084991712
INFO: Init dxf Scene File Type 1084991668
INFO: Init bin Scene File Type 1084991428
INFO: Init 3ds Scene File Type 1084991392
INFO: Init osb Scene File Type 1084991352
INFO: add image suffix: tif
INFO: add image suffix: tiff
INFO: add image suffix: tga
INFO: add image suffix: rgb
INFO: add image suffix: rgba
INFO: add image suffix: sgi
INFO: add image suffix: bw
INFO: add image suffix: pnm
INFO: add image suffix: pbm
INFO: add image suffix: pgm
INFO: add image suffix: ppm
INFO: add image suffix: png
INFO: add image suffix: mtd
INFO: add image suffix: opensg
INFO: add image suffix: opensgImage
INFO: add image suffix: mng
INFO: add image suffix: jpg
INFO: add image suffix: jpeg
INFO: add image suffix: gif
INFO: add image suffix: dat
INFO: Thread::initThreading
INFO: OSGTM : got table lock 0x80c6628
INFO: OSGTM : create -OSGThread- app thread
INFO: OSGTM : got application thread 0x80c6670
INFO: Init VRMLWriter
INFO: OSGFieldContainerPtrBase init
INFO: init singleton FieldContainerFactory
INFO: OSGFieldContainerFactory init pending types
INFO: DVRVolume::DVRVolume(void) this: 0x808cde0
FCPtr Dump :
Id : 52
Storage : 0x808cde0
RefCount : 0
DVRVolume at 0x808cde0
renderMaterial: FCPtr 0x0x808ce68:NullFC
textureStorage: FCPtr 0x0x808cec4:NullFC
DVRVolume end 0x808cde0
INFO: DVRVolume::DVRVolume(void) this: 0x808cf0c
FCPtr Dump :
Id : 0
Storage : 0x808cf0c
RefCount : 0
DVRVolume at 0x808cf0c
renderMaterial: FCPtr 0x0x808cf94:NullFC
textureStorage: FCPtr 0x0x808cff0:NullFC
DVRVolume end 0x808cf0c
(1|0)
INFO: Connect to Server1
INFO: send request to:127.0.0.1
INFO: send request to:255.255.255.255
INFO: Found at address modsys24:37073
INFO: Connect to Server2
INFO: send request to:127.0.0.1
INFO: send request to:255.255.255.255
INFO: Found at address modsys24:37074
The Servers say :
OSGLog::setLogLevel: overriden by envvar OSG_LOG_LEVEL 'debug'.
INFO: Point Connection type StreamSock added
INFO: Point Connection type Multicast added
INFO: Group Connection type StreamSock added
INFO: Group Connection type Multicast added
INFO: BaseThread::initThreading
INFO: Init wrl Scene File Type 1084992188
INFO: Init slp Scene File Type 1084991836
INFO: Init raw Scene File Type 1084991812
INFO: Init osg Scene File Type 1084991784
INFO: Init off Scene File Type 1084991760
INFO: Init obj Scene File Type 1084991712
INFO: Init dxf Scene File Type 1084991668
INFO: Init bin Scene File Type 1084991428
INFO: Init 3ds Scene File Type 1084991392
INFO: Init osb Scene File Type 1084991352
INFO: add image suffix: tif
INFO: add image suffix: tiff
INFO: add image suffix: tga
INFO: add image suffix: rgb
INFO: add image suffix: rgba
INFO: add image suffix: sgi
INFO: add image suffix: bw
INFO: add image suffix: pnm
INFO: add image suffix: pbm
INFO: add image suffix: pgm
INFO: add image suffix: ppm
INFO: add image suffix: png
INFO: add image suffix: mtd
INFO: add image suffix: opensg
INFO: add image suffix: opensgImage
INFO: add image suffix: mng
INFO: add image suffix: jpg
INFO: add image suffix: jpeg
INFO: add image suffix: gif
INFO: add image suffix: dat
INFO: Thread::initThreading
INFO: OSGTM : got table lock 0x80c4de0
INFO: OSGTM : create -OSGThread- app thread
INFO: OSGTM : got application thread 0x80c52a0
INFO: Init VRMLWriter
INFO: OSGFieldContainerPtrBase init
INFO: init singleton FieldContainerFactory
INFO: OSGFieldContainerFactory init pending types
INFO: DVRVolume::DVRVolume(void) this: 0x810c1e0
FCPtr Dump :
Id : 52
Storage : 0x810c1e0
RefCount : 0
DVRVolume at 0x810c1e0
renderMaterial: FCPtr 0x0x810c268:NullFC
textureStorage: FCPtr 0x0x810c2c4:NullFC
DVRVolume end 0x810c1e0
INFO: DVRVolume::DVRVolume(void) this: 0x810c30c
FCPtr Dump :
Id : 0
Storage : 0x810c30c
RefCount : 40755300
DVRVolume at 0x810c30c
renderMaterial: FCPtr 0x0x810c394:NullFC
textureStorage: FCPtr 0x0x810c3f0:NullFC
DVRVolume end 0x810c30c
(1|0)
INFO: Connection bound to port 0
INFO: Waiting for request of Server2 StreamSock
INFO: wait for request by broadcast
INFO: Request for Server1 StreamSock
INFO: Request for Server1 StreamSock
INFO: Request for Server2 StreamSock
INFO: Response modsys24:37074
INFO: Request for Server2 StreamSock
INFO: Response modsys24:37074
INFO: Connection accepted modsys24:37074
INFO: Stop service thread
My system is Suse 9.1 , Kernel 2.6.4-54.5-smp, qt 3.3.1, freeglut 2.2.0
OpenSG-CVS from last week, Dual Pentium III, ATI Radeon 9600
thx,
Kjell Morgenstern
--
+++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl
|