Jump to content
The simFlight Network Forums

P3Dv4.2 crashes with FSUIPC after MS 1803 Update


Recommended Posts

Three days ago, I updated my Windows 10 Pro OS with the 1803 Feature update... bad move on my part. Since then,  I've had problems with P3Dv4.2 starting. It would suddenly die, before getting to the start screen. I have a lot of entries in exe.xml and dll.xml, and I tried commenting out entries, until I discovered that the culprit seemed to be FSUIPC  v 5.131. Before the 1803 update, I never had a problem with either P3D or FSUIPC. I believe the problem is related to the Saitek X52 Pro joystick, since the FSUIPC log seems to stop abruptly whilst scanning the joystick. I'll attach both the FSUIPC5.log and FSUIPC5.JoyScan.csv.

I have a registered copy of FSUIPC.

FSUIPC5.JoyScan.csv

FSUIPC5.log

Link to comment
Share on other sites

48 minutes ago, gdavej said:

I believe the problem is related to the Saitek X52 Pro joystick, since the FSUIPC log seems to stop abruptly whilst scanning the joystick. I'll attach both the FSUIPC5.log and FSUIPC5.JoyScan.csv.

Are there other USB joystick or game type devices attached?

Please download and run my HidScanner program, available in the Additional Useful Programs part of the Download Links subforum, and let me see its log file.

More logging of the scanning part might be useful. Try this:

In the [General] part of the FSUIPC5.INI file, add these lines:

Debug=Please
LogExtras=x200000

(make sure you get the right number of 0's there -- 5 of them!)

Then run P3D again and show me just the Log.

Also, please check the Windows Event Viewer. If the crash is recorded there, in "Windows Logs -> Application"  please copy and paste the details here. It'll be in some format simialr to this:

Faulting application name: ...
Faulting module name: ...
Exception code: ...
Fault offset: ...

etc

Pete

 

Link to comment
Share on other sites

The crash details refer to a very heavily used part of Windows -- the run time library for C/C++ programs. It could be called from anywhere (noy actually FSUIPC directly because its usage is static -- i.e ocmpiled into the FSUIPC5.DLL. The error is a stack overflow, which s unusual unless something got stuck in a recurrant action, a loop. It must be something in the DirectInput part of Windows.

The extra logging in the FSUIPC5 log definitely shows a problem, a mix-up by the look of it, in the Registry for the X52:

      125 #### Initialising Dlrectinput Axis Scanning ...
      125    (Entry from GetRegisteredOptions)
      125 ---------------------- Joystick Device Scan -----------------------
      125 Checking: \\?\hid#intc816&col02#3&36a7043c&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
      125    Usage=12, UsagePage=1, =Flight Mode Switch
      125 Checking: \\?\hid#vid_06a3&pid_0762#6&24b5a767&2&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
      125    Usage=4, UsagePage=1, =Game Controller
      125 Product= Saitek X52 Pro Flight Control System
      125    Manufacturer= Saitek
      125    Vendor=06A3, Product=0762 (Version 1.35)
      156 -------------------------------------------------------------------
      156 ****** Registry scanning: VID=06A3, PID=0762 ******
      156 Trying: "HKCU\SYSTEM\CurrentControlSet\Control\MediaProperties\PrivateProperties\DirectInput\VID_06A3&PID_0762\Calibration\0"
      156    ... and a "GUID" value
      156    GUID= {89E68830-6754-11E7-8002-444553540000}
      156        NB: not valid for this device according to GetConfig!

The HidScanner log shows that the X52 is the last USB device listed in the Registry, so it will be the only thing causing the problem as FSUIPC does the scan in Registry order.

I think you should uninstall the device completely (including driver), using the Windows Device Manager, then re-boot the PC. This will get its Registry entries rebuilt.

Pete

 

Link to comment
Share on other sites

  • 4 weeks later...

Guess I spoke too soon 😞

I just updated P3D to v4.3, and immediately started having the same issue again, whereby P3D crashed as it tried to load fsuipc5.dll. I tried installing the latest v5.132c, still no change. I tried completely uninstalling the Saitek drivers and software, and reinstalling first the Saitek drivers and software, but later the new Logitech drivers, and software; and still P3D crashes. I did switch back to the Saitek installs, since the new Logitech seemed to lack a few things (like calibrating the joystick)

I'll attach the fsuipc log, although it looks identical to the last one (except for the first 3 segments of the GUID). The event viewer gives pretty much the same as well (except the hex values)

Faulting application name: Prepar3D.exe, version: 4.3.29.25520, time stamp: 0x5b2c3263
Faulting module name: ucrtbase.dll, version: 10.0.17134.137, time stamp: 0xeafbf647
Exception code: 0xc0000409
Fault offset: 0x000000000006d198
Faulting process id: 0x4b58
Faulting application start time: 0x01d4156c2baa6dfa
Faulting application path: D:\Program Files\Lockheed Martin\Prepar3D v4\Prepar3D.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: 8db0b29b-95aa-4afb-8282-90be86c8213a
Faulting package full name:
Faulting package-relative application ID:

I have tried several times to uninstall and reinstall, but with no joy.

 

David

FSUIPC5.log

Link to comment
Share on other sites

12 hours ago, gdavej said:

Faulting module name: ucrtbase.dll, version: 10.0.17134.137, time stamp: 0xeafbf647

This is not FSUIPC, but if the log is the same as the last one in this thread, then there's no doubt it's the installation of the devices.

12 hours ago, gdavej said:

I tried completely uninstalling the Saitek drivers and software, and reinstalling first the Saitek drivers and software, but later the new Logitech drivers, and software; and still P3D crashes. I did switch back to the Saitek installs, since the new Logitech seemed to lack a few things (like calibrating the joystick)

Why not calibrate in FSUIPC? Why do you have FSUIPC if not? I definitely suspect that Saitek software.

What change to you think updating to P3D4.3 made? It isn't really part of this.

Pete

 

 

Link to comment
Share on other sites

Not sure how I can calibrate the joystick with FSUIPC, if I can't load FSUIPC in P3D when the joystick is plugged in. I tried starting P3D, after killing the Saitek software, but joystick still connected, and P3D died again when it tried to load FSUIPC. I also tried starting P3D without the joystick, and this started normally, but died the instant I connected the joystick.

The update to v4.3 was made using only client and content. I can't see why this would cause the problem I'm seeing. However, before the update, P3D was starting okay with both FSUIPC and the joystick. After the update, P3D would start with either FSUIPC or joystick but not both. The only other change I made would be with ActiveSky, I installed the beta version for P3Dv4.3, and this of course installs simconnect in P3D, don't know if this has any impact?

Link to comment
Share on other sites

21 minutes ago, gdavej said:

Not sure how I can calibrate the joystick with FSUIPC, if I can't load FSUIPC in P3D when the joystick is plugged in.

There's a mix-up here. I said it was best NOT to install ANY joystick drivers or software. In your case something is evidently wrong with the Saitek install. It is best just to rely on the default Windows treatment.

You said you wanted to install the Saitek stuff to use it for calibration. but if NOT using it allows FSUIPC to load, as before, then you can use FSUIPC calibration!

Right?

23 minutes ago, gdavej said:

I installed the beta version for P3Dv4.3, and this of course installs simconnect in P3D, don't know if this has any impact?

No. SimConnect is built into P3D. That's what FSUIPC uses. There's nothing separate it needs. The SimConnect DLLs installed by other programs are for EXTERNAL programs which use old legacy 32-bit interfaces (from FSX and FSX-SE).

Pete

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.