Random app crash

Support for Air Player desktop.

Moderators: russ, Ralph

Post Reply
Message
Author
flyatr
Posts: 300
Joined: Tue Dec 01, 2015 8:53 am

Random app crash

#1 Post by flyatr »

Hi guys,
I have installed Air Player on my Win 7 notebook (the one you debugged on, Corjan).
Configured through Air Manager OK.

When I start the application directly after boot, it doesn't show any panel (it IS set to autorun).
Close and start again - I get "Air Player stopped working".
Third try: Showing all panels. I am happily flying for 30 minutes and "Air Player stopped working". This happened twice, see log.

Any ideas what's happening here? Cheers!

Code: Select all

2018-01-27 16:55:42 INFO  Project - Starting Air Manager Home Use 3.3 (build 2 BETA) (Home Use, Activated) (JAVA=1.8.0_161)
2018-01-27 16:55:42 INFO  Project - Starting Air Manager Home Use 3.3 (build 2 BETA) (Home Use, Activated) (JAVA=1.8.0_161)
2018-01-27 16:55:42 INFO  AMBase - Initializing
2018-01-27 16:55:42 INFO  AMBase - Initializing
2018-01-27 16:55:42 INFO  AMBase - HW id = e6c3704b5aa905fd1921c72d7152d507
2018-01-27 16:55:42 INFO  AMBase - HW id = e6c3704b5aa905fd1921c72d7152d507
2018-01-27 16:56:32 WARN  InstrumentRunner - da1cfb65-9e13-4174-add1-6c427bd23d45: [string "logic.lua"]:49: Image '' not found in resource folder
2018-01-27 16:56:32 WARN  InstrumentRunner - da1cfb65-9e13-4174-add1-6c427bd23d45: [string "logic.lua"]:49: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 811d5b75-3bf2-4bda-adb9-a2b4ff2f5b63: [string "logic.lua"]:109: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 8e3542b2-1948-4765-a782-342f0940083d: [string "logic.lua"]:185: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 8e3542b2-1948-4765-a782-342f0940083d: [string "logic.lua"]:185: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 8e3542b2-1948-4765-a782-342f0940083d: [string "logic.lua"]:224: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 8e3542b2-1948-4765-a782-342f0940083d: [string "logic.lua"]:224: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - c006bfdf-0e1d-4150-ad80-a99d3e12063d: [string "logic.lua"]:184: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - bf98dc68-9b51-4a26-9989-56c626a457ce: [string "logic.lua"]:128: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - bf98dc68-9b51-4a26-9989-56c626a457ce: [string "logic.lua"]:128: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - be93841b-dd41-4229-bd1b-a46bdcf00edd: [string "logic.lua"]:150: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - d1efe7b6-9c0d-4e71-9659-3456793d8f76: [string "logic.lua"]:129: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 982b38f2-b2b6-46d9-b5a7-b3cbe44197af: [string "logic.lua"]:86: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 982b38f2-b2b6-46d9-b5a7-b3cbe44197af: [string "logic.lua"]:86: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - be93841b-dd41-4229-bd1b-a46bdcf00edd: [string "logic.lua"]:173: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 30a5ec7e-789c-4f68-ae19-1a016144b55b: [string "logic.lua"]:271: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 30a5ec7e-789c-4f68-ae19-1a016144b55b: [string "logic.lua"]:271: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - c006bfdf-0e1d-4150-ad80-a99d3e12063d: [string "logic.lua"]:207: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - d1efe7b6-9c0d-4e71-9659-3456793d8f76: [string "logic.lua"]:136: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 42ccdb70-2611-40d4-abc0-fc6615f7bfe5: [string "logic.lua"]:127: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - eaf430e5-9321-4cde-135a-f1c47c3a21b9: [string "logic.lua"]:173: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 42ccdb70-2611-40d4-abc0-fc6615f7bfe5: [string "logic.lua"]:134: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - c006bfdf-0e1d-4150-ad80-a99d3e12063d: [string "logic.lua"]:233: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - be93841b-dd41-4229-bd1b-a46bdcf00edd: [string "logic.lua"]:206: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - eaf430e5-9321-4cde-135a-f1c47c3a21b9: [string "logic.lua"]:196: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 173a430f-74c5-4cff-ba8f-e907fa47f232: [string "logic.lua"]:184: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 12fc8c68-de3b-44eb-007b-2f26ed982e0c: [string "logic.lua"]:111: Image '' not found in resource folder
2018-01-27 16:56:33 WARN  InstrumentRunner - 12fc8c68-de3b-44eb-007b-2f26ed982e0c: [string "logic.lua"]:111: Image '' not found in resource folder
2018-01-27 16:56:34 WARN  InstrumentRunner - c006bfdf-0e1d-4150-ad80-a99d3e12063d: [string "logic.lua"]:240: Image '' not found in resource folder
2018-01-27 16:56:34 WARN  InstrumentRunner - eaf430e5-9321-4cde-135a-f1c47c3a21b9: [string "logic.lua"]:222: Image '' not found in resource folder
2018-01-27 16:56:34 WARN  InstrumentRunner - eaf430e5-9321-4cde-135a-f1c47c3a21b9: [string "logic.lua"]:229: Image '' not found in resource folder
2018-01-27 16:56:34 WARN  InstrumentRunner - 173a430f-74c5-4cff-ba8f-e907fa47f232: [string "logic.lua"]:207: Image '' not found in resource folder
2018-01-27 16:56:34 WARN  InstrumentRunner - 173a430f-74c5-4cff-ba8f-e907fa47f232: [string "logic.lua"]:233: Image '' not found in resource folder
2018-01-27 16:56:34 WARN  InstrumentRunner - 173a430f-74c5-4cff-ba8f-e907fa47f232: [string "logic.lua"]:240: Image '' not found in resource folder
2018-01-27 16:56:34 WARN  InstrumentRunner - 3a1fc09f-aa92-4223-b403-74b6fac8834a: [string "logic.lua"]:232: Image '' not found in resource folder
2018-01-27 16:56:34 WARN  InstrumentRunner - 3a1fc09f-aa92-4223-b403-74b6fac8834a: [string "logic.lua"]:232: Image '' not found in resource folder
2018-01-27 16:57:29 INFO  SimBusConnectionHandler - Discovered FSX on 192.168.2.109:55557 (am_port=55558)
2018-01-27 16:58:29 INFO  Project - Closing
2018-01-27 16:58:31 INFO  Project - Closed
2018-01-27 17:14:07 INFO  Project - Starting Air Manager Home Use 3.3 (build 2 BETA) (Home Use, Activated) (JAVA=1.8.0_161)
2018-01-27 17:14:07 INFO  AMBase - Initializing
2018-01-27 17:14:07 INFO  AMBase - HW id = e6c3704b5aa905fd1921c72d7152d507
2018-01-27 17:14:07 INFO  SimBusConnectionHandler - Discovered FSX on 192.168.2.109:55557 (am_port=55558)
2018-01-27 17:14:07 INFO  InstrumentProject - Aircraft changed from '(null)' to 'CS C130X 2'
2018-01-27 17:14:10 ERROR SiDisplayWindow - openGL 2.0 is not supported on this system
2018-01-27 17:14:10 ERROR SiDisplayWindow - openGL 2.0 is not supported on this system
2018-01-27 17:14:24 INFO  Project - Closing
2018-01-27 17:14:25 INFO  Project - Closed
2018-01-27 17:19:15 INFO  Project - Starting Air Manager Home Use 3.3 (build 2 BETA) (Home Use, Activated) (JAVA=1.8.0_161)
2018-01-27 17:19:15 INFO  AMBase - Initializing
2018-01-27 17:19:15 INFO  AMBase - HW id = e6c3704b5aa905fd1921c72d7152d507
2018-01-27 17:19:15 INFO  SimBusConnectionHandler - Discovered FSX on 192.168.2.109:55557 (am_port=55558)
2018-01-27 17:19:16 INFO  InstrumentProject - Aircraft changed from '(null)' to 'CS C130X 2'
2018-01-27 17:19:18 ERROR SiDisplayWindow - openGL 2.0 is not supported on this system
2018-01-27 17:19:18 ERROR SiDisplayWindow - openGL 2.0 is not supported on this system
2018-01-27 17:19:18 INFO  SimRemoteClient - Connected to 127.0.0.1
2018-01-27 17:19:24 ERROR SimRemoteClient - Lost connection with 127.0.0.1 on port 6002 because of timeout
2018-01-27 17:30:05 INFO  Project - Closing
2018-01-27 17:30:08 INFO  Project - Closed

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

