Hi Dominik,

to eliminate a compiler issue you could make a fast test with vred. Just 
download it from 
http://www.vrec.de/snapshots/vred-1.3-Linux-libc2.2-i686-Build20070318.sh
install it via "sh vred-1.3-Linux-libc2.2-i686-Build20070318.sh" on the 
client and server machine.

On the server machine execute vred-1.3/bin/clusterService
On the client machine execute vred-1.3/bin/vred

In vred open the cluster configuration via main window menu 
Window->Cluster replace "localhost" with your server machine name or ip 
address and than press the "Start" button. In the Options tab you can 
change the Connection type to "Multicast"

Andreas

> Dirk Reiners wrote:
> 
> 
>>as much as I would like to help you, I have no clue what could be wrong. Have 
>>you tried setting the log level to debug to get more output and to run the 
>>client and server in a debugger to see where they're hanging? Other than that 
>>I 
>>can't really say much.
> 
> 
> Hello Dirk.
> 
> I compiled everything with the debug libs now and the error is getting 
> more and more confusing:
> 
> When using the dbg libs, the client just segfaults. When I look at the 
> backtrace, it looks like osgsqrt<float> (OSGBaseFunctions.inl, Line 65) 
> is calling itself endlessly:
> 
> [EMAIL PROTECTED]:/usr/src/OpenSG-pre1.8-2006.348/Tutorials$ gdb 
> ./13ClusterClient
> GNU gdb 6.4.90-debian
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i486-linux-gnu"...Using host libthread_db 
> library "/lib/tls/i686/cmov/libthread_db.so.1".
> 
> (gdb) run -m -fData/tie.wrl test1
> Starting program: 
> /usr/src/OpenSG-pre1.8-2006.348/Tutorials/13ClusterClient -m 
> -fData/tie.wrl test1
> [Thread debugging using libthread_db enabled]
> [New Thread -1241040384 (LWP 4388)]
> Add Trav for : Use
> (...)
> Add Trav for : Appearance
> Connection type set to Multicast
> XXXX : 69 297
> 
> Visit Group : (null)
> (...)
> Visit Material : (null)
> test1
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1241040384 (LWP 4388)]
> 0xb6954c5e in osg::osgsqrt<float> (rValue=1)
>      at 
> /usr/src/OpenSG-pre1.8-2006.348/Source/Base/Base/OSGBaseFunctions.inl:65
> 65          return  osgsqrt(RealType(rValue));
> (gdb) backtrace
> #0  0xb6954c5e in osg::osgsqrt<float> (rValue=1)
>      at 
> /usr/src/OpenSG-pre1.8-2006.348/Source/Base/Base/OSGBaseFunctions.inl:65
> #1  0xb6954c63 in osg::osgsqrt<float> (rValue=1)
>      at 
> /usr/src/OpenSG-pre1.8-2006.348/Source/Base/Base/OSGBaseFunctions.inl:65
> #2  0xb6954c63 in osg::osgsqrt<float> (rValue=1)
>      at 
> /usr/src/OpenSG-pre1.8-2006.348/Source/Base/Base/OSGBaseFunctions.inl:65
> #3  0xb6954c63 in osg::osgsqrt<float> (rValue=1)
>      at 
> /usr/src/OpenSG-pre1.8-2006.348/Source/Base/Base/OSGBaseFunctions.inl:65
> #4  0xb6954c63 in osg::osgsqrt<float> (rValue=1)
>      at 
> /usr/src/OpenSG-pre1.8-2006.348/Source/Base/Base/OSGBaseFunctions.inl:65
> #5  0xb6954c63 in osg::osgsqrt<float> (rValue=1)
>      at 
> /usr/src/OpenSG-pre1.8-2006.348/Source/Base/Base/OSGBaseFunctions.inl:65
> #6  0xb6954c63 in osg::osgsqrt<float> (rValue=1)
>      at 
> /usr/src/OpenSG-pre1.8-2006.348/Source/Base/Base/OSGBaseFunctions.inl:65
> #7  0xb6954c63 in osg::osgsqrt<float> (rValue=1)
>      at 
> /usr/src/OpenSG-pre1.8-2006.348/Source/Base/Base/OSGBaseFunctions.inl:65
> #8  0xb6954c63 in osg::osgsqrt<float> (rValue=1)
>      at 
> /usr/src/OpenSG-pre1.8-2006.348/Source/Base/Base/OSGBaseFunctions.inl:65
> #9  0xb6954c63 in osg::osgsqrt<float> (rValue=1)
>      at 
> /usr/src/OpenSG-pre1.8-2006.348/Source/Base/Base/OSGBaseFunctions.inl:65
> #10 0xb6954c63 in osg::osgsqrt<float> (rValue=1)
>      at 
> /usr/src/OpenSG-pre1.8-2006.348/Source/Base/Base/OSGBaseFunctions.inl:65
> #11 0xb6954c63 in osg::osgsqrt<float> (rValue=1)
> ---Type <return> to continue, or q <return> to quit---
> 
> I pressed return a while and stopped at ~30000.
> 
> This error is reproducible (as the hanging connection) on a current 
> Debian testing as well as on Kubuntu 6.10 (edgy). I don't understand, why 
>   this does not segfault when using the opt versions or how osgsqrt is 
> related to Multicast (as StreamSock works), though, but and endless loop 
> could be an explanation for the hang.
> 
> Any idea what's wrong here?
> 
> Yours,
> Dominik
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
> 


-- 
VREC
Robert-Bosch-Straße 7
D-64293 Darmstadt
Tel. 06151-4921035

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to