OCP4NGX and OCP4777 driver crash info

Forum for the OC4BA v2/v3 and OC4BAConfig including the OCP4NGX driver
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

OCP4NGX and OCP4777 driver crash info

Post by mvr1918 »

Hi,


First try this:


1. Download and install the latest USB drivers for your motherboard.
2. Connect you Opencockpits module directly to an USB connection in your PC, not via nay external USB Hub.
3. Uncheck Power Saving mode for the USB you have connected to Opencockpits modules. ( via Device Manager, USB Root Hub, Power Management)
Users that are having driver crash issues should check that no other program uses port 8092 for TCP/UDP communication.

Second try this:

The OCP4NGX, OCP4777 drivers and OC4BAConfig all use port 8092 to communicate with the SIOC IOCP Server.

Port 8092 is hardcoded in OC4BA software and if interference happens with other software also using this port, a crash can occur.

Known App that also uses port 8092 are Apple / iTunes.


You can start the netstat -aon at the Command Promt. Find the port 8092 and identify the PID ( ID of other software using port 8092). Then start the Process Explorer and find the same PID. Now try to Kill that process and see if this is causing the problem. If this helps make sure that this other software is not running when OCP4NGX or OCP4777 are active with SIOC.

The Process Explorer can be downloaded from

https://technet.microsoft.com/en-us/sys ... s/bb896653
Attachments
ScreenHunter_135 Apr. 01 00.29.jpg
ScreenHunter_135 Apr. 01 00.29.jpg (308.78 KiB) Viewed 4940 times
betampona
Posts: 36
Joined: Mon Jun 23, 2014 6:02 am
Location: Paris France

Re: OCP4NGX and OCP4777 driver crash info

Post by betampona »

[imgImage][/img]

Hello, as I interruptions OCP4NGX.exe I show you my screenshot Netstat -aon, I have a line in addition to your example.
127.0.0.1: 8092 is going to ID 7540 sioc.exe.

sioc.exe: 7540
oc4ba.exe: 7580
ocp4ngx.exe: 5324

Waiting for a response
Greetings.
popovichyr
Posts: 10
Joined: Fri Nov 14, 2014 10:53 am

Re: OCP4NGX and OCP4777 driver crash info

Post by popovichyr »

I too have sioc.exe with port 8092
betampona
Posts: 36
Joined: Mon Jun 23, 2014 6:02 am
Location: Paris France

Re: OCP4NGX and OCP4777 driver crash info

Post by betampona »

Hi, popovichyr,You also have problems with ocp4ngx.exe?
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

Re: OCP4NGX and OCP4777 driver crash info

Post by mvr1918 »

Hello, as I interruptions OCP4NGX.exe I show you my screenshot Netstat -aon, I have a line in addition to your example.
127.0.0.1: 8092 is going to ID 7540 sioc.exe.

sioc.exe: 7540
oc4ba.exe: 7580
ocp4ngx.exe: 5324
I can't see that any other program is using port 8092. So there seems not to be any interference issues going on on your PC.

The 127.0.0.1: 8092 is going to ID 7540 sioc.exe should be correct. It is the OCP4NGX (Client) communicatiing over port 8092 that SIOC ( server) is listening on.

The syn_sent from sioc on 8099 is also OK.

DO you have your OC modules connected directly to USB ports on your PC, not via any external USB hubs?


Have you tried the latest SIOC 5.1B2?
popovichyr
Posts: 10
Joined: Fri Nov 14, 2014 10:53 am

Re: OCP4NGX and OCP4777 driver crash info

Post by popovichyr »

Yes , I have problems with ocp4ngx.exe, crash with error after I push any toggle
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

Re: OCP4NGX and OCP4777 driver crash info

Post by mvr1918 »

popovichyr wrote:Yes , I have problems with ocp4ngx.exe, crash with error after I push any toggle
DId it also crash using older versions of drivers and scripts?

What type of OC modules do you have?
betampona
Posts: 36
Joined: Mon Jun 23, 2014 6:02 am
Location: Paris France

Re: OCP4NGX and OCP4777 driver crash info

Post by betampona »

Hello, I have not tried the latest version of SIOC 5.1b2;
I'll do a test.
I have 3 USB cards
1-for my 3 motherboards overhead
1 for the servo flaps (PID)
1- Outputs for MIP map)
For its 3 USB ports I use a powered hub.
I do not think this is a HUB usb problem because sometimes I flights of three hours is going smoothly.
On the site of OpenCockpit they only mention of 5.0B5

Dominique.
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

Re: OCP4NGX and OCP4777 driver crash info

Post by mvr1918 »

I do not think this is a HUB usb problem because sometimes I flights of three hours is going smoothly.
On the site of OpenCockpit they only mention of 5.0B5


It is very hard to find this reason for the crash. I have never had them myself. A lot of users do not have any crash, but some have.
What I have seen is that users that have crashes also have WIn7.


It is always wise to reduce the number of services, tasks and programs that are running at the same time you fly and uses SIOC and OC4BA


Why not try the free WIn10 Preview. It is very good imo.

Here is the latest SIOC version:

http://www.opencockpits.com/catalog/inf ... =45&cPath=
betampona
Posts: 36
Joined: Mon Jun 23, 2014 6:02 am
Location: Paris France

Re: OCP4NGX and OCP4777 driver crash info

Post by betampona »

Hello, I found myself last 5.1b2 release
I just upgrade the software and I made a test flight that resulted in a ocp4ngx stop after one hour of flight.
I am on Win 7. I found that when I do not put a weather engine and I reduced the interfaces with FSX I have no problem.

OC 1.0 Thu Apr 02 18:00:22 2015

18:00:22 Initialisation ...

18:00:22 Connecting to SIOC ...
18:00:22 Timed asynchronous connection attempt started...
18:00:22 Link established to SIOC server, HostAddress:127.0.0.1, port:8092
18:00:22 Winsock ready for write
18:00:22 Registering needed Control Vars at SIOC Server ...
18:00:26 Initial values of Control Vars received from SIOC Server.
18:00:26 SIOC Connected!

18:00:26 Running ...
19:01:09 *** SYS ERROR!: IOCPClient error 7
19:01:09 *** SYS ERROR!: IOCPClient error 6
19:01:09 Winsock ready for write
19:01:09 Registering needed Control Vars at SIOC Server ...
19:01:09 *** SYS ERROR!: IOCPClient error 6
19:01:09 *** SYS ERROR!: IOCPClient error 6
19:01:09 *** SYS ERROR!: IOCPClient error 6
19:01:09 *** SYS ERROR!: IOCPClient error 6
19:01:09 *** SYS ERROR!: IOCPClient error 6
19:01:09 *** SYS ERROR!: IOCPClient error 6
19:01:09 *** SYS ERROR!: IOCPClient error 6

Dominique.
Locked