Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello.  I'm receiving the following error message during some, not all flights.  It usally happens around 3/4's of the way through the flight.  The error message states "Unhandled exception has occurred in your application.  If you click Continue, the application will ignore this error and attempt to continue.  (Which it doesn't,.  When I hit it, the system shuts down)  If you click Quit, the application will close immediately.  Also on the message at the bottom, it states "FSUIPC error #12:  FSUIPC_ERR_SENDMSG.  Error sending message to FSUIPC.   

 

This happened twice today  I sent both reports. 

 

Thanks

 

Robert

 

 

Posted

Hi Robert,

 

This message is caused when FSUIPC doesn't respond to any messages. If you look at the log file in the modules folder (FSUIPC.log or FSUIPC4.log) it might show you why it's failing. Post it here if you want me to have a look.

 

Paul

Posted

Hi Paul.  This is what I got from the Modules folder.

 

Thanks for the help

 

Robert

 

 

********* FSUIPC4, Version 4.92 by Pete Dowson *********

Running inside FSX on Windows 7

Module base=56080000

User Name=""

User Addr=""

FSUIPC4 not user registered

WIDEFS7 not user registered, or expired

      718 System time = 29/08/2014 22:18:05

      718 FLT path = "C:\Users\Robert\Documents\Flight Simulator X Files\"

      749 Trying to connect to SimConnect Acc/SP2 Oct07 ...

      765 FS path = "E:\FSX\"

     1186 LogOptions=00000000 00000001

     1186 SIM1 Frictions access gained

     1186 Wind smoothing fix is fully installed

     1186 G3D.DLL fix attempt installed ok

     1186 SimConnect_Open succeeded: waiting to check version okay

     1186 Trying to use SimConnect Acc/SP2 Oct07

     3229 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0)

     3229 Initialising SimConnect data requests now

     3229 FSUIPC Menu entry added

     3276 E:\FSX\FLIGHTS\OTHER\FLTSIM.FLT

     3276 E:\FSX\SimObjects\Airplanes\Aircreation_582SL\Aircreation_582SL.AIR

   110262 Weather Mode now = Theme

   110262 Weather Mode now = Custom

   342282 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Winnipeg Intl to Calgary Intl.PLN

   365355 E:\FSX\SimObjects\Airplanes\Bombardier_CRJ_700\Bombardier_CRJ_700.AIR

   419939 System time = 29/08/2014 22:25:04, Simulator time = 23:18:08 (05:18Z)

   420969 Starting everything now ...

   424635 Advanced Weather Interface Enabled

   440937 Weather Mode now = Theme

   440937 Weather Mode now = Custom

   510467 Sim stopped: average frame rate for last 91 secs = 26.2 fps

  1042212 Weather Mode now = Theme

  1042212 Weather Mode now = Custom

  1938874 Weather Mode now = Theme

  1938874 Weather Mode now = Custom

  2838594 Weather Mode now = Theme

  2838594 Weather Mode now = Custom

 

********* FSUIPC4, Version 4.09 by Pete Dowson *********

User Name=""

User Addr=""

FSUIPC4 not user registered

WIDEFS7 not user registered, or expired

Running inside FSX on Windows Vista

Module base=0B740000

