Author Topic: P3D Version 4 - bglmanx64 error after exiting sim  (Read 4871 times)

JRBarrett

  • Newbie
  • *
  • Posts: 30
P3D Version 4 - bglmanx64 error after exiting sim
« on: June 25, 2017, 05:49:41 am »
I have P3D Version 4, and several updated FSDT and Flightbeam airports installed, as well as GSX.

All of the airports, and GSX work fine - no major issues with graphics or performance.

However, when I exit P3D, if, (and only if), I am parked at one of the airports controlled by couatl, several seconds after the sim closes, I will always get a Windows error message "Prepar3D has stopped working..." with bglmanx as the offending DLL. (This is Windows 7 64 Home Premium)

The test of the message is:

Problem Event Name:   BEX64
  Application Name:   Prepar3D.exe
  Application Version:   4.0.23.21468
  Application Timestamp:   59279be2
  Fault Module Name:   bglmanx64.dll_unloaded
  Fault Module Version:   0.0.0.0
  Fault Module Timestamp:   59445952
  Exception Offset:   000007fedc5f92f0
  Exception Code:   c0000005
  Exception Data:   0000000000000008
  OS Version:   6.1.7601.2.1.0.768.3
  Locale ID:   1033
  Additional Information 1:   295b
  Additional Information 2:   295ba2fff241ceaafccc23c33de77d7f
  Additional Information 3:   6a1d
  Additional Information 4:   6a1d20f425968505c1a7ec6d0e75e2ad

As long as I am not at a couatl-enabled airport when exiting the sim, I do not get the error.

I have run the Live Update program several times, (in fact I normally run it first thing each day that I plan to use P3D), but it has not prevented this particular problem.

Jim Barrett

« Last Edit: June 25, 2017, 05:53:08 am by JRBarrett »

beechcaptain

  • Newbie
  • *
  • Posts: 22
Re: P3D Version 4 - bglmanx64 error after exiting sim
« Reply #1 on: June 25, 2017, 10:22:36 pm »
Jim,

I had a similar problem in P3Dv3.4, here's the thread regarding working out the solution:  http://www.fsdreamteam.com/forum/index.php/topic,15933.15.html

It solved that particular problem with the bglmanx.dll.  Apparently an installer of one of the airports is still adding it to the dll.xml.  
Best wishes,

Glenn
« Last Edit: June 25, 2017, 10:30:16 pm by beechcaptain »

JRBarrett

  • Newbie
  • *
  • Posts: 30
Re: P3D Version 4 - bglmanx64 error after exiting sim
« Reply #2 on: June 26, 2017, 09:49:51 am »
Jim,

I had a similar problem in P3Dv3.4, here's the thread regarding working out the solution:  http://www.fsdreamteam.com/forum/index.php/topic,15933.15.html

It solved that particular problem with the bglmanx.dll.  Apparently an installer of one of the airports is still adding it to the dll.xml.  
Best wishes,

Glenn

Thanks Glenn, I'll check that!

Jim Barrett

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: P3D Version 4 - bglmanx64 error after exiting sim
« Reply #3 on: June 26, 2017, 10:55:48 am »
Apparently an installer of one of the airports is still adding it to the dll.xml.  

That's not the case.

None of our installers ever used the DLL.XML file in P3D V4. The only possible reason why a bglmanx64.dll is listed in the DLL.XML is either it was added manually by the user, or some kind of rogue program like a Migration Tool, has fooled the installers into believing the sim was a different version.

JRBarrett

  • Newbie
  • *
  • Posts: 30
Re: P3D Version 4 - bglmanx64 error after exiting sim
« Reply #4 on: June 26, 2017, 11:51:19 am »
There is no listing in either DLL.XML, as would be expected, since this is a new P3DV4 installation, and I used all the new V4-compatible installers for my FSDT and Flightbeam airports.

The only entries in the two DLL.XML files are for the PMDG aircraft, and ASP4. I will inactivate those one at a time to see if it makes a difference.