Re: Random app crash

#2 Post by Ralph »

Can you also post the Air Player log maybe?

flyatr
Posts: 300
Joined: Tue Dec 01, 2015 8:53 am

Re: Random app crash

#3 Post by flyatr »

Ah, my bad. I copied from the wrong folder.

This is the Air Player log. As far as I can see, the crash did not get logged.

Code: Select all

17:25:15 INFO  AirPlayer: Version 3.3.1 HOME_USE BETA
17:25:15 INFO  AirPlayer: HW id = e6c3704b5aa905fd1921c72d7152d507
17:25:15 INFO  LicenseFile: Program version: HOME_USE, License: HOME_USE_STANDARD, Valid until: Unlimited
17:25:15 INFO  SimBusConnectionHandler: Discovered FSX on 192.168.2.109:55557 (am_port=55558)
17:25:15 INFO  InstrumentProject: Aircraft changed from '(null)' to 'CS C130X 2'
17:25:16 ERROR SiFile: Failed to open path 'C:\Users\flzatr/Air Player BETA/instruments\OPEN_DIRECTORY\6a66cc65-8f0d-46fa-2e68-b2618eea569b/resources/arialbd.ttf' (No such file or directory)
17:25:16 WARN  InstrumentRunner: 6a66cc65-8f0d-46fa-2e68-b2618eea569b: [string "logic.lua"]:49: Font 'arialbd.ttf' not found in resource folder
17:25:16 ERROR SiFile: Failed to open path 'C:\Users\flzatr/Air Player BETA/instruments\OPEN_DIRECTORY\6a66cc65-8f0d-46fa-2e68-b2618eea569b/resources/arialbd.ttf' (No such file or directory)
17:25:16 WARN  InstrumentRunner: 6a66cc65-8f0d-46fa-2e68-b2618eea569b: [string "logic.lua"]:50: Font 'arialbd.ttf' not found in resource folder
17:25:16 WARN  InstrumentRunner: 6a66cc65-8f0d-46fa-2e68-b2618eea569b: [string "logic.lua"]:129: Image '' not found in resource folder
17:25:16 WARN  InstrumentRunner: 6a66cc65-8f0d-46fa-2e68-b2618eea569b: [string "logic.lua"]:136: Image '' not found in resource folder
17:25:16 WARN  InstrumentRunner: 674e47ac-a505-438c-b43e-4377e2cde487: [string "logic.lua"]:184: Image '' not found in resource folder
17:25:16 WARN  InstrumentRunner: 674e47ac-a505-438c-b43e-4377e2cde487: [string "logic.lua"]:207: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 674e47ac-a505-438c-b43e-4377e2cde487: [string "logic.lua"]:233: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 674e47ac-a505-438c-b43e-4377e2cde487: [string "logic.lua"]:240: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: c006bfdf-0e1d-4150-ad80-a99d3e12063d: [string "logic.lua"]:184: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: c006bfdf-0e1d-4150-ad80-a99d3e12063d: [string "logic.lua"]:207: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: c006bfdf-0e1d-4150-ad80-a99d3e12063d: [string "logic.lua"]:233: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: c006bfdf-0e1d-4150-ad80-a99d3e12063d: [string "logic.lua"]:240: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 811d5b75-3bf2-4bda-adb9-a2b4ff2f5b63: [string "logic.lua"]:109: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 65159e18-7b27-4655-a5b6-db044fd18b09: [string "logic.lua"]:150: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 65159e18-7b27-4655-a5b6-db044fd18b09: [string "logic.lua"]:173: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 65159e18-7b27-4655-a5b6-db044fd18b09: [string "logic.lua"]:205: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: be93841b-dd41-4229-bd1b-a46bdcf00edd: [string "logic.lua"]:150: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: be93841b-dd41-4229-bd1b-a46bdcf00edd: [string "logic.lua"]:173: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: be93841b-dd41-4229-bd1b-a46bdcf00edd: [string "logic.lua"]:205: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 42ccdb70-2611-40d4-abc0-fc6615f7bfe5: [string "logic.lua"]:127: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 42ccdb70-2611-40d4-abc0-fc6615f7bfe5: [string "logic.lua"]:134: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 30a5ec7e-789c-4f68-ae19-1a016144b55b: [string "logic.lua"]:271: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 30a5ec7e-789c-4f68-ae19-1a016144b55b: [string "logic.lua"]:271: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 982b38f2-b2b6-46d9-b5a7-b3cbe44197af: [string "logic.lua"]:86: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 982b38f2-b2b6-46d9-b5a7-b3cbe44197af: [string "logic.lua"]:86: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 42aa73a9-9321-466b-97e4-6913989a700f: [string "logic.lua"]:111: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 42aa73a9-9321-466b-97e4-6913989a700f: [string "logic.lua"]:111: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 74fd1dc0-046f-40de-9cf7-d51b9b387308: [string "logic.lua"]:58: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: 74fd1dc0-046f-40de-9cf7-d51b9b387308: [string "logic.lua"]:58: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: bf98dc68-9b51-4a26-9989-56c626a457ce: [string "logic.lua"]:128: Image '' not found in resource folder
17:25:17 WARN  InstrumentRunner: bf98dc68-9b51-4a26-9989-56c626a457ce: [string "logic.lua"]:128: Image '' not found in resource folder
17:25:18 WARN  InstrumentRunner: da1cfb65-9e13-4174-add1-6c427bd23d45: [string "logic.lua"]:49: Image '' not found in resource folder
17:25:18 WARN  InstrumentRunner: da1cfb65-9e13-4174-add1-6c427bd23d45: [string "logic.lua"]:49: Image '' not found in resource folder
17:25:18 WARN  InstrumentRunner: 3a1fc09f-aa92-4223-b403-74b6fac8834a: [string "logic.lua"]:232: Image '' not found in resource folder
17:25:18 WARN  InstrumentRunner: 3a1fc09f-aa92-4223-b403-74b6fac8834a: [string "logic.lua"]:232: Image '' not found in resource folder

