Author Topic: sim making couatl crash  (Read 845 times)

cyclops365

  • Newbie
  • *
  • Posts: 5
sim making couatl crash
« on: October 14, 2023, 07:20:36 pm »
Not sure if this is actually what's causing a crash, but it's what Event viewer is spitting out.
Quote
Faulting application name: Couatl64_MSFS.exe, version: 4.8.0.5251, time stamp: 0x648730d4
Faulting module name: ntdll.dll, version: 10.0.19041.3570, time stamp: 0x3be1c500
Exception code: 0xc0000374
Fault offset: 0x00000000000ff279
Faulting process ID: 0x3c10
Faulting application start time: 0x01d9fec11cea4119
Faulting application path: C:\Program Files (x86)\Addon Manager\couatl64\Couatl64_MSFS.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report ID: 2da5fbae-e65c-409e-b006-c14e0171b6fb
Faulting package full name:
Faulting package-relative application ID:

This is happening mid-flight using the PMDG 737 and has happened on a couple of occasions now.

The previous one :
Quote
Faulting application name: couatl64_MSFS.exe, version: 4.8.0.5251, time stamp: 0x648730d4
Faulting module name: ucrtbase.dll, version: 10.0.19041.3570, time stamp: 0x81cf5d89
Exception code: 0xc0000409
Fault offset: 0x000000000007286e
Faulting process ID: 0x3214
Faulting application start time: 0x01d9fe1908d8a653
Faulting application path: C:\Program Files (x86)\Addon Manager\couatl64\couatl64_MSFS.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report ID: 9935c3d0-27f3-4cb7-b82a-e50fe6b8d3a5
Faulting package full name:
Faulting package-relative application ID:

Any thoughts? Feel free to ask for more info.

Thanks.
Ian Livesey
« Last Edit: October 16, 2023, 11:47:50 am by virtuali »

adambrewis

  • Newbie
  • *
  • Posts: 1
Re: couatl.exe crashing sim
« Reply #1 on: October 15, 2023, 01:23:45 pm »
I'm seeing the same thing, quite a bit more since the latest update. I just had the same event viewer log and got a CTD just on the world map page.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51443
    • VIRTUALI Sagl
Re: couatl.exe crashing sim
« Reply #2 on: October 16, 2023, 11:47:33 am »
As explained so many times, Couatl cannot crash the sim.

An external .EXE cannot crash another .EXE, this is something basic about how the Windows OS works, an .EXE don't have any access to the memory space of another .EXE, unless it attached itself to it posing as a Debugger, and Couatl doesn't do anything like that.

What is possible is the opposite. If the sim crashes for other reasons, it will MADE Couatl crash, because in order to exit cleanly, Couatl needs to receive a specific command via Simconnect the sim has quit. If the sim crashes abruptly, it won't send the normal quit message to it, which would trigger some extra memory cleanup Couatl must do on itself, which if not done, will result in Couatl crashing. Not that this matters much after the sim crashed because Windows itself will clean up the memory.

That's why you see the event related to Couatl.exe in the Event Viewer: it was made to crash because the sim crashed for other reasons, so you can be easily misled thinking Couatl was the cause, but it's not. It cannot, because as a regular .EXE, it doesn't have any way to make the sim crash. But the sim can crash it.