Board index FlightGear Development Nasal

error: non-objects have members

Nasal is the scripting language of FlightGear.

error: non-objects have members

Postby MariuszXC » Tue May 18, 2021 5:59 pm

Hello,

I noticed a strange behaviour, resulting in FG shutdown. The relevant entries in log seem to be:

3928.73 [ALRT]:nasal Nasal runtime error: non-objects have no members
3928.73 [ALRT]:nasal at /home/x/snap/flightgear/common/fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/garmin196/garmin196.nas, line 227
3928.73 [ALRT]:nasal called from: /home/x/snap/flightgear/common/fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/garmin196/garmin196.nas, line 3239
3928.73 [ALRT]:nasal called from: /home/x/snap/flightgear/common/fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/garmin196/garmin196.nas, line 323

then a couple of:
[ALRT]:nasal ERROR: Cannot add listener to tied property /controls[0]/lighting[0]/landing-lights[0]
and the last line:
AL lib: (EE) ALCpulsePlayback_streamStateCallback: Received stream failure!


FG version: 2020.3.8
command line: flightgear --launcher --httpd=8080 --enable-fgcom --enable-auto-coordination
OS: Ubuntu 16.04.7 LTS
Multiplayer enabled

It happened twice in similar circumstances, seems reproducible:
1. fly (I did EPGD->EPBY)
2. land and taxi to apron
3. shutdown aircraft, but leave FG running.
4. go for a sandwich or lunch (in other words, leave FG running for a while)
5. come back, access menu (for example press 'File') --> FG will crash

If it is known, apologies.
If more information is needed, let me know.

Mariusz (SP-MRM)
MariuszXC
 
Posts: 1061
Joined: Tue May 18, 2021 5:38 pm
Location: Europe
Callsign: SP-MRM
Version: 2020.4
OS: Ubuntu 16.04

Re: error: non-objects have members

Postby wlbragg » Fri May 21, 2021 4:53 am

Wow, that's probably going to be really difficult to track down.

Code: Select all
[ALRT]:nasal ERROR: Cannot add listener to tied property /controls[0]/lighting[0]/landing-lights[0]
and the last line:

Is not an issue.

Code: Select all
AL lib: (EE) ALCpulsePlayback_streamStateCallback: Received stream failure!

This a problem that could be the entire issue or a side effect of the other nasal error "non-objects have no members".

What exactly does "shutdown aircraft" entail?
How big is your sandwich?

"for example press 'File'"

Just pressing the file menu choice causes FG to crash?

Can you post the entire log?
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: error: non-objects have members

Postby wlbragg » Fri May 21, 2021 5:07 am

I can't reproduce.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: error: non-objects have members

Postby MariuszXC » Fri May 21, 2021 12:16 pm

wlbragg wrote in Fri May 21, 2021 4:53 am:What exactly does "shutdown aircraft" entail?


- taxi to apron, set parking brake
- cut power to avionics
- shutdown engine
- shutdown electrical (master switch)
- no further steps, i.e. no tie-downs, Pitot tube cover, etc.

How big is your sandwich?

In one case I was sidetracked by family for about half an hour, in another it was approximately 15 minutes.


"for example press 'File'"

Just pressing the file menu choice causes FG to crash?

Can you post the entire log?


Yes to first question.

The log.. well, this is a bit confusing. Thought I saved the appropriate logs but apparently forgot to move them from /tmp to final location and they got purged. Will pay more attention. In the meantime, is there a way to increase log verbosity?


What _may_ be a clue is that enabling multiplayer seems to have an impact. Testing the same scenario and location without enabling multiplayer did not produce crashes.
What struck me as odd was also that the moment I connected to the server I immediately got 'Hello' messages from two nicks. I responded in kind but had no further comms from them. Could it be that someone is playing games with data sent?
INOP
MariuszXC
 
Posts: 1061
Joined: Tue May 18, 2021 5:38 pm
Location: Europe
Callsign: SP-MRM
Version: 2020.4
OS: Ubuntu 16.04

Re: error: non-objects have members

Postby wkitty42 » Fri May 21, 2021 2:14 pm

"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: error: non-objects have members

Postby wkitty42 » Fri May 21, 2021 2:16 pm

MariuszXC wrote in Fri May 21, 2021 12:16 pm:What _may_ be a clue is that enabling multiplayer seems to have an impact. Testing the same scenario and location without enabling multiplayer did not produce crashes.
What struck me as odd was also that the moment I connected to the server I immediately got 'Hello' messages from two nicks. I responded in kind but had no further comms from them. Could it be that someone is playing games with data sent?

the "Hello" on MP is automatic when other craft are within your range... those users may not even know that it is transmitted... if they don't have the MP chat window open, they might not even notice your typing at them...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: error: non-objects have members

Postby MariuszXC » Fri May 21, 2021 3:01 pm

wkitty42 wrote in Fri May 21, 2021 2:16 pm:the "Hello" on MP is automatic when other craft are within your range... those users may not even know that it is transmitted... if they don't have the MP chat window open, they might not even notice your typing at them...


Ah, OK, so this is a non issue then.
Thank you for pointers to logging options. Will increase logging and see if I catch something.
INOP
MariuszXC
 
Posts: 1061
Joined: Tue May 18, 2021 5:38 pm
Location: Europe
Callsign: SP-MRM
Version: 2020.4
OS: Ubuntu 16.04


Return to Nasal

Who is online

Users browsing this forum: No registered users and 3 guests