Jump to content
Join the POSCON Public Discord Server! ×

Recommended Posts

Posted (edited)

The latest POSCON plugin can not be closed correctly, when trying to close it, it hangs X-Plane.

Closing the POSCON plugin is done by X-Plane itself  when quitting X-Plane. Then X-Plane hangs as the POSCON plugin does not close correctly. Finally you need Task manager to close X-Pane.

(The effect can also be seen when you try to disable the POSCON plugin from the plugin menu.)

 

This means I removed the POSCON plugin and will only reinstall it when a new plugin is available which solves this issue.

 

Edited by Maher Abaza
Changed Title: Issue solved.
Posted
1 hour ago, Andrew Heath said:

Peter, I am not able to reproduce this issue. Can you please write steps to reproduce and send me the X-plane log and Launcher Client logs? 

Thanks

https://forums.poscon.net/docs/support/faq/technical/#section-335

The LOG (as attached) when it goes wrong at the quit of X-Plane shows the following:

 

1:43:19.049 I/OVR: User is entering the holodeck.
1:43:24.711 I/OVR: User is leaving the holodeck.
1:43:24.711 I/SIM: User confirmed they want to quit
1:43:24.728 D/STM: Transitioning from state state_Normal to state_ShuttingDown
DiscreetFPS: disabled
G64:6204.523: Plugin Disabled.
1:43:24.728 LiveTraffic: Disabled
Tue Dec 21 17:32:41 2021 POSCON: POSCON X-Plane Client 1.1 Plugin Disabled

I do not have any other logs anymore as I already removed POSCON plugin and restarted X-Plane thereafter.

It is easy to reproduce in two ways:

Prerequisite: Do not start anything of POSCON, no launcher, no UI, no website

  1. Start X-Plane,
    wait a minute or so (do not connect POSCON or do not open its interface, just wait),
    quit X-Plane via the menu
    => X-Plane does not exit
  2. Start X-Plane,
    wait a minute or so (do not connect POSCON or do not open its interface, just wait),
    via the plugin menu disable the POSCON plugin
    => X-Plane hangs completely

After POSCON directories were removed from the plugins directory, the problem was fully solved.

 

Hope you can find it. In some way the POSCON plugin does not close/end when it is requested to do so by X-Plane.

Log - NoExit.txt

Posted

As reference please see how X-Plane normally quits (without POSCON plugin):

1:15:25.634 I/OVR: User is entering the holodeck.
1:15:27.648 I/OVR: User is leaving the holodeck.
1:15:27.648 I/SIM: User confirmed they want to quit
1:15:27.667 D/STM: Transitioning from state state_Normal to state_ShuttingDown
DiscreetFPS: disabled
G64:4528.305: Plugin Disabled.
1:15:27.667 LiveTraffic: Disabled
Clean exit from threads.
1:15:27.667 I/JOY: Control response for axis joy_use_ptch: 0.504430
1:15:27.667 I/JOY: Control response for axis joy_use_roll: 0.500000
1:15:27.667 I/JOY: Control response for axis joy_use_hdng: 0.501477
1:15:27.667 I/JOY: Control response for axis joy_use_thro: 0.000000
1:15:27.667 I/JOY: Control response for axis joy_use_prop: 0.000000
1:15:27.667 I/JOY: Control response for axis joy_use_mixt: 0.000000
1:15:27.667 I/JOY: Control response for axis joy_use_view_lr: 0.000000
1:15:27.667 I/JOY: Control response for axis joy_use_view_ud: 0.000000
1:15:27.667 I/JOY: Stability augmentation for axis joy_use_ptch: 0.000000
1:15:27.667 I/JOY: Stability augmentation for axis joy_use_roll: 0.000000
1:15:27.667 I/JOY: Stability augmentation for axis joy_use_hdng: 0.005316
1:15:27.667 I/JOY: Stability augmentation for axis joy_use_thro: 0.000000
1:15:27.667 I/JOY: Stability augmentation for axis joy_use_prop: 0.000000
1:15:27.667 I/JOY: Stability augmentation for axis joy_use_mixt: 0.000000
1:15:27.667 I/JOY: Stability augmentation for axis joy_use_view_lr: 0.000000
1:15:27.667 I/JOY: Stability augmentation for axis joy_use_view_ud: 0.000000
1:15:27.667 I/JOY: UNREGISTER Joystick device: WingMan Ext Digital 3D - VID:1133PID:49671
1:15:27.667 I/JOY: UNREGISTER Joystick device: USB  ADAPTOR - VID:1949PID:513
1:15:27.667 I/JOY: UNREGISTER Joystick device: CH FLIGHT SIM YOKE USB - VID:1678PID:255
1:15:27.667 D/HID: HID Bridge Shutdown
----- X-Plane has shut down -----

 

