View previous topic :: View next topic |
Author |
Message |
vosskaem n00b
Joined: 01 Mar 2005 Posts: 6 Location: Germany
|
Posted: Tue Jan 10, 2006 9:01 pm Post subject: Flightgear segmetation fault when invoking with --nmea=socke |
|
|
Everything runs fine but when I try to invoke flightgear with
Code: |
# flightgear --nmea=socket,out,0.5,192.168.0.48
|
to use it with Atlas, I got a segmentation fault.
Here is the output with debugging enabled:
Code: |
# flightgear --nmea=socket,out,0.5,192.168.0.48 --log-level=debug
(...)
Reading Instrument Gload from /usr/share/games/FlightGear/Huds/Instruments/Default/gload.xml
Done reading instrument G Load
Code 1 Status 0
enter NewTgtAirportInit()
NewTgtAirportId KSFO
leave NewTgtAirportInit()
Parse I/O channel request: nmea,socket,out,0.5,192.168.0.48
protocol = nmea
medium = socket
direction = out
hertz = 0.5
Segmentation fault
|
These are the versions installed:
Code: |
2.6.12-gentoo-r10
flightgear-0.9.9
simgear-0.3.9
plib-1.8.4
glut-3.7.1
|
|
|
Back to top |
|
|
Donny n00b
Joined: 06 Jun 2004 Posts: 59
|
Posted: Thu Jan 12, 2006 11:47 am Post subject: |
|
|
I use --nmea=socket,out,0.5,192.168.0.48,3001,udp
3001 is the port, must be the same as Atlas.
Maybe this helps. |
|
Back to top |
|
|
vosskaem n00b
Joined: 01 Mar 2005 Posts: 6 Location: Germany
|
Posted: Thu Jan 12, 2006 8:18 pm Post subject: |
|
|
It works now!
Looks like fgfs has bad synthax checking
I used a dot instead of a comma between port and protokoll identifier. Every wrong parameter produces a seg fault...
Thanks
Volker |
|
Back to top |
|
|
Donny n00b
Joined: 06 Jun 2004 Posts: 59
|
Posted: Fri Jan 13, 2006 11:58 am Post subject: |
|
|
Correct, I had that seq fault problem with the mutliplayer options, used also wrong syntax and then it seq faults.
In case you want multiplayer here is one multiplayer server:
http://www.pigeond.net/flightgear/fg_server_map.html
There you can see if there is someone flying and also follow your own plane if you have joined.
This is the command to join that server:
fgfs --callsign=Yourname --multiplay=in,10,192.168.0.48,5002 --multiplay=out,10,pigeond.net,5002 --aircraft=AN-225
Replace "Yourname" with a name.
The multiplayer=in ip needs to be your internal ip if you are on a lan behind a firewall router, from the system fg is running on. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|