DebugStatus=0

       47 System time = 20:44:03

       47 FLT UNC path = "\\ROBERT-PC\Users\Robert\Documents\Flight Simulator X Files\"

       47 FS UNC path = "E:\FSX\"

      468 N.B. Axis Intercepts are disabled!

      468 LogOptions=00000001

      468 WARNING: Failed to find FS Controls Table!

      468 SimConnect_Open succeeded: proceeding to initialise interface!

     2839 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0)

   130948 SimStart Event: Initialising SimConnect data requests

   130948 FSUIPC Menu entry added

   130963 C:\Users\Robert\AppData\Roaming\Microsoft\FSX\Previous flight.FLT

   130963 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   130963 E:\FSX\SimObjects\Airplanes\Carenado B1900D\B1900D.AIR

   130963 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   161555 System time = 20:46:44, FSX time = 18:03:06 (21:03Z)

   163599 Advanced Weather Interface Enabled

   166828 **** Simconnect Data Stalled! Re-connecting now ... ****

   166828 SimConnect_Open succeeded: proceeding to initialise interface!

   166828 Initialising SimConnect data requests now

   166828 FSUIPC Menu entry added

   166843 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0)

   166843 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   166843 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   167062 System time = 20:46:50, FSX time = 18:03:06 (21:03Z)

   169027 **** Simconnect Data Stalled! Re-connecting now ... ****

   169027 SimConnect_Open succeeded: proceeding to initialise interface!

   169027 Initialising SimConnect data requests now

   169027 FSUIPC Menu entry added

   169043 Failed on SimConnect_CallDispatch for Message, return = 0xC0000120

   169043 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0)

   169043 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   169059 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   169932 System time = 20:46:52, FSX time = 18:03:06 (21:03Z)

   172054 **** Simconnect Data Stalled! Re-connecting now ... ****

   172054 SimConnect_Open succeeded: proceeding to initialise interface!

   172054 Initialising SimConnect data requests now

   172054 FSUIPC Menu entry added

   172054 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0)

   172054 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   172069 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   172974 System time = 20:46:56, FSX time = 18:03:06 (21:03Z)

   174987 **** Simconnect Data Stalled! Re-connecting now ... ****

   174987 SimConnect_Open succeeded: proceeding to initialise interface!

   174987 Initialising SimConnect data requests now

   174987 FSUIPC Menu entry added

   175002 Failed on SimConnect_CallDispatch for Message, return = 0xC0000120

   175002 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0)

   175002 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   175018 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   175954 System time = 20:46:59, FSX time = 18:03:06 (21:03Z)

   178044 **** Simconnect Data Stalled! Re-connecting now ... ****

   178044 SimConnect_Open succeeded: proceeding to initialise interface!

   178044 Initialising SimConnect data requests now

   178044 FSUIPC Menu entry added

   178044 Failed on SimConnect_CallDispatch for Message, return = 0xC0000120

   178044 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0)

   178044 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   178060 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   178902 System time = 20:47:01, FSX time = 18:03:06 (21:03Z)

   181024 **** Simconnect Data Stalled! Re-connecting now ... ****

   181024 SimConnect_Open succeeded: proceeding to initialise interface!

   181024 Initialising SimConnect data requests now

   181024 FSUIPC Menu entry added

   181024 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0)

   181024 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   181039 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   181882 System time = 20:47:04, FSX time = 18:03:06 (21:03Z)

   183988 **** Simconnect Data Stalled! Re-connecting now ... ****

   183988 SimConnect_Open succeeded: proceeding to initialise interface!

   183988 Initialising SimConnect data requests now

   183988 FSUIPC Menu entry added

   183988 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0)

   183988 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   184003 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Halifax Intl to Greater Moncton Intl.PLN

   184893 System time = 20:47:07, FSX time = 18:03:06 (21:03Z)

   260163 ClearWeather Button Pressed

   262503 ClearWeather Button Pressed

[Log closed by user request, and continued in new file]

   276247 System time = 20:48:39, FSX time = 18:03:17 (21:03Z)

   276247 *** FSUIPC log file being closed

Memory managed: 17 Allocs, 16 Freed

********* FSUIPC Log file closed ***********

Posted

Hi Robert,

 

Looks like the first log is probably your most recent (Version 4.92) but the log is incomplete.

 

I would suggest the following:

 

1. Update to the latest version of FSUIPC (4.936)

 

http://forum.simflight.com/topic/66139-updated-modules/

 

2. Run FSX and your problem application.

 

3. After you get the FSUIPC_ERR_SENDMSG exception, close FSX (this is important) and then paste the log here.

 

Regards,

 

Paul

Posted

Hi Paul.

 

As requested and as per your instructions.  The top log is the new one that I just downloaded and the bottom log is the log where the system crashed again.

 

Robert

 

 

Original log

 

********* FSUIPC4, Version 4.92 by Pete Dowson *********

Running inside FSX on Windows 7

Module base=59FE0000

User Name=""

User Addr=""

FSUIPC4 not user registered