In case of the POSCON plugin there is no " Clean exit from threads" and X-Plane hangs.

Posted

Hi all,

Firstly, season's greetings & happy holidays to all!

I have encountered this issue of X-Plane hanging when I quit X-Plane. I have attached the log file (Old Log 267- Hang.txt). It looks like X-Plane isn't able to terminate the POSCON client plugin properly or is waiting for a return message to say it's done so that X-Plane can move on to the next step. But this happens to me only if don't start the Launcher outside of X-Plane.

It looks like it is no longer necessary to run the Launcher separately from X-Plane. As soon as I get to the aircraft cockpit, I'm able to login without the message, "Launcher not running." I like this! But this causes the above problem!

However, if I do it like before, i.e. start Launcher & then start X-Plane, then I'm able to exit from X-Plane without any issues (Old Log 268.txt). Perhaps this is why Andrew is unable to reproduce this issue?

So, the "fix" for the issue, at least for me, is to ensure that Launcher is running before starting X-Plane, like it used to be. But if there is a plan is to do away with starting the Launcher separately, then a proper fix is required.

I have also attached the log file from the Launcher directory, per Andrew's request (log 20211225.txt).

I have also noticed a small change from previous version. It looks like it's no longer necessary to run Launcher as administrator. Not that it makes a big difference. But it's nice to not see the, "you must be administrator to run the app" message.

Hope this helps,

Cheers,

KSI

 

Old Log 267 - Hang.txt log20211225.txt Old Log 268.txt

Posted
6 minutes ago, Andrew Heath said:

Hi, please check to see if this is still an issue with Launcher version 1.0.1

Hi Andrew, Can you please explain why a new launcher would solve the issue with the plugin?

As indicated in my reproduction template I do not use the Launcher when the issue occurs.
And additionally as KSI is indicating when using the Launcher (the old one) the ussue does not occur.

That means to me that the plugin expects the Launcher to be active when closing the plugin othewise it does not close. It is a wrong assumption of the plugin that the Launcher is active when X-Plane is active.

So how does the new Launcher prevent the problem in the plugin when the Launcher is not started at all?

  • Developers
Posted

The "POSCON Launcher" plugin waits for Launcher main app (and also attempts to reconnect) which is now responsible for voice communication. There was an issue causing the plugin to stick in this state even when it is being disabled (including when quitting X-Plane) and thus would hang X-Plane until Launcher was started. Besides, it would internally stick in the connecting state when Launcher is restarted instead of restoring the connection. Both are fixed in Launcher 1.0.1 yesterday.

The "POSCON Launcher" plugin is part of Launcher and thus the new version can eliminate its own problem. An update to the "POSCON" plugin coming soon will ensure "POSCON Launcher" is running for voice communication. No elevation to admin privilege is required for either Launcher or X-Plane.

Posted (edited)

Hi Andrew and Tim,

I gave it a try.

First moved the plugin directories back to the plugin directory

  • Started the Launcher, it installed version 1.0.1
  • With the new launcher a new version of the X-Plane plugin became available, installed that as well
  • Started X-Plane, waited for a minute or so with plane on ground
  • Quitted X-Plane, No issue
  • Checked the log.txt file, seems closing normally.
  • Restarted PC
  • Did NOT start Launcher
  • Started X-Plane, waited for a minute or so with plane on ground
  • Quitted X-Plane, X-Plane hangs
  • Need task manager to close X-Plane
  • Checked the log.txt file, same wrong end as shown above

Problem NOT SOLVED

Hope you can find the issue. Thank you very much in advance.
For the time being will use the workaround, starting the launcher anyhow upfront, even if I do not need it.
So the plugin still assumes the Launcher is active when X-Plane is, when trying to close the plugin, which is an incorrect assumption.

Edited by Peter 1028518
  • Developers
Posted