I do know that the P3D process does not close immediately after exiting the sim and returning to the Windows desktop. It keeps running in the background for a few moments - I presume it is doing some post-run housekeeping tasks.

If I watch the active processes in Microsoft Process Explorer, when P3D is active, I see three other processes attached to P3D.exe: couatl, sode, and as_bstp, which is part of Active Sky.

In a normal exit from P3D, the couatl and sode processes disappear first, then after about 5 seconds, the P3D.exe process exits. The last to go is as_bstp (which appears to be running under cmd.exe), which ends once P3D.exe is done.

I see no real difference when exiting P3D when parked at a FSDT airport. The couatl and sode processes end first as usual. It is at the point where P3D.exe itself would normally stop running that the error message pops up relating to bglmanx64_unloaded. Until I acknowledge the error, P3D.exe keeps running. As soon as I acknowledge the error, P3D.exe finally exits, followed by as_btsp


Sent from my iPhone using Tapatalk

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: P3D Version 4 - bglmanx64 error after exiting sim
« Reply #5 on: June 26, 2017, 12:00:55 pm »
Try to disable all 3rd party modules, except SODE and FSDT modules.

JRBarrett

  • Newbie
  • *
  • Posts: 30
Re: P3D Version 4 - bglmanx64 error after exiting sim
« Reply #6 on: June 27, 2017, 05:25:00 pm »
I disabled everything in both dll.xml and both exe.xml files, which amounted to: PMDG interface, FSUIPC5, and two DLLs related to Active Sky ASP4.

I still get the bglmanx64.exe_unloaded error after closing P3DV4 but only if parked at an FSDT airport.

Other add-ons which cannot be easily disabled are: Pilot's Ultimate Terrain mesh NG, ORBX Open LandclassNA, and ORBX FTG Global textures.


Sent from my iPhone using Tapatalk

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: P3D Version 4 - bglmanx64 error after exiting sim
« Reply #7 on: June 28, 2017, 11:10:09 am »
I disabled everything in both dll.xml and both exe.xml files, which amounted to: PMDG interface, FSUIPC5, and two DLLs related to Active Sky ASP4.

Check if you have other modules (except the FSDT ones, of course) that are being added using the add-on.xml method, instead of the dll/exe.xml method. You can see if you have any of them, by looking at the TWO add-ons.cfg file, either in %programdata% or %appdata

Also, try to run the FSDT Live Update, because the error might also be caused by a wrong compatibility setting in the registry for the Prepar3d.exe file, which the Live Update fixes automatically.

JRBarrett

  • Newbie
  • *
  • Posts: 30
Re: P3D Version 4 - bglmanx64 error after exiting sim
« Reply #8 on: December 16, 2017, 11:16:08 pm »
I still get this error after shutting down P3D. I am now using P3D 4.1. It only occurs if I am at, (or have been at) ANY FSDT airport at any point in the current sim session. In other words, it will still occur if I start at an FSDT airport, and fly to a default airport.

It occurs even if every add-on scenery and add-on module is disabled.

BEX64
  Application Name:   Prepar3D.exe
  Application Version:   4.1.7.22841
  Application Timestamp:   59d67e95
  Fault Module Name:   bglmanx64.dll_unloaded
  Fault Module Version:   0.0.0.0
  Fault Module Timestamp:   59ddff64
  Exception Offset:   000007fed99e9340
  Exception Code:   c0000005
  Exception Data:   0000000000000008
  OS Version:   6.1.7601.2.1.0.768.3
  Locale ID:   1033
  Additional Information 1:   295b
  Additional Information 2:   295ba2fff241ceaafccc23c33de77d7f
  Additional Information 3:   3654
  Additional Information 4:   3654a4d361a30ae673b3f3a709fea991

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: P3D Version 4 - bglmanx64 error after exiting sim
« Reply #9 on: December 18, 2017, 02:34:50 pm »
What other 3rd party modules you have installed ? I cannot replicate this issue in any way so, it's likely a conflict with another product.

Also, be sure you exclude the whole Addon Manager folder from scanning in the antivirus settings.