User avatar
Corjan
Posts: 2936
Joined: Thu Nov 19, 2015 9:04 am

Re: Random app crash

#4 Post by Corjan »

Hi,


What kind of instrument are you running (6a66cc65-8f0d-46fa-2e68-b2618eea569b) ?
The latest BETA has issues when it comes to canvas functionality, it might have something to do with that.


Corjan

flyatr
Posts: 300
Joined: Tue Dec 01, 2015 8:53 am

Re: Random app crash

#5 Post by flyatr »

I will make a test without this instrument.

But question: the arialbd.ttf is actually a system font. Do I need to copy it to the resource folder?
Attachments
Unbenannt 1.jpg

User avatar
Corjan
Posts: 2936
Joined: Thu Nov 19, 2015 9:04 am

Re: Random app crash

#6 Post by Corjan »

Hi,

From Air Manager 3.0, fonts are indeed stored in the resources folder of the instrument.

Corjan

flyatr
Posts: 300
Joined: Tue Dec 01, 2015 8:53 am

Re: Random app crash

#7 Post by flyatr »

I fixed all the errors and warnings in the lua script and now Air Player runs perfectly.

Some observations FYI:
- When Air Player shows a panel it crashes as soon as I hit "save" from Air Manager\devices. I have to close panels with ctrl-q first.
- After a download to Air Player the same Lua errors as before occur and are written to the log. Air Player must be restarted.
- When I modify a panel in the Air Manager/devices tab and a communication error occurs on hitting "save" all changes are lost

BeJimmiehib
Posts: 6
Joined: Tue Aug 27, 2019 6:07 am
Location: Syria
Contact:

Random app crash

#8 Post by BeJimmiehib »

Am I understand you right that if Oni.UnpinMemory called twice this leads to crash?

Is there a way to debug it. For example to get Error when it is called twice or something like this?
Because I get another crash, less often. And would be great to have some way to get assert or error in case if memory get corrupted

Update:
I added this code to UnpinMemory function. Will try to locale the problem
Code:

Post Reply