certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [certi-dev] CERTI billard test


From: Martin Spott
Subject: Re: [certi-dev] CERTI billard test
Date: Tue, 19 May 2009 07:23:05 +0000 (UTC)
User-agent: tin/1.9.3-20080506 ("Dalintober") (UNIX) (Linux/2.6.29.3 (x86_64))

Hi Eric

Eric Noulard wrote:
> 2009/5/19 Martin Spott <address@hidden>:

> You may be interested in the online/printable doc too:
> http://www.nongnu.org/certi/certi_doc/index.html

Thanks, I'll check these.

> RTIA believes that your CERTI_HOST is "http" which is obviously wrong.
> Are you sure CERTI_HOST is properly set-up in each terminal?
> 
> If you want to setup CERTI env var you may use the "myCERTI.[c]sh" scripts

Yup, I knew about these and I'm convinced that I knew what they're
supposed to do  :-)
Nevertheless I had a try. First console window:

jive: ~> source /opt/CERTI/share/scripts/myCERTI_env.csh
CERTI version <3.3.3cvs>
Current machine architecture is <x86_64>.
Your PATH variable has been modified for scripts
==========================================================
** WARNING ** We hope you have made source myCERTI.tcsh **
                                    ------
If yes your variables for CERTI are now :
CERTI_HOST      =  localhost
CERTI_HOME      =  /opt/CERTI
CERTI_FED       =  /opt/CERTI/share/federations
PATH            =  
/opt/CERTI/share/scripts:/opt/CERTI/bin:/usr/bin:/opt/FlightGear/bin:/opt/GRASS/bin:/opt/OSSIM/bin:/usr/NX/bin:/home/martin/bin:/usr/local/bin:/bin:/usr/games
LD_LIBRARY_PATH =  
/usr/lib:/usr/lib/osgPlugins:/opt/CERTI/lib:/opt/FlightGear/lib:/opt/GRASS/lib
jive: ~> rtig
CERTI RTIG 3.3.3cvs - Copyright 2002-2008  ONERA
This is free software ; see the source for copying conditions. There is NO
warranty ; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

CERTI RTIG up and running ...



Second console window:

jive: ~> source /opt/CERTI/share/scripts/myCERTI_env.csh
CERTI version <3.3.3cvs>
Current machine architecture is <x86_64>.
Your PATH variable has been modified for scripts
==========================================================
** WARNING ** We hope you have made source myCERTI.tcsh **
                                    ------
If yes your variables for CERTI are now :
CERTI_HOST      =  localhost
CERTI_HOME      =  /opt/CERTI
CERTI_FED       =  /opt/CERTI/share/federations
PATH            =  
/opt/CERTI/share/scripts:/opt/CERTI/bin:/usr/bin:/opt/FlightGear/bin:/opt/GRASS/bin:/opt/OSSIM/bin:/usr/NX/bin:/home/martin/bin:/usr/local/bin:/bin:/usr/games
LD_LIBRARY_PATH =  
/usr/lib:/usr/lib/osgPlugins:/opt/CERTI/lib:/opt/FlightGear/lib:/opt/GRASS/lib
jive: ~> billard -fTest -FTest.fed -n1
CERTI Billard 3.3.3cvs
with TIMESTAMP. If you want without TIMESTAMP add -e option.
RTIA:: RTIA has thrown NetworkError exception.
RTIA:: Reason: gethostbyname gave NULL answer for hostname <http> with error 
<Success>
RTIA:: End execution.
UN Socket(RecevoirUN) : : Connection reset by peer
libRTI: exception: NetworkError (read)
Broken pipe


Just for the sake of completeness, setting $PATH to:

  /opt/CERTI/share/scripts:/opt/CERTI/bin:/usr/local/bin:/usr/bin:/bin

and unsetting $LD_LIBRARY_PATH (because it's defined in /etc/ld.so.conf)
doesn't make any difference.

This is pretty surprising, as I have nowhere any notion of "http" in
the shell environment. BTW, am I correct in assuming that 'billard'
doesn't need a running RTIA ?

jive: ~> gdb /opt/CERTI/bin/billard
[...]
This GDB was configured as "x86_64-linux-gnu"...
(gdb) run -fTest -FTest.fed -n1
Starting program: /opt/CERTI/bin/billard -fTest -FTest.fed -n1
[Thread debugging using libthread_db enabled]
CERTI Billard 3.3.3cvs
with TIMESTAMP. If you want without TIMESTAMP add -e option.
RTIA:: RTIA has thrown NetworkError exception.
RTIA:: Reason: gethostbyname gave NULL answer for hostname <http> with error 
<Success>
RTIA:: End execution.
UN Socket(RecevoirUN) : : Connection reset by peer
libRTI: exception: NetworkError (read)
[New Thread 0x7f1de3af06f0 (LWP 9148)]

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7f1de3af06f0 (LWP 9148)]
0x00007f1de18f89f0 in write () from /lib/libc.so.6
(gdb) bt
#0  0x00007f1de18f89f0 in write () from /lib/libc.so.6
#1  0x00007f1de2938224 in certi::SocketUN::send () from 
/opt/CERTI/lib/libCERTI.so.1
#2  0x00007f1de2912b04 in certi::Message::send () from 
/opt/CERTI/lib/libCERTI.so.1
#3  0x00007f1de36e22d5 in RTIambPrivateRefs::executeService () from 
/opt/CERTI/lib/libRTI-NG.so.1
#4  0x00007f1de36d21fa in RTI::RTIambassador::~RTIambassador () from 
/opt/CERTI/lib/libRTI-NG.so.1
#5  0x000000000040d3af in Billard::~Billard ()
#6  0x0000000000412b0d in main ()


Mmmmh, would it help to recompile using "-g", probably this doesn't
make any difference in this case ....

Cheers,
        Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]