Air Manager crashing

Discuss suspected bugs with other users and Sim Innovations Staff

Moderators: russ, Ralph

Post Reply
Message
Author
jasong
Posts: 101
Joined: Sun Oct 20, 2019 8:18 am

Air Manager crashing

#1 Post by jasong »

Hi I have AM constantly crashing and I'm trying to figure it out. It's a new install on a fresh OS install. I've noticed some entries in the log which occur constantly until crash. Any ideas what this refers to?
2023-03-09 14:20:28.478 ERROR SiRunner - Generic - Garmin G5: lib/pfd.lua:1446: Argument 'id(1)' in function 'txt_set' is not a valid reference, which is not allowed

.

SimPassion
Posts: 5346
Joined: Thu Jul 27, 2017 12:22 am

Re: Air Manager crashing

#2 Post by SimPassion »

jasong wrote: Thu Mar 09, 2023 3:28 am Hi I have AM constantly crashing and I'm trying to figure it out. It's a new install on a fresh OS install. I've noticed some entries in the log which occur constantly until crash. Any ideas what this refers to?
2023-03-09 14:20:28.478 ERROR SiRunner - Generic - Garmin G5: lib/pfd.lua:1446: Argument 'id(1)' in function 'txt_set' is not a valid reference, which is not allowed

.
Hi @jasong, are you using AM 3.7.10 or AM 4.1.6 ?

User avatar
Ralph
Posts: 7933
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Air Manager crashing

#3 Post by Ralph »

There was a bug in the script. But I am also curious which version of Air Manager you are using...

jasong
Posts: 101
Joined: Sun Oct 20, 2019 8:18 am

Re: Air Manager crashing

#4 Post by jasong »

Hi Ralph it’s the later AM 4 version. I do also have the latest plugins installed on the sim pc, I use AM from my laptop.

I can’t rule out that the entry I’m seeing in the log file is the cause of why AM is crashing. But I’d like to clear that out of the way first.
On my old laptop and PC I think AM only locked up a couple of times in years very stable. So this is just weird on a fresh install to have it constantly crash back to desktop.
Thanks for the fast reply.

User avatar
Ralph
Posts: 7933
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Air Manager crashing

#5 Post by Ralph »

If you're running a recent version then it should not write these messages to the log.txt

User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Air Manager crashing

#6 Post by Keith Baxter »

Ralph wrote: Thu Mar 09, 2023 1:34 pm If you're running a recent version then it should not write these messages to the log.txt
Hi,
Yes it does. When Corjan changed the error handling in the console that is when these error msg started. There were no divide by 0 errors and attempt to index a nil value
This is current after AM 4.0 if I rem correct.

Previous AM versions were not so strict. You can look up some threads that refer to this by using the search function. :lol: ;) I just joke, but there were a few regarding loading tables and static data. The issue there was failure to check for nil value in var's

I reported these errors in the AM4.2 beta issues thread. In case you missed it.

Code: Select all

