V 1.0.0(Test) Crashes P3D

Any questions regarding JoinFS.
Post Reply
User avatar
Travis
Posts: 31
Joined: Mon Oct 10, 2016 4:50 pm

V 1.0.0(Test) Crashes P3D

Post by Travis »

Hello, let me first start off with a big thank you for making this amazing client!

I have been testing it with the latest P3D 3.4 and have all simconnect's installed. I double checked the numbers and even tried reinstalling them just to be sure. After about 1-5 minutes of being connected, I get a P3D fatal error. I pulled the information below from Event Viewer:

Faulting application name: Prepar3D.exe, version: 3.4.9.18400, time stamp: 0x57d9b14e
Faulting module name: ai_player.dll, version: 3.4.9.18400, time stamp: 0x57d9b14d
Exception code: 0xc0000005
Fault offset: 0x0001d940
Faulting process id: 0x1d58
Faulting application start time: 0x01d2231449343ddc
Faulting application path: C:\Prepar3D v3\Prepar3D.exe
Faulting module path: C:\Prepar3D v3\ai_player.dll
Report Id: 10a2af0a-8f09-11e6-9c6e-e03f498fb5c9
Faulting package full name:
Faulting package-relative application ID:

I have tested this without the use of other add ons running, and without the client running to be sure it wasn't just my simulator.
I have also tested the previous version 0.42 which works flawlessly for its design.
Again, thanks for your hard work and it is greatly appreciated in the community that I fly in!
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: V 1.0.0(Test) Crashes P3D

Post by Peter »

Hi Travis,

Thanks for letting me know and thanks for your kind comments.

The crash log may shed some light, I'll look into that.

A couple of questions if I may:
1. Did it crash just once, more than once, or every time you ran it.
2. Do you mean that it doesn't crash at all with version 0.4.2 of JoinFS.

Best regards,
Peter
User avatar
karl
Posts: 18
Joined: Fri Oct 07, 2016 4:26 am

Re: V 1.0.0(Test) Crashes P3D

Post by karl »

I was with Travis when he was having issues with it. It crashed every time he ran v1.0 and did not crash at all when we used v0.42.
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: V 1.0.0(Test) Crashes P3D

Post by Peter »

karl wrote:I was with Travis when he was having issues with it. It crashed every time he ran v1.0 and did not crash at all when we used v0.42.
Thanks, I suspect it is the waypoint code that I added. I'll remove this in version 1.0.1.

Peter
User avatar
Travis
Posts: 31
Joined: Mon Oct 10, 2016 4:50 pm

Re: V 1.0.0(Test) Crashes P3D

Post by Travis »

You are very welcome!

1. It crashes every time when running version 1.0.0(Test) When it crashes is variable.(Usually 1-5 minutes after connecting to an IP).
2. I have not had any problems with it crashing on version 0.4.2.

This was also tested with the same IP, and same 5 or so people. In our community, I seem to be the only person with P3D v3.4 that is having this problem(so far). I looked into the .dll via websearch and found it may be traffic settings. However, my traffic settings have always been set off like this:
Image

Thanks for your time!
Travis
User avatar
Travis
Posts: 31
Joined: Mon Oct 10, 2016 4:50 pm

Re: V 1.0.0(Test) Crashes P3D

Post by Travis »

Also to eliminate another thing, I just tried using someone elses dll that had no problems and it still crashed on my sim.
User avatar
Travis
Posts: 31
Joined: Mon Oct 10, 2016 4:50 pm

Re: V 1.0.0(Test) Crashes P3D

Post by Travis »

The cause: I turned off my AI boat and ship traffic. It seems to work just fine now. I also have AI Ships installed from Avsim forums. Hope this helps!
n85988
Posts: 1
Joined: Tue Oct 11, 2016 4:09 am

Re: V 1.0.0(Test) Crashes P3D

Post by n85988 »

I also get a crash with P3D. I've tried turning off all traffic. Still will not connect. Most of the time it will crash as soon as I select "join" with this error in the details box:

JoinFS Detailed Error Report



See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Runtime.InteropServices.Marshal.PtrToStructureHelper(IntPtr ptr, Object structure, Boolean allowValueClasses)
at System.Runtime.InteropServices.Marshal.PtrToStructure(IntPtr ptr, Type structureType)
at Microsoft.FlightSimulator.SimConnect.SimConnect.MarshalRECVPtrToObject(UInt32 dwID, Void* pData)
at Microsoft.FlightSimulator.SimConnect.CSignalProcDelegateMarshaler.CallSignalProc(SIMCONNECT_RECV* pData, UInt32 cbData, Void* pContext)
at SimConnect_CallDispatch(Void* , IntPtr , Void* )
at Microsoft.FlightSimulator.SimConnect.SimConnect.ReceiveDispatch(SignalProcDelegate pfcnSignal)
at Microsoft.FlightSimulator.SimConnect.SimConnect.ReceiveMessage()
at JoinFS.MainForm.DefWndProc(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)







************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
JoinFS
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/JoinFS%20(TEST)/JoinFS.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8686 (QFE.050727-8600)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5495 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5494 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.FlightSimulator.SimConnect
Assembly Version: 10.0.61259.0
Win32 Version: 10.0.61637.0 (FSX-Xpack.20070926-1421)
CodeBase: file:///C:/Windows/assembly/GAC_32/Microsoft.FlightSimulator.SimConnect/10.0.61259.0__31bf3856ad364e35/Microsoft.FlightSimulator.SimConnect.dll
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.6195
Win32 Version: 8.00.50727.6195
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a/msvcm80.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


When it does actually try to connect, the NETWORK box stays orange. I have tried un-installing it as well, but still no luck. The previous version worked just fine for me.
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: V 1.0.0(Test) Crashes P3D

Post by Peter »

Thanks, guys, for the information. I think it's some extra SimConnect code that I added in 1.0.0.

I'm going to remove it in 1.0.1, which will hopefully be out later today.

Thanks,
Peter
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: V 1.0.0(Test) Crashes P3D

Post by Peter »

1.0.1-TEST is now up on the website, http://pmem.uk/joinfs/development.html

I've removed the potential cause of the problem.

Thanks,
Peter
User avatar
Travis
Posts: 31
Joined: Mon Oct 10, 2016 4:50 pm

Re: V 1.0.0(Test) Crashes P3D

Post by Travis »

Thanks, I will test and get back to you.
User avatar
Travis
Posts: 31
Joined: Mon Oct 10, 2016 4:50 pm

Re: V 1.0.0(Test) Crashes P3D

Post by Travis »

No crashes after 2 hours of being connected with ships turned on. I consider it fixed! Thanks again!
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: V 1.0.0(Test) Crashes P3D

Post by Peter »

Travis wrote:No crashes after 2 hours of being connected with ships turned on. I consider it fixed! Thanks again!
Excellent news. Hopefully this will be the next stable build. ;)

Peter
Post Reply