Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Flightgear segmetation fault when invoking with --nmea=socke
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
vosskaem
n00b
n00b


Joined: 01 Mar 2005
Posts: 6
Location: Germany

PostPosted: Tue Jan 10, 2006 9:01 pm    Post subject: Flightgear segmetation fault when invoking with --nmea=socke Reply with quote

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
View user's profile Send private message
Donny
n00b
n00b


Joined: 06 Jun 2004
Posts: 59

PostPosted: Thu Jan 12, 2006 11:47 am    Post subject: Reply with quote

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
View user's profile Send private message
vosskaem
n00b
n00b


Joined: 01 Mar 2005
Posts: 6
Location: Germany

PostPosted: Thu Jan 12, 2006 8:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Donny
n00b
n00b


Joined: 06 Jun 2004
Posts: 59

PostPosted: Fri Jan 13, 2006 11:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
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