2023-02-26 07:03:07 INFO  System - Initializing
2023-02-26 07:03:07 INFO  System - HW id = 1ba52b50c47f72c9a3cbccff82b82b48
2023-02-26 07:03:07 ERROR InstrumentScanner - test notepad - wave CLONE2: Error loading instrument script: [string "logic.lua"]:16: ')' expected (to close '(' at line 15) near '_fill'
2023-02-26 07:03:07 ERROR InstrumentScanner - MAP - Vector General Map V2: Error loading instrument script: [string "static_nodes_and_vars.lua"]:87: attempt to index a nil value (global 'air_space_data')
2023-02-26 07:03:07 ERROR InstrumentScanner -    ***WIP - Garmin G1000  MFD Airframes develop.PA46 500 MATRIX: Error loading instrument script: [string "af_piperPA46_matrix.lua"]:1075: attempt to call a nil value (global 'm')
2023-02-26 07:03:07 ERROR InstrumentScanner - StreamDeck Array - Button Array: Error loading instrument script: [string "logic.lua"]:35: attempt to index a nil value (global 'switch_data')
2023-02-26 07:03:07 ERROR InstrumentScanner -    ***NAV - Data Approach Manipulator: Error loading instrument script: [string "logic.lua"]:10: attempt to index a nil value (global 'approach_data')
2023-02-26 07:03:07 ERROR InstrumentScanner -    ...***** - decemal coord CLONE: Error loading instrument script: [string "logic.lua"]:28: attempt to index a nil value (global 'obstical')
2023-02-26 07:03:07 ERROR InstrumentScanner -    ****Tool - json manipulator CLONE: Error loading instrument script: [string "logic.lua"]:10: attempt to index a nil value (global 'arip_S_temp')
2023-02-26 07:03:07 ERROR Library - Failed to load instrument from 'C:\Users\Keith/Air Manager BETA/instruments/OPEN_DIRECTORY/4bea0777-ef84-4a5b-a93a-96fc11bc679f'
2023-02-26 07:03:07 ERROR InstrumentScanner - zzzzz-test - Distance & Bearing CLONE: Error loading instrument script: [string "logic.lua"]:29: attempt to index a nil value (global 'wp_data')
2023-02-26 07:03:07 ERROR InstrumentScanner - MAP - Vector General Map V2 CLONE: Error loading instrument script: [string "pick.lua"]:5: attempt to index a nil value (global 'color_data')
2023-02-26 07:03:07 ERROR InstrumentScanner - Test- - Flightplan Airports: Error loading instrument script: [string "logic.lua"]:32: attempt to index a nil value (global 'airports_data')
2023-02-26 07:03:07 ERROR InstrumentScanner -     ***WIP - Garmin G1000  MFD Airframes 10 bezle switch CLONE: Error loading instrument script: [string "visibility.lua"]:19: attempt to index a nil value (global 'mod_sw')
2023-02-26 07:03:07 ERROR InstrumentScanner - test - test: Error loading instrument script: [string "logic.lua"]:3: ')' expected near 'U'
2023-02-26 07:03:08 ERROR InstrumentScanner - test - test Flight Plan  with new flightplan.  CLONE: Error loading instrument script: [string "fp_plot.lua"]:9: attempt to index a nil value (global 'wp_data')
2023-02-26 07:03:08 ERROR InstrumentScanner - test - test Flight Plan  with new flightplan. : Error loading instrument script: [string "fp_nearest.lua"]:4: attempt to index a nil value (global 'wp_data')
2023-02-26 07:03:08 ERROR InstrumentScanner - sparky test - : Error loading instrument script: [string "logic.lua"]:8: attempt to perform arithmetic on a nil value (global 'TextKnotsPerDivision')
2023-02-26 07:03:08 ERROR InstrumentScanner - Lockheed C-130 Hercules - EIDS 1 Primary Engines: Failed to load logic.lua
2023-02-26 07:03:08 ERROR InstrumentScanner - TBM 900 (HotStart) - Breaker Panel CLONE: Error loading instrument script: [string "logic.lua"]:41: attempt to perform arithmetic on a nil value (field '?')
2023-02-26 07:03:08 ERROR InstrumentScanner - zzzzz-test - Distance & Bearing CLONE CLONE: Error loading instrument script: [string "logic.lua"]:37: attempt to index a nil value (global 'wp_data')
2023-02-26 07:03:08 ERROR InstrumentScanner - sparky test -  CLONE: Error loading instrument script: [string "logic.lua"]:8: attempt to divide by zero
2023-02-26 07:03:08 ERROR InstrumentScanner -  - : Error loading instrument script: [string "logic.lua"]:12: unfinished string near '"B2,B3,B4,B5,B6,B7,B8,B9,BA,BB,BC,BD,BE,BF, C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,CA,CB,CC,CD,CE,CF,  D0,D1,D2,D3,D4,D5,D6,D7,D8,D9,DA,DB,DC,DD,DE,DF,  E0,E1,E2,E3,E4,E5,E6,E7,E8,E9,EA,EB,EC,ED,EE,EF,  F0,F1,F2,F3,F4,F5,F6,F7,F8,F9,FA,FB,FC,FD,FE,FF}'
2023-02-26 07:03:08 ERROR SiFile - Failed to open path 'C:\Users\Keith/Air Manager BETA/instruments/OPEN_DIRECTORY/e7238dec-4a07-4398-81a6-fc5c0d9cdd2b/lib/charts' (Permission denied)
2023-02-26 07:03:08 INFO  EntityManager - Starting Air Manager Home Use 4.2.8 (Home Use, Activated) (JAVA=17.0.4.1)

This is the log.txt for 4.1.6

Code: Select all