I just checked again. An old version of the plugin gets shipped in Launcher 1.0.1 instead of the fixed one as we are busy fixing multiple issues and moving files around. Sorry for the inconvenience. Another update is planned in a few days with this fix and other enhancement.

Posted
4 hours ago, TimTIM said:

I just checked again. An old version of the plugin gets shipped in Launcher 1.0.1 instead of the fixed one as we are busy fixing multiple issues and moving files around. Sorry for the inconvenience. Another update is planned in a few days with this fix and other enhancement.

OK, thanks, I look forward to the update.

Posted (edited)
4 hours ago, Andrew Heath said:

Hi, please update to Launcher 1.0.2 and X-Plane 1.1.1, should solve your issues.

Let us know!

Thanks

Tried the new one:

  • Started the Launcher, it installed version 1.0.2
  • Installed the new X-Plane plugin 1.1.1
  • Restarted PC
  • Did NOT start Launcher
  • Started X-Plane, waited for a minute or so with plane on ground
  • Quitted X-Plane, No issue
  • Checked the log.txt file,
    there might still be something wrong with the POSCON plugin as it gives a backtrace, but for the user it does not seem to have a negative effect:
     
    0:06:25.945 D/STM: Transitioning from state state_Normal to state_ShuttingDown
    DiscreetFPS: disabled
    G64: 386.269: Plugin Disabled.
    0:06:25.945 LiveTraffic: Disabled
    Mon Dec 27 08:16:57 2021 POSCON: POSCON X-Plane Client 1.1.1 Plugin Disabled
    [POSCON] EETypeRva:0x000FFD70: OperationCanceled
    
       at win!<BaseAddress>+0xb5630
    
       at win!<BaseAddress>+0xc7612
    
       at win!<BaseAddress>+0xc75ad
    
       at win!<BaseAddress>+0xc2710
    
    StackTrace_EndStackTraceFromPreviousThrow
    
       at win!<BaseAddress>+0xb5630
    
       at win!<BaseAddress>+0xb69c1
    
       at win!<BaseAddress>+0xb6964
    
       at win!<BaseAddress>+0x7d2b6
    [POSCON] Host destroyed
    Clean exit from threads.
    0:06:25.945 I/JOY: Control response for axis joy_use_ptch: 0.504430
    0:06:25.945 I/JOY: Control response for axis joy_use_roll: 0.500000
    0:06:25.945 I/JOY: Control response for axis joy_use_hdng: 0.501477
    0:06:25.945 I/JOY: Control response for axis joy_use_thro: 0.000000
    0:06:25.945 I/JOY: Control response for axis joy_use_prop: 0.000000
    0:06:25.945 I/JOY: Control response for axis joy_use_mixt: 0.000000
    0:06:25.945 I/JOY: Control response for axis joy_use_view_lr: 0.000000
    0:06:25.945 I/JOY: Control response for axis joy_use_view_ud: 0.000000
    0:06:25.945 I/JOY: Stability augmentation for axis joy_use_ptch: 0.000000
    0:06:25.945 I/JOY: Stability augmentation for axis joy_use_roll: 0.000000
    0:06:25.945 I/JOY: Stability augmentation for axis joy_use_hdng: 0.005316
    0:06:25.945 I/JOY: Stability augmentation for axis joy_use_thro: 0.000000
    0:06:25.945 I/JOY: Stability augmentation for axis joy_use_prop: 0.000000
    0:06:25.945 I/JOY: Stability augmentation for axis joy_use_mixt: 0.000000
    0:06:25.945 I/JOY: Stability augmentation for axis joy_use_view_lr: 0.000000
    0:06:25.945 I/JOY: Stability augmentation for axis joy_use_view_ud: 0.000000
    0:06:25.945 I/JOY: UNREGISTER Joystick device: USB  ADAPTOR - VID:1949PID:513
    0:06:25.945 I/JOY: UNREGISTER Joystick device: WingMan Extreme Digital 3D - VID:1133PID:49671
    0:06:25.945 I/JOY: UNREGISTER Joystick device: CH FLIGHT SIM YOKE USB - VID:1678PID:255
    0:06:25.945 D/HID: HID Bridge Shutdown
    ----- X-Plane has shut down -----

     

Problem SOLVED

Thank you very much,

 

Peter

Edited by Peter 1028518
  • Like 1
  • Maher Abaza changed the title to [Solved] POSCON X-Plane plugin MAJOR ISSUE

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and Guidelines.