WIDEFS7 not user registered, or expired

      561 System time = 30/08/2014 18:56:42

      561 FLT path = "C:\Users\Robert\Documents\Flight Simulator X Files\"

      967 Trying to connect to SimConnect Acc/SP2 Oct07 ...

     1060 FS path = "E:\FSX\"

     1497 LogOptions=00000000 00000001

     1497 SIM1 Frictions access gained

     1497 Wind smoothing fix is fully installed

     1497 G3D.DLL fix attempt installed ok

     1497 SimConnect_Open succeeded: waiting to check version okay

     1497 Trying to use SimConnect Acc/SP2 Oct07

     6520 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0)

     6520 Initialising SimConnect data requests now

     6520 FSUIPC Menu entry added

     6552 E:\FSX\FLIGHTS\OTHER\FLTSIM.FLT

     6552 E:\FSX\SimObjects\Airplanes\Aircreation_582SL\Aircreation_582SL.AIR

    47970 Weather Mode now = Theme

    47970 Weather Mode now = Custom

   509998 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Calgary Intl to McCarran Intl.PLN

   548265 E:\FSX\SimObjects\Airplanes\jf_A319_CFM\jf_A319.AIR

   560184 Weather Mode now = Theme

   560184 Weather Mode now = Custom

   605814 System time = 30/08/2014 19:06:47, Simulator time = 18:56:48 (01:56Z)

   612366 Starting everything now ...

   613707 Advanced Weather Interface Enabled

   691958 Sim stopped: average frame rate for last 85 secs = 25.6 fps

   954414 Weather Mode now = Theme

   954414 Weather Mode now = Custom

  1111553 Sim stopped: average frame rate for last 408 secs = 21.6 fps

  1854742 Weather Mode now = Theme

  1854742 Weather Mode now = Custom

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Crashed log

 

********* FSUIPC4, Version 4.936 by Pete Dowson *********

Reading options from "E:\FSX\Modules\FSUIPC4.ini"

Running inside FSX on Windows 7

Module base=50950000

User Name=""

User Addr=""

FSUIPC4 not user registered

WIDEFS7 not user registered, or expired

       62 System time = 31/08/2014 11:56:26

       62 FLT path = "C:\Users\Robert\Documents\Flight Simulator X Files\"

       93 Trying to connect to SimConnect Acc/SP2 Oct07 ...

      140 FS path = "E:\FSX\"

      639 LogOptions=00000000 00000001

      639 SIM1 Frictions access gained

      639 Wind smoothing fix is fully installed

      639 G3D.DLL fix attempt installed ok

      639 SimConnect_Open succeeded: waiting to check version okay

      639 Trying to use SimConnect Acc/SP2 Oct07

     5491 Running in "Microsoft Flight Simulator X", Version: 10.0.61637.0 (SimConnect: 10.0.61259.0)

     5491 Initialising SimConnect data requests now

     5491 FSUIPC Menu entry added

     5522 E:\FSX\FLIGHTS\OTHER\FLTSIM.FLT

     5522 E:\FSX\SimObjects\Airplanes\Aircreation_582SL\Aircreation_582SL.AIR

    34320 E:\FSX\SimObjects\Airplanes\jf_A319_CFM\jf_A319.AIR

    34320 C:\Users\Robert\Documents\Flight Simulator X Files\IFR Calgary Intl to McCarran Intl.PLN

    34320 Weather Mode now = Custom

    34320 c:\users\robert\documents\flight simulator x files\CYYC TO KLAS VAC.FLT

    53305 Weather Mode now = Theme

    53305 Weather Mode now = Custom

    72291 System time = 31/08/2014 11:57:38, Simulator time = 18:58:13 (01:58Z)

    78390 Starting everything now ...

    98748 Advanced Weather Interface Enabled

   953837 Weather Mode now = Theme

   953837 Weather Mode now = Custom

  1406177 Sim stopped: average frame rate for last 1308 secs = 25.3 fps

  1856646 Weather Mode now = Theme

  1856693 Weather Mode now = Custom

Posted

Thanks for that. Unfortunately I can't see anything obvious that's causing the lost connection. It may have to wait for Pete to get back so get his advice.

 

In the mean time you could try running another FSUIPC program along side your problem application, e.g. TraficLook (http://forum.simflight.com/topic/66136-useful-additional-programs/), FSInterrogator (available in the FSUIPC SDK zip), or my sample application from my DLL download zip.

 

If FSUIPC really is rejecting requests somehow then other FSUIPC programs will also report a lost connection (how they do this will depend on the program).

 

If the other program(s) continue with no problem after your crashes then it's a problem specific to your program. If all the programs stop working then it's a general FSUIPC problem.

 

If it's just your code that has the problem, I can look at it it you want. Just paste the relevant parts here, or PM me if you prefer. I'd need to see the offset declarations, the open() and process().

 

Paul

Posted

I mean the source code of the program you wrote using my .DLL.

 

If you didn't write a program yourself then you've posted in the wrong forum.

 

You could try posting again in the main FSUIPC support forum and Pete will see it when he gets back from holiday.

 

But you should first find out what program is giving you that error message because it's not FSUIPC. It's an add-on program. In the first instance you should get support from whoever wrote that program.

 

Paul

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.