023-03-09 19:32:28.404 INFO  EntityManager - Starting Air Manager Home Use 4.1.6 (Home Use, Activated) (JAVA=16.0.1)
2023-03-09 19:32:28.425 INFO  AMBase - Initializing
2023-03-09 19:32:28.426 INFO  AMBase - HW id = 1ba52b50c47f72c9a3cbccff82b82b48
2023-03-09 19:32:28.552 ERROR Library - Failed to load instrument from 'C:\Users\Keith/Air Manager/instruments/AMI_HOME_USE_HW_PROTECTED/1b177061-f4de-4f3c-b0d1-3e996c2b0450'
2023-03-09 19:32:28.552 ERROR Library - Failed to load instrument from 'C:\Users\Keith/Air Manager/instruments/AMI_HOME_USE_HW_PROTECTED/1fa23efd-8529-4e42-8e28-67cb2f6c6bb8'
2023-03-09 19:32:28.552 ERROR Library - Failed to load instrument from 'C:\Users\Keith/Air Manager/instruments/AMI_HOME_USE_HW_PROTECTED/27c3e6d6-6dad-4c4e-9c3a-67177330cd9c'
2023-03-09 19:32:28.553 ERROR Library - Failed to load instrument from 'C:\Users\Keith/Air Manager/instruments/AMI_HOME_USE_HW_PROTECTED/68ca3af9-9662-4404-a2e6-ac54079aeccd'
2023-03-09 19:32:28.553 ERROR Library - Failed to load instrument from 'C:\Users\Keith/Air Manager/instruments/AMI_HOME_USE_HW_PROTECTED/c4a0dad4-59eb-4ba1-819d-e110e14bbc12'
2023-03-09 19:32:28.553 ERROR Library - Failed to load instrument from 'C:\Users\Keith/Air Manager/instruments/AMI_HOME_USE_HW_PROTECTED/fcc288ef-50fa-4b72-af5a-ec3672923a3c'
2023-03-09 19:32:28.554 ERROR Library - Failed to load instrument from 'C:\Users\Keith/Air Manager/instruments/AMI_HOME_USE_HW_PROTECTED/fec87b89-31ae-4cac-8c28-6d0ee071b618'
2023-03-09 19:32:28.562 ERROR InstrumentScanner - test notepad - wave CLONE2: Error loading instrument script: [string "logic.lua"]:16: ')' expected (to close '(' at line 15) near '_fill'
2023-03-09 19:32:28.659 ERROR InstrumentScanner - MAP - Vector General Map V2: Error loading instrument script: [string "static_nodes_and_vars.lua"]:87: attempt to index a nil value (global 'air_space_data')
2023-03-09 19:32:28.671 ERROR InstrumentScanner - Generic - Garmin G1000 with video CLONE: Error loading instrument script: [string "logic.lua"]:2: attempt to call a nil value (global 'video_stream_add')
2023-03-09 19:32:28.837 ERROR InstrumentScanner - table - : Error loading instrument script: [string "logic.lua"]:4: '}' expected (to close '{' at line 2) near ':'
2023-03-09 19:32:28.870 ERROR InstrumentScanner -    ***WIP - Garmin G1000  MFD Airframes develop.PA46 500 MATRIX: Error loading instrument script: [string "af_piperPA46_matrix.lua"]:1075: attempt to call a nil value (global 'm')
2023-03-09 19:32:28.958 ERROR InstrumentScanner - StreamDeck Array - Button Array: Error loading instrument script: [string "logic.lua"]:35: attempt to index a nil value (global 'switch_data')
2023-03-09 19:32:28.972 ERROR InstrumentScanner -    ***NAV - Data Approach Manipulator: Error loading instrument script: [string "logic.lua"]:10: attempt to index a nil value (global 'approach_data')
2023-03-09 19:32:28.986 ERROR InstrumentScanner -    ...***** - decemal coord CLONE: Error loading instrument script: [string "logic.lua"]:28: attempt to index a nil value (global 'obstical')
2023-03-09 19:32:29.070 ERROR InstrumentScanner -    ****Tool - json manipulator CLONE: Error loading instrument script: [string "logic.lua"]:10: attempt to index a nil value (global 'arip_S_temp')
2023-03-09 19:32:29.222 ERROR SiFile - Failed to open path 'C:\Users\Keith/Air Manager/instruments/OPEN_DIRECTORY/4bea0777-ef84-4a5b-a93a-96fc11bc679f/info.xml' (No such file or directory)
2023-03-09 19:32:29.222 ERROR Library - Failed to load instrument from 'C:\Users\Keith/Air Manager/instruments/OPEN_DIRECTORY/4bea0777-ef84-4a5b-a93a-96fc11bc679f'
2023-03-09 19:32:29.283 ERROR InstrumentScanner - Generic - JPI EDM 900 CLONE: Error loading instrument script: [string "logic.lua"]:4: unexpected symbol near ','
2023-03-09 19:32:29.303 ERROR InstrumentScanner - zzzzz-test - Distance & Bearing CLONE: Error loading instrument script: [string "logic.lua"]:29: attempt to index a nil value (global 'wp_data')
2023-03-09 19:32:29.418 ERROR InstrumentScanner - MAP - Vector General Map V2 CLONE: Error loading instrument script: [string "pick.lua"]:5: attempt to index a nil value (global 'color_data')
2023-03-09 19:32:29.475 ERROR InstrumentScanner - Test- - Flightplan Airports: Error loading instrument script: [string "logic.lua"]:32: attempt to index a nil value (global 'airports_data')
2023-03-09 19:32:29.546 ERROR InstrumentScanner -     ***WIP - Garmin G1000  MFD Airframes 10 bezle switch CLONE: Error loading instrument script: [string "visibility.lua"]:19: attempt to index a nil value (global 'mod_sw')
2023-03-09 19:32:29.833 ERROR InstrumentScanner - test - test: Error loading instrument script: [string "logic.lua"]:3: ')' expected near 'U'
2023-03-09 19:32:29.946 ERROR InstrumentScanner - test - test Flight Plan  with new flightplan.  CLONE: Error loading instrument script: [string "fp_plot.lua"]:9: attempt to index a nil value (global 'wp_data')
2023-03-09 19:32:30.004 ERROR InstrumentScanner - test - test Flight Plan  with new flightplan. : Error loading instrument script: [string "fp_nearest.lua"]:4: attempt to index a nil value (global 'wp_data')
2023-03-09 19:32:30.072 ERROR InstrumentScanner - sparky test - : Error loading instrument script: [string "logic.lua"]:8: attempt to perform arithmetic on a nil value (global 'TextKnotsPerDivision')
2023-03-09 19:32:30.211 ERROR SiFile - Failed to open path 'C:\Users\Keith/Air Manager/instruments/OPEN_DIRECTORY/aaf54353-1f51-4ff6-9786-007baec21d26/logic.lua' (No such file or directory)
2023-03-09 19:32:30.211 ERROR InstrumentScanner - Lockheed C-130 Hercules - EIDS 1 Primary Engines: Failed to load logic.lua
2023-03-09 19:32:30.230 ERROR SiFile - Failed to open path 'C:\Users\Keith/Air Manager/instruments/OPEN_DIRECTORY/ad1dfbe1-874d-41a0-97b4-1c67ac53f6bd/info.xml' (No such file or directory)
2023-03-09 19:32:30.230 ERROR Library - Failed to load instrument from 'C:\Users\Keith/Air Manager/instruments/OPEN_DIRECTORY/ad1dfbe1-874d-41a0-97b4-1c67ac53f6bd'
2023-03-09 19:32:30.304 ERROR InstrumentScanner - TBM 900 (HotStart) - Breaker Panel CLONE: Error loading instrument script: [string "logic.lua"]:41: attempt to perform arithmetic on a nil value (field '?')
2023-03-09 19:32:30.377 ERROR InstrumentScanner - zzzzz-test - Distance & Bearing CLONE CLONE: Error loading instrument script: [string "logic.lua"]:37: attempt to index a nil value (global 'wp_data')
2023-03-09 19:32:30.401 ERROR InstrumentScanner - sparky test -  CLONE: Error loading instrument script: [string "logic.lua"]:8: attempt to divide by zero
2023-03-09 19:32:30.488 ERROR InstrumentScanner -  - : Error loading instrument script: [string "logic.lua"]:12: unfinished string near '"B2,B3,B4,B5,B6,B7,B8,B9,BA,BB,BC,BD,BE,BF, C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,CA,CB,CC,CD,CE,CF,  D0,D1,D2,D3,D4,D5,D6,D7,D8,D9,DA,DB,DC,DD,DE,DF,  E0,E1,E2,E3,E4,E5,E6,E7,E8,E9,EA,EB,EC,ED,EE,EF,  F0,F1,F2,F3,F4,F5,F6,F7,F8,F9,FA,FB,FC,FD,FE,FF}'
2023-03-09 19:32:30.619 ERROR SiFile - Failed to open path 'C:\Users\Keith/Air Manager/instruments/OPEN_DIRECTORY/e7238dec-4a07-4398-81a6-fc5c0d9cdd2b/lib/charts' (Permission denied)
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

jasong
Posts: 101
Joined: Sun Oct 20, 2019 8:18 am

Re: Air Manager crashing

#7 Post by jasong »

Just getting back to this AM is no longer crashing don't know what's happed or changed oh well. :D

Post Reply